Developer forum

Forum » Templates
Started by
Last reply
Anyone got a bootstrap 4 menu xslt that they are willing to share?
HI I am again stuck in XSLT - this time trying to generate a bootstrap 4 menu with a dropdown - like this one Anyone already done this and is willing to share the XSLT template? /Hans ...
Hans Ravnsfjall
13/11/2018 13:36:39
Last post: 13/11/2018 14:28:55
Cart view model not set
Hi Dynamicweb, I am getting the error from the attached screenshot when trying to use a CartViewModel. I am on Dynamicweb 9.3.5. Is there something I am missing? Best regards, Rasmus ...
Rasmus Andersen
18/12/2017 09:25:48
Last post: 12/11/2018 09:06:45
Remove commas from last iteration of loop
Hi guys Any idea how to remove specific characters from the last iteration of a loop? We have a demo solution, where we want to remove the comma the from the lasty iteration of a checkbox list. Itempublisher template attached. Screenshot of output on ...
Jens Mouritzen
06/11/2018 10:33:07
Last post: 06/11/2018 14:31:11
hreflang-tags for ecom
Hello, We are trying to output hreflangs, which works fine for normal content pages, and we can get the search engine friendly url by this method: SearchEngineFriendlyURLs.GetFriendlyUrl(). But for ecommerce paths the query parameters for GroupID and ...
Anders Ebdrup
14/03/2017 18:00:53
Last post: 05/11/2018 13:21:57
Get paragraph item values on module template?
Hi, I've got a paragraph item, where I've got a field which is the field type "ItemType". This WidthSettings item I reuse a lot and it's working fine as long as I fetch the values within my paragraph template context... When I, on a ItemPublisher tem ...
Jacob Storgaard Jensen
30/10/2018 13:51:04
Last post: 30/10/2018 15:30:19
Email Marketing -USER ID- Tag
Hello, How can i access the User ID for each recipient that i send to ? ...
Dan Gheorghe
30/10/2018 10:50:36
Last post: 30/10/2018 11:18:04
Custom import Job
Hi How can I get the value of a File Picker field in a custom integration job. [AddInParameter("File path and full name"), AddInParameterEditor(typeof(Dynamicweb.Extensibility.Editors.FileSelectEditor), ";usefilesfolder=true;"), AddInParameterGroup(" ...
Gheorghe Balan
25/10/2018 16:14:02
No replies yet
Get Field names and values from current Page Item on a paragraph template?
Hi guys, A small question here from a Razor idiot with a limited programming vocabulary... so bare with my childish explanations :-D. I've got approx 30 item fields on a Page Item, 20 of those fields I would like to loop through BUT on a paragraph (w ...
Jacob Storgaard Jensen
16/10/2018 21:31:23
Last post: 17/10/2018 13:07:09
Calendar LINQ
Hi guys I need some help getting started on LINQ coding for a calendar. Basicly i need to group an itemlist's dates in a agenda calendar. So all events should be grouped in months like showed on the attached image. Anyone? ...
Jens Mouritzen
16/10/2018 17:53:07
No replies yet
Canonical link in meta is being added when URL contains a querystring parameter
Hi, I have a rather weird scenario. I'm running a DW 9.3.10. For testing purposes I've disabled the two checkmarks within Web/HTTP -> Customized URLS regarding canonical links in meta. One in the Ecommerce group and another in the Meta group. When ...
Mikkel Toustrup Olsen
05/10/2018 13:46:35
Last post: 08/10/2018 07:54:14
Futile attempt to utilize the autologin functionality
Hi I am trying to make a login form which should autologin. However, when I login with the autologin box ticked, I am still prompted to login when I access the site the next time I open the same browser. It does fill in the username and password used ...
Roald Haahr Jensen
03/10/2018 10:12:46
Last post: 03/10/2018 13:12:19
Check if loop is empty
Hi There is probably a really simple answer to this, but right now I am stuck - and canĀ“t find a solution. I want to check if a loop contains any instances or not - or in other words, I want to check if a loop is not empty. The loop is "Item.Historik ...
Hans Ravnsfjall
01/10/2018 11:52:45
Last post: 01/10/2018 11:59:20
Less issue
Hi guys I'm wondering how to remove the " " from the less variables created from the website settings (image1) wich outputs this css (image2) wich makes the css break. Config file also attached. ...
Jens Mouritzen
26/09/2018 20:44:42
Last post: 27/09/2018 09:57:28
VariantStockCombinations documentation
Cant find any docmentation regarding which fields that are available in the VariantStockCombinations loop. Can someone post a list? ...
Martin Grønbekk Moen
20/09/2018 10:11:56
Last post: 20/09/2018 13:43:33
Email marketing {{tags}}
Hey When a page is rendered, it looks like the system Is checking if the page is part of an email for email marketing, and if it is all {{tags}} are replaced. It makes some problems when using Handelbars.js, on of our customers is using handlebars.js ...
Mark Preisler
03/08/2018 13:35:43
Last post: 17/09/2018 18:17:15
Mailtrigger on ecom product
Hi We have a costumer who want a solution where it is posible for a visitior - when you are on a productpage - to fill out a form that triggers an email being sent to the visitor, with productspecific documents - preferrable attached to the mail (mos ...
Hans Ravnsfjall
14/09/2018 14:41:11
Last post: 17/09/2018 12:05:37
Navigation with razor - example and documentation
I'm looking for some documentaion and an example of how to create a navigation with razor, instead of xslt? Been looking on GitHub, but could not find any examples of how to create a navation with razor, with some documentaion on how to do it. Is thi ...
Martin Kristensen
22/04/2015 13:36:48
Last post: 14/09/2018 10:52:57
Sidebar menu based on paragraphs
I'm looking for examples on how to make a sidenav based on paragraphs in the content. Much like on the (see attached image). Anyone have an idea for this, and whats is best practice... ...
Jens Mouritzen
11/09/2018 15:14:02
Last post: 13/09/2018 08:53:21
Properties Error
Hi All, when I click Properties button in Content , it shows the following error [ArgumentOutOfRangeException: Node "<title></title>" was not found in the collection Parameter name: node] Kindly advise me where and how can I fix this issu ...
Tin Ma Ma
10/09/2018 07:18:03
Last post: 12/09/2018 10:30:28
Recently viewed products
I'm using the eCom:Related.YouHaveSeenTheseProducts loop to display the recently viewed products in the cart page, but the list of products doesn't update when i go to a product detail page. The only way it works is when i render the eCom:Related.You ...
Cátia Torego
07/09/2018 17:20:53
Last post: 10/09/2018 12:57:53