Developer forum

Currently discussing: Plans to implement a Consent module for GDPR compliance.

Join the discussion!

Forum » Templates
Subject
Replies
Started by
Last reply
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: 13/06/2018 16:53:47
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
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/05/2018 17:06:24
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
ItemPublisher / RenderItemList and paragraphs vs. include all child items
Hi, I have a structure off departments and employees that goes something like this: Department 1 Department 2 Employee a (paragraph on Department 2 page) Employee b (paragraph on Department 2 page) Subdepartment 2.1 (subpage to Department 2) Employee ...
René Poulsen
23/04/2018 10:45:57
Last post: 23/04/2018 17:25:57
RenderItemList and global paragraphs
Hi, I'm creating a contactpage with departments and employees. Some of the employees belong to 2 or more departments, so I want to use global paragraphs for the employees. The departments and employees are shown on a page using RenderItemList, but wh ...
René Poulsen
13/04/2018 13:19:01
Last post: 13/04/2018 13:42:20
Is there a "smart" way to find missing references in Visual Studio?
I'm trying to copy a template file from another solution to my project, but it is missing some references or assemblies. Is there a "smart" way to find the missing references in Visual Studio? What I'm doing is copying some template files from Rapido ...
Bjørn Kamfjord
10/04/2018 09:19:22
Last post: 12/04/2018 10:20:59
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: 10/04/2018 08:49:55
TemplateTags() breaks the page
Hey. The issue, when I try too put an @TemplateTags() in a product loop, it breaks the page, returning an ServerError page. With no templatetags the page works fine. Ive tried putting the Template tag all over the template, it breaks no matter how i  ...
Bjørn Kamfjord
23/03/2018 08:48:26
Last post: 28/03/2018 02:41:59
Helpers, regex engine and mvc-like
We are in the process of moving our coding standard away from the old includes and towards helpers, functions and partials via the techniques described by Dynamicweb here https://doc.dynamicweb.com/forum/templates/razor-partial-views-and-helper-funct ...
Kim Pilgaard
21/02/2018 13:01:11
Last post: 27/02/2018 14:05:40
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: 22/02/2018 12:53:58
Max number of products from a specific product category
I need a setting, where i can set a max number of products from a specific product category, that buyers can put in the cart pr. order. An example: a festival where visitors buy a workshop, and they can only put one workshop in the cart pr. order. Do ...
Jens Mouritzen
13/02/2018 12:55:31
Last post: 19/02/2018 15:33:24
Automatic email template forms for editors
Hi, We have different clients who made a form with the forms for editors function in DW9. When you fill in the form and send, then the customer and the company are getting the mail with a Dynamicweb logo. We changed it in the DefaultMail.cshtml and t ...
Manon Wekking
14/02/2018 14:31:11
Last post: 16/02/2018 02:14:10
Paragraphs container (items loop)
I'm trying to loop items with a file include. Basicly i'm trying to make a simple paragraph container like the one in Rapido I got the following error Exception in template (Designs/Simple/Paragraph/ParagraphContainer.cshtml): System.ArgumentExceptio ...
Jens Mouritzen
29/01/2018 11:10:06
Last post: 08/02/2018 09:28:41