Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Adding query string parameters in navigation template
I would like to transfer the q parameter from the url to the links generated in the navigation template Url: /Default.aspx?ID=1&q=Test should result in the following links <a href=”/Default.aspxID=2&q=Test”>Page 2</a> <a href=” ...
Thomas Larsen
11/12/2015 16:27:12
Last post: 16/12/2015 10:11:35
Access to Product tags from Razor template
I an razor page template I would like to access product tage on varius products. I know I can get some of the information directly from the product class How can I do that? <div> @{ foreach (var ProductID in ProductIDs) { var Product = Dynamicw ...
Thomas Larsen
01/12/2015 23:42:18
Last post: 10/12/2015 11:18:29
TemplateTags in Razor
Hi, I noticed that you now write out ""TemplateTags() in code ({0}). Remove before going live...". You do it no matter if its commented out or not - and I'm not able to print out the tags as I've been able to earlier. I'm on a 8.7.1.4. Is there some  ...
René Poulsen
20/11/2015 13:43:34
Last post: 04/12/2015 14:59:44
Item Based Image Gallery
Has anyone by chance created an item based image gallery, that is somewhat similar to the old module image gallery, and cares to share the item template? I am looking for the part that does the trick of looping the files in a folder, once you have se ...
Hans Ravnsfjall
26/11/2015 07:50:10
Last post: 30/11/2015 15:05:42
Shipping Providers
Hi Guys I would like to use the new Shipping Providers, but i cannot find any dokumentation or standard templates any where. Does anyone know what webservices are available for searching PostDanmark ServicePoint or GLS, and maybe even how to use them ...
Jesper Holm Damgaard
20/05/2015 12:53:47
Last post: 27/11/2015 16:36:10
XHTML end tag omitted and cannot validate with W3
Hi I'm having trouble W3 validating pages with our custom templates. Some have the response is transformed so the end tags gets removed.It does not effect the default meta-tags from the CMS like the Generator-tag or the Canonical-tag. In the module ' ...
Kenneth Christensen
26/11/2015 09:55:19
Last post: 26/11/2015 13:22:45
Generated key in Form.Start - onsubmit
Hey When you under management center - > Web and HTTP -> Security enable "Activate antispam funcitonality" the Form.Start in forms add a key in the onsubmit function - which I assume is used for something :) - Is there an easy way to get this k ...
Claus Kølbæk
19/11/2015 13:19:31
Last post: 20/11/2015 09:47:32
Gettings News v2 editor to use Editor.css from my design folder
Hey. The title says it all. How do i get the editor in the News v2 module to use my Editor.css stylesheet from my design? If it's not possible, then can i somehow add my own styling to the CSS file the editor is using? Regards Martin ...
Martin Nielsen
04/01/2012 10:26:08
Last post: 18/11/2015 15:07:36
Why doesn't custom development made for Dynamicweb 7 work on DW8 version?
Hi, after upgrading the solution to DW 8 I have this problem: comparing DW 8 test solution with my old version there is a problem in the CMS control panel as you can see from the screenshots in attach. If you look at Templates area, you can see that  ...
Giuseppina Giunta
10/11/2015 19:03:51
Last post: 16/11/2015 15:29:58
How to add Custom field to search result item?
Hi, I have added one new product field named "Season" to Product Catalog. I want to show this "Season" field value in the autocompletion list of product search. I have seen that the Product No and Product name are displaying using the following html  ...
Erik Pettersson
12/11/2015 06:18:46
Last post: 16/11/2015 12:02:59
Sorting products in razor
How can I sort products the same way they are sorted in backend? Something like ... @foreach (LoopItem i in GetLoop("Products").OrderBy(p => p.Sort)) { // ... } ...
Filip Lundby
10/09/2015 15:39:11
Last post: 03/11/2015 15:08:42
Item template - itemlist and itemrelationlist problems
Hi, I have to create a contactpage where I have 3 levels (contactarea, office/department, employees) and some rules for the employees, so that specific employees is only shown when an office is shown under a specific business area. The structure in D ...
René Poulsen
09/10/2015 09:57:44
Last post: 30/10/2015 03:05:59
Font-Face Woff2 file fails to load
hi guys, Question, http://screencast.com/t/xVRQwFNzQw Looks like Woff2 file is failing to load, I tryed to google what can be done/fixed found some info related to MIME type, but not sure to what I should set this MIMEtype if that is an issue. /Dmitr ...
Dmitrij Jazel
22/05/2015 13:14:21
Last post: 29/10/2015 09:03:26
Item property is not passing from page/paragraph to include
Hi guys, Not sure if anyone eve noticed but I have an issue here. This is what I did. 1) Created an item page called Shopping cart of item type ("Shopping cart"). 2) Added paragraph, and attached module to it with Cart. 3) In the ShowCart.cshtml temp ...
Dmitrij Jazel
15/10/2015 11:31:07
Last post: 16/10/2015 15:28:05
Page object get value (PageShowInLegend)
Hi guys, This one should be fairly easy. If I have Page object in API like this: var page = Dynamicweb.Content.Page.GetPageById(Convert.ToInt32(PageID)); how to I get its "PageShowInLegend" value? /Dmitrij ...
Dmitrij Jazel
05/10/2015 10:39:30
Last post: 09/10/2015 15:10:15
DW renders paragraph template instead of module
Hello, I have a paragraph with Item publisher module. Template field of the paragraph is empty. Dynamic web renders first template by aplhabet instead of module content. If I explicitly choose another template - it renders this anouther template. Dyn ...
Andrey Kozachuk
07/10/2015 11:38:32
Last post: 08/10/2015 08:07:05
Get field dropdown list options from Item Type via API
Hi guys, It's is possible via API to get the fields from a dropdown list? I want to display this information in a razor template for the user select one option. I tried with the ItemManager.Metadata but i got no success. Best regards. António Ramos ...
António Ramos
30/09/2015 19:42:51
Last post: 05/10/2015 13:16:10
Using meta tags on images outside Image gallery?
We would like to be able to use image metadata everywhere. It seems to be only working in the image gallery? How can we use it on images otside the gallery module? ...
Per Søgaard
21/09/2015 14:07:52
Last post: 05/10/2015 11:06:50
BOM samples
Are there razor samples available for BOMConfigurators and BOMProductItems using form fields? I can't figure out how to set this up properly. Thanks in advance. ...
Peter Leleulya
29/09/2015 14:27:43
Last post: 01/10/2015 15:48:32
Render sections razor
Is it possible to use RenderSections like here. http://stackoverflow.com/questions/16611413/how-to-render-script-in-head-section-asp-net-mvc-razor I tried, it did not throw any warnings but the content was not applied. ...
Martin Grønbekk Moen
29/09/2015 15:07:02
Last post: 29/09/2015 16:18:17