Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Primary Related Groups
Hi... I have one product... it is related in more groups... is OK, I can find this product in these groups... But I choosed one Primary Group and this are not following in details... https://georgenelzo.tinytake.com/sf/MjQzNzg3OF83MzcxMTY2 In Details ...
George Nelzo Pereira
14/03/2018 19:38:08
Last post: 17/08/2018 09:32:12
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
Orderline Field not added
Hi there, Im running a 9.4.14, and im trying to add a value to a Orderline field. But for some reason its not added to the orderline when the form is submitted. I have added an field called Licenses as both name and systemname. No matter what i do, t ...
Kim Hansen
10/08/2018 15:16:55
Last post: 10/08/2018 16:10:08
Add value in orderline field when ordering using AJAX
Hi guys, I am trying to add some values to an Orderline field in the same AJAX call with adding the Product to cart. Asuming The system name of the Orderlinefield is Mileage, what should be the name of the Parameter used for Post? I tried so far "Mil ...
Adrian Ursu
10/05/2018 16:46:04
Last post: 10/08/2018 14:37:36
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
Did 9.4.14 change something in the Razor template engine?
Hi, I just upgraded to 9.4.14 in a DEV solution and i get some weird razor behaviour... Consider this code: foreach (LoopItem item in GetLoop("Item.Something")) { <a href="@item.GetString("Item.Something.URL")" title="@item.GetString("Item.Somethi ...
Jacob Storgaard Jensen
19/06/2018 16:38:32
Last post: 07/08/2018 10:57:22
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: 07/08/2018 10:48:06
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
No replies yet
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
RenderItemList
Hi Im trying to use RenderItemList to render a list of subpages. Using this: @RenderItemList(new { ItemType = "Page", ListSourceType = "Page", ListSourcePage = "8", ItemFieldsList = "*", ListPageSize = 100, ListOrderBy = "Sort", ListTemplate = "ItemP ...
Morten Lund
22/06/2018 14:13:21
Last post: 26/06/2018 09:45:41
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
Avoid "Error compiling template" never to be shown
How can i avoid the "Error compiling template" to be shown with a global setting and without using try/catch on the tempalte? Anyone? ...
Morten
17/03/2017 08:59:37
Last post: 12/06/2018 15:53:55
Live Integration Template
Im trying to create a template for Invoice List (based on the InvoiceList.html) Of course i want to use Razor so I created a cshtml page but there doesnt seem to be any data? TemplateTags() doesnt put out anything i can use. I havent found any exampl ...
David Alexandersson
29/05/2018 14:37:25
Last post: 04/06/2018 14:23:01
GetImage Crop modes has gotten mixed I think (9.4.11)
Hi, I'm right now running a 9.4.11 where I get some weird behaviour from GetImage.ashx: Seem like Crop 1 and 2 has switched places and so has 3 and 4...: (all the below has been scaled down for forum use) Anyone else been getting the same? ...
Jacob Storgaard Jensen
29/05/2018 14:42:01
Last post: 31/05/2018 09:39:35
Email marketing - Preheader in newsletter
Hi It seems like I can't prevent Dynamicweb from injecting content from the tag "EmailMarketing:Email.PreHeader" in my newsletter! I have tried to use the tag "EmailMarketing:Email.PreHeader.Clean" like this: <body> @GetString("EmailMarketing:E ...
Lars Larsen
24/04/2018 12:38:39
Last post: 31/05/2018 00:01:47
GDPR - user confirmation via email marketing?
Because of alle the new GDPR-rules, one of our customers would like to send a newsletter to all existing subscribers, and this has to contain a link - something like "Yes, I accept the consent and would like to receive newsletters in the future" And  ...
Lise T. Pedersen
15/05/2018 14:44:03
Last post: 23/05/2018 13:54:51
XSLT ecom navigation sortng issue
Hi guys, We have an application which uses XSLT for it's navigation. It renders the ecom groups, but not sorted in the order the administrator ordered the groups in the CMS ... They seem to be sorted by Name in the XSLT ... When I save the XSLT to XM ...
Peter Leleulya
02/05/2018 09:07:28
Last post: 04/05/2018 13:02:33
Extending Razor ViewModels
I have been looking into extending your Page and Paragraph ViewModels for our frontenders by creating models which inherits from your classes. However as far as I can tell this is not possible since you have hardcoded the usage of PageViewModel and P ...
Kim Pilgaard
08/11/2017 12:05:37
Last post: 25/04/2018 12:54:52