Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Divide loop items into rows
Hi guys. Any of you have an idea on how to split this loop into row with eg. 4 items in each? I have tried many thing like "break;" and "continue;" and nested loops, but i didnt succeed. My code i attached below, thank you in advance! @inherits Dynam ...
Jens Mouritzen
01/12/2018 23:45:13
Last post: 03/12/2018 12:17:10
Navigating Variants
Hi, 1) Is it possible to navigate to a SEO compliant URL when navigating variants? E.g. ~/Product-Name/Variant-Name OR just /Product-Name assuming Customer had changed the name for each variant. 2) Also, when navigating variants, is it possible to im ...
Afi
30/11/2018 06:08:04
Last post: 30/11/2018 13:13:46
RenderPageContent and Global Elements
When displaying a news item I want a sidebar with reference to other latest news and some global elements that I use across the site. Page "Right Sidebar page" with ID: 788 contains - Paragraph 1 (standard Paragraph) - Paragraph 2 (Global element fro ...
Michael Fenech-Andersen
29/11/2018 13:25:52
Last post: 03/12/2018 09:07:01
Filtering and searching on Map
Hi, I have setup a map for solution on a paragraph. I'm using usergroups to filter the dealers shown onthe map. When you on the map page select a filtergroup you will get the correct result. If you then subsequently do search on an adress the search  ...
Søren Bremholm Jakobsen
21/11/2018 08:30:55
Last post: 13/12/2018 14:56:29
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
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
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
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
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
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
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 doc.dynamicweb.com (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
Looping group and users in those groups
I'm having a hard time making a loop work inside a loop (see picture 1). I dont know if this is possible at all (it should be). The looping should be like this: Group 1 User 1 User 2 User 3 Group 2 User 4 User 5 User 6 Do we maybe need LINQ for this  ...
Jens Mouritzen
15/08/2018 16:51:59
Last post: 16/08/2018 16:00:45
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
RenderItem() and RenderItemList()
https://doc.dynamicweb.com/documentation-8/content/items/item-publisher#sideNavTitle1-2-2 https://doc.dynamicweb.com/template-tags/content/item-publisher/details#ItemPublisher:Item.DetailsUrl I'm having problems with these extension methods. I unders ...
Kevin O'Driscoll
03/08/2018 10:59:42
Last post: 08/08/2018 12:35:05
Page personalisation
Hi, Question 1: Why are pages/items only hidden in the menu by using the personalization module? I have a page with items based on the personalization profile but in the menu they are hidden and on the page they are visible… How can I fix it? Questio ...
Wouter Oonk
30/07/2018 11:08:20
Last post: 31/07/2018 14:06:10
Impersonation
Hi, I've never worked with impersonation before and I'm now trying to make it work on one of our solutions. I've created a user that can impersonate a lot of other users. I've created a template that creates a select element with options of all of th ...
René Poulsen
18/06/2018 14:21:36
Last post: 26/06/2018 16:17:40
Get Users from same group
So, I'm looking for some tips for how to set up some functionality. What I want to achieve is this. When a "Department Manager" from one of my Customers shops on my site, she finds a product that she want to buy for some of her employees. So when she ...
Bjørn Kamfjord
13/06/2018 16:22:39
Last post: 21/06/2018 15:11:26
action url returned by @GetValue("UserManagement:User.FormStart") template tag
Hi, I have an issue at a change password page. We are using the @GetValue("UserManagement:User.FormStart") template tag. The tag returns a form with an action url (see below). The problem is that the site is https but the tag returns a http url and u ...
Søren Bremholm Jakobsen
12/06/2018 16:31:59
Last post: 13/06/2018 10:11:35