Developer forum

Forum » Templates
Started by
Last reply
Forms for editors - export form data
Hello, Is is possible to get the ID in the form data file that you export in forms for editors? Best wishes, Roop ...
Roop K. Rusbjerg
19/05/2020 15:59:23
Last post: 20/05/2020 07:59:57
Adding custom Cookie
Hello, Can cookies be added from a widget called "AddThis" in a category created "Social Media" in the Cookie Manager where the visitor can enable or disable them? What I've done so far is to create the category and add one of the cookies generated b ...
Dan Gheorghe
19/05/2020 13:31:48
Last post: 19/05/2020 15:00:08
Validation of vouchercode applied in the cart
Hi, I'm trying to validate whether a vouchercode code is applied or not in checkout using GetLoop("ValidationErrors"). But I don't catch the error if ex. vouchercode isn't valid. Is validation of voucher codes included in the loop or do I need to use ...
Søren Jakobsen
12/05/2020 10:50:15
No replies yet
Is there a way to render a breadcrumb using the navigation viewmodel?
Is there a way to render a breadcrumb using the navigation viewmodel as described in ? I noticed an expandmode "PathOnly" is available in the NavigationSettings, ...
Peter Leleulya
06/05/2020 08:42:22
Last post: 06/05/2020 10:10:53
Access item relations list om page from paragraph using the API
Hi, I have been trying to get out some values using the API - it didn't go well :). Problem: How to extract item relation list properties (Link and LinkText) from a page settings item on a normal page to a normal paragraph template (where "normal" me ...
Charlotte Mogensen
23/04/2020 20:16:12
Last post: 01/05/2020 16:00:40
Content search Page Properties
Hello, Is it possible to do a content search on custom page property item field? We have page property where you choose a top image for a given page and our client wants to be able to search that image and for it to be visible in the search list. Rig ...
Roop K. Rusbjerg
29/04/2020 10:14:48
Last post: 30/04/2020 09:38:05
GetImage ashx and html
Hello, Has anyone experienced issues with the GetImage.ashx in html files? It seems work better with cshtml. Or is there another trick for it to work? I'm having issues with images not showing in safari on iphones, when using GetImage.ashx in html fi ...
Roop K. Rusbjerg
20/04/2020 10:57:27
Last post: 20/04/2020 14:46:21
Implementering VIsual Editor on a Mac Development environment
Hi I am developing on a Mac running Mac OS. I mostly use VS Code, but also Visual Studio for Mac. As far as i know, it is not possible to develop using ViewModels in Dynamicweb on a Mac Environment as of yet? Does this mean that I won´t be able to im ...
Hans Ravnsfjall
16/04/2020 10:39:49
Last post: 16/04/2020 12:12:13
Product Comments - Notification Email
I'm having a couple of issues with the comments notifications. In the comments notification templates I always get an exception if I try to use a Translate. Is there a way to use translates in these templates? When trying to send a reply notification ...
Cátia Torego
13/02/2020 15:42:37
Last post: 16/04/2020 08:42:21
Form for editors - redirect to page
I'm trying to access the fields from a form submitted on the redirect page and the documentation says "simply set up the forms for editors app with the same form and the confirmation template you want to use on the page you redirect users to. The red ...
Dan Gheorghe
15/04/2020 14:53:52
Last post: 15/04/2020 18:45:44
Adjusting sitemap.xml
Hi I have a request for adjusting how sitemap.xml is created. As you can see for pages we get full path which is ok but for groups I get only path without host. How can this be changed. Also I tried to remove products form sitemap (in websute setting ...
Ivan Marijanović
02/04/2020 11:57:27
Last post: 02/04/2020 15:55:54
TemplateTag Ecom:Order.Customer.Name
According to doc-site I can retrieve Customer name from the template tag Ecom:Order.Customer.Name, and in the same way retrieve Ecom:Order.Customer.Email to get the email address from the order. Email is fine, but I cannot make Name work (ref https:/ ...
Siv-Renate Hansen
01/04/2020 17:08:58
Last post: 02/04/2020 09:02:33
Custom product attributes, productgroups
I'm trying to learn how to implement product group fields in a product. I understand how to create the fields, but when I want to output them, I haven't found a way (yet). In the documentation, this is what I find about Product.Productgroups https:// ...
Siv-Renate Hansen
26/03/2020 11:07:41
Last post: 26/03/2020 15:25:54
Cookie details
Hello, Is it possible to show what type of cookies are used and why, in the ModalDialogWarning_Categories.html template (DW9)? I have tried looking at the API and other similar questions in other forums, but without examples it's a bit difficult to u ...
Roop K. Rusbjerg
16/03/2020 09:51:41
Last post: 18/03/2020 10:57:11
Is there a way to tell what placeholder a paragraph is in, in a paragraph-template?
Hi On a page, you can have multiple placeholders (<div id="place1" class="dwconent" title="place1"></div> <div id="place2" class="dwconent" title="place2"></div> etc) Now, is it possible to tell from a pragraphtemplate what pl ...
Hans Ravnsfjall
15/03/2020 11:56:20
Last post: 16/03/2020 10:42:27
ItemPublisher: Getting folder names in pagetree
Hi guys Can we somehow, in an ItemPublisher template, get the items parent page/folder in the loop? ...
Jens Mouritzen
09/03/2020 12:41:21
Last post: 09/03/2020 13:15:52
RenderItemList probs.
Hello, I'm using Itempublisher as a news modul and feeding it with paragraph item from it's subpage: News - the itempublisher is here AllNews - all the news feed is here in different item paragraphs What I want is to show latest news section at the b ...
Roop K. Rusbjerg
27/02/2020 15:20:25
Last post: 27/02/2020 15:23:58
Error in cookies template
Hi After we enable cookie manager and set it ot use Template based warnings - ModalWarning.cshtml we get following error on page: Error compiling template "CookieWarning/ModalWarning.cshtml" Line 80: The name 'Render' does not exist in the current co ...
Ivan Marijanović
25/02/2020 09:16:47
Last post: 25/02/2020 10:00:14
ItemPublisher with itemrelations Loop if/else issue
Hello, I'm stuck at something thats supposed to be simple but I just can't get it right. What this peace of code to do, is to check if gallery loop is empty and it is then show the img and if it is not empty then show the gallery loop. I have tried a ...
Roop K. Rusbjerg
14/02/2020 08:58:51
Last post: 14/02/2020 11:31:12
Form files as links instead of text
I found this thread,, where it states that I could check for input type and then create a link-tag to surround this. So I did, but no link  ...
Siv-Renate Hansen
11/02/2020 10:55:56
Last post: 11/02/2020 17:59:02