Developer forum

Forum » Templates
Started by
Last reply
Blog menu and breadcrumb
Hi, Our client wants a blog with its own navigation menu and breadcrumb. I am configuring the Rapido blog to do it, using the Article and ArticleList items. I created a new simple XSLT that is displayed in the blog pages (see atachment), but I don't  ...
Tomas Gomez
28/01/2020 15:34:33
No replies yet
Get pages that are children of a given parentpage using the API
Hi I am trying to get at list of active pages that are children of a given parentpage using the API Guess what i have to use is this So far i have tried a lot of things, ...
Hans Ravnsfjall
14/01/2020 11:36:23
Last post: 14/01/2020 15:39:11
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? ...
17/03/2017 08:59:37
Last post: 09/01/2020 12:44:24
Getting colours from image
Hi guys I need some guidance on how to retrieve colors from an image, one or more. E.g. we want to make an overlay color for an image based on the colors of the image. Anyone having a good approach on how to do this? ...
Jens Mouritzen
06/01/2020 22:05:17
Last post: 08/01/2020 09:25:24
Modal Component duplicates buttons
Hi, When trying to use the Modal Component, populating buttons through the AddAction method, it's duplicating them if we reload the page. I am using the modal as a handlebars template and I was expecting to on ...
Nuno Aguiar
03/01/2020 19:43:29
No replies yet
Filepublisher using first image as thumbnail
Hi guys We got a customer, who wants to use the first image in the filefolder as the thumbnail, using the FilePublisher module. How can we achive this? The folders loop (Razor) dows not give a list of files. Thanks :) ...
Jens Mouritzen
15/12/2019 18:28:14
Last post: 17/12/2019 19:00:13
Template Context for EmailMarketing
I have been stuggling for a few days with the email marketing module, and think it is time i request some external assistance :-) When i am sending an email via the EmailMarketing module, it seems that the context in @PageView.Context is null. (I hav ...
Ronni Hansen
26/07/2019 08:35:47
Last post: 10/12/2019 14:30:36
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: 10/12/2019 10:26:46
Automatic log-out extranet after session-timeout
According to Nets security demands, a webshop extranet user should be logged out automatically if the user has been inactive for the time of the session-timeout (or other time set). This is not happening in DW today. Maybe it can be implemented in th ...
Michael Fløe Haug
30/11/2017 09:34:37
Last post: 04/12/2019 15:06:29
Cannot install DynamicwebTemplatesDW9VS2019.vsix
Alright so here I am again. On my way to study for the C3 certification I am setting up my environment for the T3 training module. One of the prerequisites for this module is to "Download and install the Visual Studio template set for Dynamicweb 9".  ...
Ronnie Poulsen
03/12/2019 12:47:34
Last post: 04/12/2019 10:11:33
How do i fetch and display json data, using razor?
I know how to do it for fetching and displaying XML, and tought it would be easy to convert this code to fetch json instead, but I canĀ“t get it to work. Here is what I have for XML, and this works perfectly. Pardon the clumsy code, but this is just a ...
Hans Ravnsfjall
29/11/2019 17:34:35
Last post: 04/12/2019 09:49:05
constant problem with Facebook share (images not valid content)
Hi As you see here, I have problem with facebook not accepting the image content type I Have tried ur ...
Hans Ravnsfjall
03/12/2019 17:45:35
Last post: 03/12/2019 18:55:09
Alternative images in product catalog
Is it possible to loop through the alternative images/links in a product catalog paragraph? I'm using a product catalog paragraph to create an XML product feed, i do see the small, medium and large images but i don't see a template tag or loop to dis ...
John Broers
02/12/2019 16:49:31
Last post: 02/12/2019 17:12:35
How to get focal point in PageViewModel?
I have a problem not being able to get the imagepath with the selected focal point in a pageviewmodel. How do i get access to the focal point values? ...
Daniel Hansen
24/10/2019 15:36:47
Last post: 18/11/2019 14:13:48
Newly created PropertyItem itemtype results in NullReferenceException when trying to do null check
Hi, I've just created an Item which I'm using for page properties. When I in my layout template use the code below I get a NullReferenceException (System.NullReferenceException: Object reference not set to an instance of an object.) But only on the p ...
Jacob Storgaard Jensen
06/11/2019 21:13:38
Last post: 06/11/2019 23:32:26
Search and replace template filename on Page table?
Hi, I have to change template (from html to Razor) on 2000+ pages on a site. I want to know if it's enough to do a search and replace on the PageLayout column on the Page table? Or is there anything else to think about? ...
Jacob Storgaard Jensen
30/10/2019 16:43:02
Last post: 30/10/2019 23:06:05
Two extranet apps on one page
Hi, I'm using the Extranet app for a newsletter signup, which is located in the footer of the website. I also have a 'create account' page which makes use of the Extranet app. Both setup with the Create profile form. So the create account page has tw ...
John Broers
29/10/2019 14:17:59
Last post: 29/10/2019 15:34:56
Is it possible to set unwrap:true on PageViewModel's @Model.Placeholder(...)
Hi, Running version 9.7.2, it will generate a div for each paragraph, when rendering them with @Model.Placeholder(...). Is it possible to set unwrap:true in some way? It would have made sense if it could be included as part of the settings parameter  ...
Roald Haahr Jensen
25/10/2019 13:33:33
Last post: 25/10/2019 15:03:51
Handlebars template not rendered in product details
Hi there, we have a WIP test site up and are experiencing some strange issues. The product information is not being rendered but other handlebars generated content is being rendered on oth ...
Reynir Viðar Ingason
24/10/2019 10:07:09
Last post: 24/10/2019 14:23:54
Wrong saved card number on order confirmation page
When using a saved card I am getting the wrong number displayed on the order confirmation page. The value is wrong if I try to get it either from the template tags (Ecom:Order.TransactionCardNumber) or the API, although it's correct on the backoffice ...
Cátia Torego
04/10/2019 11:49:33
Last post: 07/10/2019 02:31:29