Developer forum
Subject
Replies
Started by
Last reply
CategoryField template tag Razor
How do i utilize the CategoryField template tag in Razor templates? Serializing the product loopitem shows me that it does not exist in the variable scope - although it is availabe per. the documentation ( http://templates.dynamicweb.com/eCommerce/Dy ...
Jonas Mersholm
16/01/2015 13:38:57
Last post: 19/01/2015 08:38:14
Usermanagement - Get Subgroups
Hello all, I have a contact form on my frontpage where the user is able to search for a specific employee. I have a main group(places) and below that x amount of subgroups(departments) which contains their respective employees. However, on my search ...
Mikkel Toustrup Olsen
06/01/2015 12:34:15
Last post: 16/01/2015 15:38:08
Razor - check if image exists
Hi Whats the best way to check if an image exists on a given path with razor? /Rune ...
Rune Skovbo
16/01/2015 14:51:11
Last post: 16/01/2015 15:34:51
Razor removes quotes
Hi DW, I have an issue with a custom modules containing a rich text editor. The value are set on the template in the module with: template.SetTag("AbArticle2", Properties.Values["AbArticle2"].ToString()); And I am outputting the values in my template ...
Anders Ebdrup
14/01/2015 12:31:12
Last post: 14/01/2015 14:15:45
Tag suggestions
Would these tags be a good addition to the template tags: Ancestor(Item.WhateverName) AncestorOrSelf(Item.WhateverName) Descendant(Item.WhateverName) DescendantOrSelf(Item.WhateverName) Parent(Item.WhateverName) // Sebastian ...
Sebastian Dammark
09/01/2015 19:46:47
Last post: 14/01/2015 12:08:33
DW forms: ID of entry in email receipt
Hi How do I get the ID of an entry in the forms module into the email receipt? Every entry is of course assigned a unique id, but as far as I can see it is not available in the template. What I need is a tag like this: <!--@Form.Fields.myForm_ID.V ...
Martin Orvad
11/10/2011 11:07:31
Last post: 13/01/2015 13:50:42
16
Unsubscribe
Maps module - multiple locations on same address
Hello all, I am using the maps module to show different locations on my map and I am also using the cluster settings in order for the user to see clustered locations when zoomed out. However I have multiple companies on the same location - therefore ...
Mikkel Toustrup Olsen
07/01/2015 16:54:02
Last post: 13/01/2015 13:45:01
Razor generate encrypted user password
Hi, How can we generate an MD5 encrypted password to update a password in Razor? I now we need to append "DwSecret" to the password, right? Nuno ...
Nuno Aguiar
22/04/2014 15:06:19
Last post: 05/01/2015 11:54:18
Server:Request.ajax: in Razor
Hej Guys, I was wondering how do you do something like this in Razor? <!--@If Defined(Server:Request.ajax)--> <xml>XML content here</xml> <!--@EndIf(Server:Request.ajax)--> <!--@If Not Defined(Server:Request.ajax)--> < ...
Dmitrij Jazel
02/01/2015 14:53:30
Last post: 05/01/2015 09:33:08
Produkt Variants
I have som products with product variants. Now, I want to use a product variant as a related product to another product. Is this possible? ...
Jim Trebbien
19/11/2014 14:01:12
Last post: 23/12/2014 14:04:19
Razor paragraph item loop
Hi all I don't know if this is a stupid question of if it is even possible. I have searched the forums, looked at the documentation and looked at the examplefiles on GitHub, but can't seem to find anything about it. What I want to do is to loop throu ...
Michael Nielsen
18/12/2014 13:24:28
Last post: 19/12/2014 12:47:36
Global page content - Missing layout
How come when I use <!--@Global:Page.Content([ID])--> or @RenderPageContent([ID]) only the paragraphs is outputtet and the page template mark-up is missing? ...
Jakob Westhausen
09/12/2014 08:51:08
Last post: 12/12/2014 14:16:31
17
Unsubscribe
GetString from string with concat variable
Hi guys, There is any limitation to get a field with GetValue/GetString from a variable? e.g: for(var i = 1; i <= 10; i++){ string test = "Ecom:Product.Image."+@i+".Clean"; @GetString(test) } I also tried: @GetString(string.Format("Ecom:Product.Im ...
António Ramos
09/12/2014 17:03:58
Last post: 10/12/2014 11:06:06
Razor version of Template:DesignBaseUrl?
Hi Dynamicweb, What is the razor version of this tag: @Template:DesignBaseUrl introduced in 8.5? Best regards, Anders ...
Anders Ebdrup
09/12/2014 20:26:29
Last post: 10/12/2014 09:46:48
Out commented TemplateTags in Razor
Hi Dw, When have out commented TemplateTags like: @* @TemplateTags() *@ I a razor template, it seems like the TemplateTags are parsed anyway on the server side (tested on 8.5.1.x) and are causing longer load time. It would be nice that the out commen ...
Anders Ebdrup
08/12/2014 20:04:15
Last post: 09/12/2014 09:13:46
Form validator
The form validator used in user management seems to always check for password. Is there a way to remove the password check in the validator. I currently have email newsletter subscribe form, that doesn't have a password field, still it's being valida ...
Martin Kure
01/12/2014 08:40:13
No replies yet
Show produtcs with discount
Hi, Would it be possible in DW Ecom to get a list of all products that has a discount attatched to it? I was thinking, to avoid going through all products, that you could e.g. list the products within the "Discounts". But is this possible? ...
13/01/2011 15:17:04
Last post: 27/11/2014 17:13:24
Extension for Adobe Brackets editor for finding Dynamicweb Tags
For a long time I have been thinking about how to get intellisence on Dynamicweb Template Tags. The other day I did a NodeJS app which stripped templates.dynamicweb.dk for template tags, generating an array of JSON template information. This data now ...
Sten Hougaard
25/11/2014 22:51:29
Last post: 26/11/2014 07:44:55
Global:Area.ID in xslt
Hi, I'm making a breadcrumb in my xslt - so far so good. Within the xslt a have a list-tag, which should alway link to the front page of the current language layer. So far I've tried this, but without any luck. "<li><a href="Default.aspx?ID= ...
Martin Kure
22/10/2014 14:26:41
Last post: 25/11/2014 23:47:14
Extranet logout
Hi! How can you make a logout link/button that after a click logs out the user? Is it possible with a global template tag or do you have to use a module? Best regards,
Per ...
Per Ljung
19/05/2011 09:56:40
Last post: 25/11/2014 09:55:36