Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Any way to alter mail subject dynamically in form for editors?
We usually alter input fields via javascript, but is there any way to alter the mail subject dynamically of the mail being sent as a receipt? /Hans ...
Hans Ravnsfjall
02/05/2019 14:54:29
Last post: 02/05/2019 15:31:01
ParentTag in RenderNavigation (PageViewModel)
Hi I am trying to render a menu using ParentTag like this: @RenderNavigation(new { StartLevel = 1, EndLevel = 2, ParentTag = "Topmenu", Template = "TopNavigation.xslt" }) But the systems seems not to take ParentTag into consideration. Nothing is rend ...
Lars Larsen
29/04/2019 12:13:09
Last post: 29/04/2019 13:39:33
Item relation list returns a single value instead of an array of multiple values
I would like to get all values from an item relation list that is part of a page item type, but I have a problem because the item relation list returns a single value instead of an array of all the items. This is the code I use: // Get all pages unde ...
Pernille Mortensen
23/04/2019 11:22:48
Last post: 06/05/2019 15:11:39
Vertext Address Validation
I have a Vertex Address Validation configured. On the first step of the cart i am getting the AddressValidators loop, sometimes the loop has values and some times it doesn't (the address used is always the same address with errors). Shouln't the loop ...
Cátia Torego
17/04/2019 18:21:59
Last post: 23/04/2019 16:12:06
Create order as PDF and attach it to email notification
Hi guys We would like to know, if there is a simple way to generate a PDF file of an order, and send it to the order notification recipient? E.g. if the user makes an order, then the solution should send an email with the order attached. We could sim ...
Jens Mouritzen
10/04/2019 23:35:24
Last post: 06/10/2020 11:20:35
Attach all files from a folder to an email sent from forms for editor email
Hi Is it possible - in a razor template - to attach all files from a certain folder to an email sent from Forms for editor module? I am wondering, could this be a solution to add something like this to the forms mail template? mail.Attachments.Add(ne ...
Hans Ravnsfjall
14/03/2019 16:54:10
Last post: 15/03/2019 10:05:45
Customers who bought this also bought not returning any products
I'm using the "Customers who bought this also bought" loop in the product page (eCom:Related.CustomersWhoBoughtThisItemAlsoBought) but i'm not getting any products. I made several orders, shouldn't it have some products? DW version 9.5.7 ...
Cátia Torego
22/02/2019 19:16:05
Last post: 27/02/2019 13:17:33
Email messaging Tags for Razor code
HI i Need to create a fully customized Email template for Back to Stock and when i try to get either EmailMessaging:Recipient.Id or EmailMessaging:Recipient.Key only available in placeholder tags. any idea to get that fileds value into my code block? ...
Shiwanka Chathuranga
09/02/2019 19:28:39
Last post: 20/02/2019 08:59:54
Is there a (better) way to include pages - with their respective templates - in another template
What I have so far, is: @Dynamicweb.Frontend.PageView.GetPageviewByPageID(36).Output() But there are potential issues with this. Eg. if the pageid doesn´t exist, it seems the system crashes totally. Also, if i set the content type of the included pag ...
Hans Ravnsfjall
28/01/2019 11:55:48
Last post: 28/01/2019 14:39:04
Create remaining iterations in loop
Hi guys I got a loop where i want to create placeholder images if the loop is not dividable by 3 (see itempublisher.png). I'm keeping track of the iterations with a integer and incrementing it, in each iteration. Any ideas for the maths and logics on ...
Jens Mouritzen
23/01/2019 08:39:03
Last post: 28/01/2019 22:26:45
Identify page for css change
On my front page, I have a h2 on a hero image. Right now, it's font size is 20 px, which I want for H2 in texts. However, on the front page, on the hero image, I want the h2 to be huge. I know I can write my own css, but I cannot find a way to identi ...
Siv Hansen
14/01/2019 19:28:34
Last post: 15/01/2019 13:02:21
Separate content and presentation, wcag.
I tested the "form for editors" module, ref https://egwbp-sivha.azurewebsites.net/Default.aspx?ID=4 When displaying the source code of the newly published form, I see that it is wrapped in tables. In the universal design guidelines, one requirement i ...
Siv Hansen
14/01/2019 09:38:42
Last post: 14/01/2019 11:55:04
Design configuration - how to
I found a work-around for the error in my site, so now I'm configuring colors etc. However, I am not able to set transparency in a background color. For example, I would like my hero image on the front page to cover the entire screen and to have the  ...
Siv Hansen
10/01/2019 16:04:52
Last post: 11/01/2019 09:05:03
Error when setting up a new website
As part of my training, I'm configuring an empty website in DW. I've followed this guide (at least I think I've done so) https://doc.dynamicweb.com/rapido/introduction/start-up/new-project-on-dw-with-rapido Now I get this error message: Exception in  ...
Siv Hansen
10/01/2019 12:58:29
Last post: 27/06/2019 14:31:14
Organisation name as part of title tag
I'm new to Dynamicweb, so bare with me if the question I ask has been asked and answered before. In my title tag, on all my pages, should contain 2 parts: the page title (or the meta page title) and the company name, so that when I bookmark a page, i ...
Siv Hansen
09/01/2019 13:01:09
Last post: 09/01/2019 13:57:54
Custom contact form as paragraph template
Does anyone have an idea how to make a custom contact form on a paragraph as a template? E.g. the customer dont want the "Forms for editors" etc. How could it be implemented in the below code? <div class="contactform"> <form action=""> &l ...
Jens Mouritzen
08/01/2019 11:27:03
Last post: 09/01/2019 13:22:54
Getting loop iterations outside loop
Hi guys I need some help with this, probably easy to do, but i'm stuck. I need to get a variable from a loop from outside the loop (razor-template.png). I can only get it to render the first value of the selections from the loop (checkbox list). See  ...
Jens Mouritzen
13/12/2018 23:26:44
Last post: 14/12/2018 15:48:35
Implement 'Email Order' from Order Details page
Is there a way in Dynamicweb to implement an 'Email Order' feature from the Order Details page and the Order Receipt page? ...
Conor McKeown
10/12/2018 20:02:58
Last post: 17/12/2018 22:26:08
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