Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Klarna "remember me" option, administered by Klarna
Hi Guys, Today customer contacted me, and asked if they can have this: https://www.screencast.com/t/NNchMA3hc They are saying it's part of "standard opset" but I am not sure if that is true or not? If it is, then I guess this shoiuld have been as par ...
Dimitrij Jazel
22/05/2017 10:32:37
Last post: 22/05/2017 10:54:47
VariantCombinations loop v. 8.6.1.25 vs. 8.9.1.7
Hi, I'm working with eCom and variants on a v. 8.6.1.25 solution. On that one I can use the VariantCombinations loop to get the variants of the product. Inside it I can easily get the URL for the variant by using the Ecom:VariantCombination.Link.Clea ...
René Poulsen
10/05/2017 09:00:50
Last post: 10/05/2017 10:16:26
Get instagram images in Razor templates?
Hi guys, might be a stupid question... But has any of you managed to pull in images from a specific Instagram user into a Razor-template? I just need to pull in the 9 latest images from an Instagram account, but so much js-crap laying around online t ...
Jacob Storgaard Jensen
02/05/2017 09:32:32
Last post: 02/05/2017 20:49:56
CustomerCenter.ListTypes.Lists does not render lists
Hi, I have a bit of a strange problem with this tag: GetLoop("CustomerCenter.ListTypes.Lists") I am logged in with a user that has a number of favouritelists. But the tag does not contain any lists unless I also have "TemplateTags" in the tempate. Wi ...
Aki Ruuskanen
28/04/2017 09:34:25
Last post: 18/05/2017 16:16:14
PageTemplateExtender to use with "IF Statements"
Hi, I have one PageTemplateExtender with some Tags... this tags are printing normally. If I use in one template (DataList) is printing but if I use the "IF Statements" to check is not working... But If I use the "IF Statements" in Master template tha ...
George Nelzo Pereira
20/04/2017 15:36:16
Last post: 24/04/2017 16:56:47
eCommerce subgroup sorting (not navigation sorting)
Hi, I've got a pretty simple group structure in eCom, but making it work in frontend is quite hard... Group1 Subgroup1 Subgroup2 Group2 Subgroup3 Sugrroup4 Important! No groups will ever be present more that one place in this structure! In the fronte ...
Jacob Storgaard Jensen
03/04/2017 22:55:43
Last post: 07/04/2017 11:24:45
update variant number
I have a custom code for inserting products/variants and I have issues when I want to edit variant information (in my case productnumber). This is what I tried and it didn’t work. var var = new VariantCombination(); var.ProductID = dwProduct.ID ...
Davor Zlotrg
20/03/2017 20:38:57
Last post: 23/03/2017 13:11:10
Add hash token to filepath of css/js files?
Hi, Is there a way to add a token/MD5 hash string to a css/js files path? I know that the ControlResourcesHandler.ashx does it if resource files are registered dynamically - no clue why it doesn't when they are just hardcoded in the filelist!?... ...
Jacob Storgaard Jensen
14/03/2017 15:33:53
Last post: 15/03/2017 14:22:43
Problem with DW parsing html attributes with templates tags
Hello, In the master template with Razor syntax, there is an issue when it is parsed. Code being parsed: <body data-minicart-page-id="@GetString("Item.Area.HeaderCartPage_ID")" data-maxicart-page-id="@GetString("Item.Area.Maxi_Cart_Page_ID")" data ...
Emil Ryberg
08/03/2017 13:26:52
Last post: 09/03/2017 13:27:54
Item calendar
Hi guys I'm very new to Razor templates. I got a event booking site that needs an event calendar sorted by month. The events are made with items and display with the itempublisher (it's a DW9 solution). The hierarchy/loop would look like this (see im ...
Jens Mouritzen
06/03/2017 20:44:59
Last post: 07/03/2017 13:39:56
Razor template for a calendar
Hi guys I'm very new to Razor templates. I got a event booking site that needs an event calendar sorted by month. The events are made with items and display with the itempublisher (it's a DW9 solution). The hierarchy/loop would look like this (see im ...
Jens Mouritzen
06/03/2017 20:43:45
Last post: 09/03/2017 13:59:24
RenderParagraphContent with DW9 ViewModels
Starting to use the new ViewModels, and have some Page Templates where @RenderParagraphContent() is use. Is there something simular in the new PageViewModel in DW9? ...
Heine Virenfeldt Kristensen
03/03/2017 12:36:05
Last post: 12/03/2017 00:26:05
Duplicate master template inside of the module.
Hi there, I have an issue with item publisher. I have created an item publisher which displays in my sub-page, a list of items (displays as expected), then I click in one of the item's list, it goes to a single item(which displays also fine) but the  ...
Francisco Jose Gamarra Mena
06/02/2017 15:40:59
Last post: 07/02/2017 09:49:32
How can I loop through images in a folder, based on a File field in eCom Product
Hi As a progression on some of my previous questions, I am trying to loop through the files of a folder and displaying them in a list. All this is based on eCom product custom field, with the tag and systems name Images. My not working code so far is ...
Hans Ravnsfjall
03/01/2017 19:55:53
Last post: 03/01/2017 22:48:24
Color Seeting.... DW9 bug?
Hi, is there anyone having problem with website setting primary color? I am having trouble while setting up _wrap >colorsetting which is connected to website setting primary color,secondry color. is that DW9 issue? Arker Soe ...
Arker Soe
15/12/2016 12:30:49
Last post: 17/12/2016 12:13:55
OrderLine fields how to?
Hi guys, I was wondering if anyone of you could have an example on how to use OrderLine fields? I created OrderLine field, but I am not able to set it. But am having trouble generating input field for it. ...
Dmitrij Jazel
24/11/2016 10:20:23
Last post: 24/11/2016 12:28:54
Login via IP adress or Windows notifications
We are about to make an intranet area, where we of course have some users with access. However, our customer requests that everyone who accesses the intranet from the companys IP address have access without login. Just based on the IP they are enteri ...
Morten Sigh
01/11/2016 09:41:26
Last post: 02/11/2016 16:36:49
Create user - with validation?
I have a form in frontend, where a new user can be created and after that confirmed by the admin - and in the standard template, only password and email is validated. But we need to validate that the other fields is filled out to (e.g. name of the us ...
Lise T. Pedersen
21/10/2016 15:29:21
Last post: 31/10/2016 09:27:52
Get Exif data from image
We are having problems with users uploading images to a site, and the exif orientation on these images are sometimes wrong. Is there any way to access these exif data in razor? ...
Michael John
20/10/2016 14:28:16
Last post: 25/10/2016 13:43:21
Can not access template tags inside cart html
On the cart page (in the template that is attached on the paragraph module) I can not access any of the template tags. Here is the example http://belugi.dw.inet-design.dk/cart Inside ShowCart_Compact.html I should be able to output <!--@Item.Area. ...
Davor Zlotrg
17/08/2016 10:07:47
Last post: 17/08/2016 12:38:46