Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
After updating to 8.3.1.1 the logic for "If Not LoopDefined" stopped working
Hi DW, After update a solution to 8.3.1.1, the tags for testing if a loop is defined, stopped working. I have a template like this: <!--@If LoopDefined(ProductRelatedGroups)--> LOOP IS DEFINED <!--@EndIf(ProductRelatedGroups)--> <!--@I ...
Martin Nielsen
14/11/2013 10:34:01
Last post: 15/11/2013 08:49:33
Display products in menus
I've got a requirement to display products within my left navigation. The Nav should ideally look something like this: Product group 1 Sub group Product Product Sub group Product Product group 2 Sub group Product I know how to display the product gro ...
Alec Stubbs
17/04/2012 11:07:12
Last post: 14/11/2013 19:30:46
Cannot use razor template for "Search filters"
I can not use razor template for "Search filters"? It might already work but i can not select a cshtml template from the dropdown. ...
Remi Muller
13/11/2013 11:51:09
Last post: 14/11/2013 12:18:18
UserManagement list template LoopStart(AllUsers) with user groups
UserManagement list template LoopStart(AllUsers) with user groups. Can i iterate the related extranet groups the for each user in the list template? I do not see a template loop for this. It only works on the user detail template. ...
Remi Muller
06/11/2013 13:15:46
Last post: 11/11/2013 12:52:32
Include xslt/cshtml in item types
I have an item type that uses a html template to render its properties/fields. I need to include a xslt or razor template to render out fields of its child node which is also an item type. I'm using the Include statement to do this. <!--@Include(  ...
Tómas Thorvardarson
11/11/2013 12:31:53
Last post: 11/11/2013 12:40:55
Using DW tags in XSLT
How can I use DW tags in an XSLT, like <!--@DwTemplateTags--> Thanks ...
Ton Martens
01/11/2013 15:02:40
Last post: 01/11/2013 15:28:35
Information in the Item paragraph is not saved.
Hello guys, I have a problem here... I have yet basic paragraph item setup, and paragraph template. For some reason when I am trying to save something in new paragraph (created via paragraph item) the data is not being saved. No error message or noth ...
Dmitrij Jazel
30/10/2013 12:32:19
Last post: 31/10/2013 10:01:51
Ecom group number in XML
Hi, I want to display images in my menu based on the group number, but I can't seem to get the number out in my XSLT. Testing with: <textarea> <xsl:copy-of select="." /> </textarea> Any clues? Attaching the XSLT. BR Martin ...
Martin Gammelholm
28/10/2013 13:58:30
Last post: 29/10/2013 14:32:11
Number of paragraphs
Hi Does anybody know a way to either get or with razor calculate the number of paragraph or items in a dwcontent div? I would like to use the same template on all paragraphs whether there is 1, 2 or 3 in the section eg. if 3 paragraphs use span4, if  ...
Thomas Schroll
23/10/2013 09:57:57
Last post: 28/10/2013 16:50:20
Newslist with numbering
Is it possible to create a list of news and let the list-template generate an automatic numbering/counting of the news-items/rows in the list? It's not the single news-item, which has a number - only the items' actual number in the list, i am interes ...
Lise T. Pedersen
24/10/2013 16:09:45
Last post: 24/10/2013 20:46:36
Area Item and ItemPublisher
Hi I'm using the Area Items to show a footer on a solution (like solution set) and I'm trying to use the Item based news module. When I use Itempublisher to show the news item the area item fields are not available. Is there something I can do to als ...
Thomas Schroll
19/10/2013 12:10:55
Last post: 24/10/2013 12:44:11
Template tag translation bug
Is this a known bug? http://www.youtube.com/watch?v=PwSAOebJ4sk ...
Peter Munkholm
21/10/2013 16:14:33
Last post: 22/10/2013 10:25:53
template includes are not changing
Hello DW guys, I have 1 small annoying problem here, was thinking if there is anything I could do about it. I am using includes in the templates, html and razor ones... and the same problem appears in both. How it works now - After I change the inclu ...
Dmitrij Jazel
18/10/2013 15:04:27
Last post: 18/10/2013 15:57:11
Did you mean.. languages?
Hi DWs In the docs there is a mention about the "did you mean" feature on the searchpages. But which languages are this usable for? I can only see examples in english, but is there a list of languages which are supported? Also where can we  ...
Peter Bille Larsen
25/09/2013 15:39:20
Last post: 17/10/2013 14:44:54
Extending website settings with custom fields using items
Hi, I remember hearing that you can extend the list of settings available for a website using itemtypes. I am on a 8.2.1.8 and cannot find a way of doing that cool feature. Anyone who can guide me into getting that feature? Am am perhaps on a too old ...
Sten Hougaard
30/04/2013 14:47:56
Last post: 16/10/2013 15:36:13
Primary Group as a tag
Hi, I can set the primary group on a produkt, but how do I use it, is there a template tag? The goal is to show the produkt on its primary group regardless of the list it appears in as well as the canonical part of it. ...
Kim Søjborg Pedersen
15/10/2013 16:24:45
Last post: 15/10/2013 23:03:30
Parsed files aren't updated upon making changes to included files.
I have a solution running on DW 8.3.0.2. I have made use of Snippets (created a .cshtml file called Snippets.cshtml), which includes my snippet definitions and is included in the master template using the include tag. Whenever I make changes in the t ...
Finn Frost
10/10/2013 10:48:00
Last post: 11/10/2013 09:21:06
Default variant price on product list
Hi, I have a problem with displaying the price for the default variant on the productlist. On the product page the price is correct displayed for the default variant, but on the productlist it seems like the price is shown for the main product and no ...
Anders Ebdrup
08/08/2013 10:34:28
Last post: 08/10/2013 15:43:21
Server.Request values are missing in XSLT
Hi, We have a solution that was upgraded from 19.1.0.3 to 8.2.3.3. The old XSLT template makes use of the Server request values, but it seems like they are no longer available in XSLT. http://templates.dynamicweb-cms.com/TemplateTags/Dynamicweb-templ ...
Morten Bengtson
02/10/2013 16:06:13
Last post: 03/10/2013 16:45:59
iPaper preview
Is it possible to make a preview image, on iPaper links? Maybe even like the one in the left column in this link http://www.ipaper.dk/PDF_Screening.aspx?ID=665 ...
21/09/2010 09:36:48
Last post: 03/10/2013 13:43:10