Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Get eCom group values within Dynamicweb.Frontend.PageViewModel?
Hi guys, sorry for this question, but I'm trying to catch up on a few years of Dynamicweb coding break. I have a page template which starts like this (I have to do changes to a already built site): @using Dynamicweb.Ecommerce.Products @inherits Dynam ...
Jacob Storgaard Jensen
08/11/2017 15:04:39
Last post: 08/11/2017 16:07:29
"No layout selected for website" in training-certification
I just started using dynamic web and to learn i use this guide: http://doc.dynamicweb.com/training-certification/t1-content-implementer/t1-content-implementer/1-1-pages-paragraphs-websites I'm on the step "Creating a page" where im stuck. When previe ...
David
06/11/2017 13:18:15
No replies yet
Missing language layers
Hi everyone, I am trying to setup a site to use language layers in DW 9.4 (installed using nuget), I am not seeing the "New language" button in the websites app as in the documentation. Is this an error or am i missing something? FYI: I posted this i ...
Rasmus Andersen
19/10/2017 18:14:16
Last post: 06/11/2017 09:46:03
Relative path not wanted in styles for SVG logo
I have a template with an SVG-logo, originally black, but it is going to have a "golden gradient", and in the master file I have the styles for this (see attached file) - but when the template is rendered, and I am testing the webpage live, the first ...
Lise T. Pedersen
18/10/2017 14:42:35
Last post: 01/11/2017 08:57:19
Forms for editors - how to link files in the email template
Is there anybody who can/will help me with an exact example on an RAZOR email template to forms for editors, where an uploaded file is shown as a clickable link? Please! /Lise ...
Lise T. Pedersen
10/10/2017 14:27:15
Last post: 13/10/2017 11:33:11
Cookie manager.
Hi all I've been looking around, but I can’t find a best practice or up to date descriptions for cookie warnings through the cookie manager (especially in Dynamicweb9). First of what does the optinlevel (1-3?) cover? What’s the difference between the ...
Simon Nordahl
11/10/2017 09:38:54
Last post: 11/10/2017 13:35:19
ExtranetLogOn method with an encrypted password
Hi All, I'm trying to make an auto-login by the ExtranetLogOn method: https://doc.dynamicweb.com/api/html/ddfd9080-f65b-c03f-afd5-a0fe679e051d.htm The problem is the passwords are encrypted and that method doesn't allow encrypted passwords. Does anyo ...
Ricardo Pereira
10/10/2017 12:27:51
Last post: 10/10/2017 15:35:11
fetch modified/edit timestamp on image in razor
Hi I have a razor template where i loop through images of a given folder, and publish it to a JSON feed. I wonder if it would be possible to fetch the timestamp of the image file (the time when the file was last edited) in the loop. Anyone know if th ...
Hans Ravnsfjall
05/10/2017 23:07:28
Last post: 05/10/2017 23:15:28
Cart: a tag for orderline discount (true-false)?
Hi, Is there a tag for each orderline we can use to ccheck if there is a discount applied to this orderline or not? Something like "Orderline.HasDiscount" = true/false Or maybe an orderline tag that only renders a value, or a value different from 0,  ...
Jens Jakob Kristensen
18/09/2017 16:02:24
Last post: 04/10/2017 16:24:52
where did "lastitem" go?
I have a dropdown-navigation, based on the DwddDropdown template. And it works perfect, except that the li class on last item isn't outputting "lastitem" - and I need this for some other functions to work. I have tried to use other (standard) navigat ...
Lise T. Pedersen
02/10/2017 15:46:32
Last post: 03/10/2017 12:39:20
Performance issue with navigations.
Hi We've build a solution with multiple navigations visible on the productlist pages. It's especially the ecom groups navigation that takes its toll. We have the following ecom navigations active on our productlist (each rendered separately). Sidebar ...
Simon Nordahl
19/09/2017 15:48:41
Last post: 20/09/2017 17:21:53
Lise T. Pedersen
15/09/2017 15:20:23
Last post: 19/09/2017 11:29:49
Forms for editors - not active fields is still outputted in receipt
In forms for editors I have a form which is used for subscription for some meetings, one each month over the year. And when the meetings is over, we are deactivating the checkbox field for this. (We use the same form every year, therefore it's a kind ...
Lise T. Pedersen
13/09/2017 09:28:59
Last post: 15/09/2017 15:11:15
RenderItemList - custom parameters
Hi, I don't think it is possible, but worth a question here: is it possible to send custom parameters to an ItemPublisherList template using the RenderItemList. Let's say I have 1 item based page (on this item I can choose 1 image). From the template ...
René Poulsen
23/08/2017 14:05:15
Last post: 23/08/2017 15:12:41
Unique menu id/class
Is it possible to get an unique id/class code for the xslt menu navigation? As in: one link could have another css style. Etc. <xsl:attribute name="class"> <xsl:text>menu-link menu-id-<!--@Menu.ID--></xsl:text> <xsl:if test ...
Sofia Soje
18/08/2017 16:14:35
Last post: 21/08/2017 10:12:31
Custom Field in Product List
Hi people... I have one product custom field... I can get easily this value in the product details... but when I'm trying get in the product list, this is just accessible when I have dwtemplatetags. This is a BUG? How can I have this value in the Pro ...
George Nelzo Pereira
11/08/2017 18:41:29
Last post: 17/08/2017 15:10:12
Null-propagation and other 6.0 features in templates.
Hi all Have anybody had success with incorporating c# 6.0 features in Dynamicweb templates? Eg. Model?.Area.Culture? I've tried with installing Microsoft.CodeDom.Providers.DotNetCompilerPlatform in the project which removes the build warnings in temp ...
Simon Nordahl
15/08/2017 13:57:57
Last post: 15/08/2017 14:50:01
Custom template location
Hi Dynamicweb, Is it possible to insert a different template location than the default, while still allowing editors to pick the templates from Dynamicweb using items? I have tried using an: - ItemTypeTemplateExtender and set it's template path - Not ...
Rasmus Andersen
14/08/2017 14:54:18
Last post: 15/08/2017 07:53:37
RenderItemList and filter
Hi, I've got an itempublisher template to show some items. On the module I choose 8 items - they have to be shown in a specific way. Then in the template i render an itemlist of the same itemtype - it has to show all of the items, except the 8 chosen ...
René Poulsen
06/11/2015 13:42:02
Last post: 11/08/2017 15:09:47
Basket - Delivery address not being recorded
Hi, I have a solution based on the wrap, and in the basket the user has the possibility to choose an alternative delivery address from his address list (I change the values of the delivery address fields via javascript on select). My delivery address ...
Gaëtan Di Caro
09/08/2017 12:50:41
Last post: 10/08/2017 08:45:04