Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
RE: xslt and breadcrumb microdata
Hi, In this case: <a itemprop="url" > <xsl:attribute name="href"> <xsl:value-of select="@FriendlyHref" disable-output-escaping="yes"/> </xsl:attribute> <xsl:value-of select="@MenuText" disable-output-escaping="yes"/> < ...
Jan Sangill
16/07/2014 09:21:14
Last post: 16/07/2014 11:40:40
RE: new content type pages with Razor issue
Hey dynamicweb, I upgraded to version 8.4.1.6 because I want to be able to output javascript from razor template but I have an issue. I created a new page and set the content-type to be text/javascript. The template looks like this: <!--@If(1 = 2) ...
Davor Zlotrg
14/07/2014 16:12:52
Last post: 15/07/2014 08:50:29
Testing abandoned cart
Hi, I am implementing an abandoned cart function on a website, and the only way to test it is to add products to a cart, leave the site and wait for 1/2 hour. Not perfect. Is there a way of testing the abandoned cart function in a one-click way? Perh ...
Sten Hougaard
09/07/2014 15:53:07
Last post: 09/07/2014 16:18:49
Description meta tags
Hi DynamicWeb, I am trying to render meta tags for description, keywords in my Master. I would like to pull existing data from page properties from Admin. First issue that I confronted is that when I put description meta tag in head section like belo ...
Davor Zlotrg
07/07/2014 15:35:17
Last post: 08/07/2014 13:09:04
Standard rss feed without the author
I would like to not include the author in the rss feed. It includes the logged in editors name automatically and changing the different tempaltes in the RSS folder does not seems to change the output. Where/which template should i change and what? ht ...
Per Søgaard
02/07/2014 10:27:26
Last post: 04/07/2014 14:50:04
CurrentUser's email empty
Hi, Using 8.4.1.3 we noticed the Email for the current user is always empty. Can anyone check if this is a bug? Both in Razor and Dw tags @Dynamicweb.Frontend.PageView.Current().User.Email <!--@Global:Extranet.Email--> Best Regards, Nuno ...
Nuno Aguiar
05/06/2014 10:42:07
Last post: 03/07/2014 14:28:07
Search filters
Hi, In search filters, i need to only show filters that have products assigned with. Eg. Do not show color "Black" if there are no products with the color "Black". How can I do this? ...
Ricardo Pedra
02/07/2014 13:04:52
Last post: 03/07/2014 10:34:10
Sort loop in razor
Hi, How can I sort a loop filter alphabetically in razor? My code: <fieldset> <legend><!--@Translate(WL_str_material, "Material")-->:</legend> <div class="hide"> @foreach (LoopItem i in GetLoop("Ecom:Filters.ProductField ...
Ricardo Pedra
01/07/2014 11:30:47
Last post: 01/07/2014 11:45:27
Getting loop index
Hi there. Say i have a content placeholder <div class="dwcontent" title="Slide" id="slider" settings="template:slide.cshtml"></div> How would i get the current loop index in the template file specified in the "settings" attribute - so tha ...
Jonas Mersholm
01/07/2014 09:06:19
Last post: 01/07/2014 09:37:40
Gallery module
Hi, Did anyone manage to develop templates for the Gallery module to handle multiple flipbooks in the same page? Basically have the module multiple times in the same page. Regards, Nuno ...
07/03/2011 15:54:52
Last post: 30/06/2014 14:49:31
Display all user groups - also when a certain groups is clicked
Hi people I need to create a navigation with all user groups under a specific folder. I get the groups displayed just fine, using the standard templates, but the problem is, that when i enter a group (to view its users) i loose the option to display  ...
Rune Skovbo
26/06/2014 11:43:58
Last post: 27/06/2014 15:31:19
The Label of static items in options loop
Hi, I need to get the label of a option value in this loop: <!--@LoopStart(ItemPublisher:Item.Fields)--> <!--@If(ItemPublisher:Item.Field.SystemName=='RegionsNew')-->RegionsNew:"<!--@ItemPublisher:Item.Field.Value-->",<!--@EndIf- ...
Sten Hougaard
27/06/2014 14:18:47
Last post: 27/06/2014 15:08:29
How to use Dynamicweb Format Tag Extention?
Hi, I wonder how to use the Format extension in Dynamicweb? I have had no luck using it... I guess that it would take some string in the format which Microsoft uses when formatting content? How would I say use it to format a price to Danish standard  ...
Sten Hougaard
15/01/2014 11:18:15
Last post: 27/06/2014 12:57:38
DwNavigation, but in Razor
Hello, In HTML templates we had the ability to write something like this: <ul class="dwnavigation" id="mainNavigation"> // This comment will be shown in the output <!--@DwNavigation--> </ul> - The smart thing about this, was to put  ...
Daniel Williams
20/06/2014 12:42:22
Last post: 27/06/2014 09:52:22
Problem with shortcut and menu xslt
I have an IE problem with shortcut that redirects and then create a 404 error. Is it possible to grab the shortcut in the template manually and then create a direct adress to the place where you want it to go? ...
Nikolai Kokholm
26/06/2014 08:00:30
Last post: 26/06/2014 11:22:16
Mangler EmptyLoop i datapublisher?
Hej Jeg får ikke kørt Emptyloop på mine item publish lister når der ikke er udfald. Jeg bruger parameter styret filtering. <!--@LoopStart(ItemPublisher:Items.List)--> <!--@EmptyLoopStart-->No items in this loop <!--@EmptyLoopEnd-->  ...
Sten Hougaard
25/06/2014 14:36:23
Last post: 25/06/2014 15:39:37
Razor - Get array of pages
Hi. I want to implement a list of recently published news on my site. To do this I need an array (or dictionary) with key as url and value as creation date. Can anybody suggest some workaround. Thank you in advance. ...
Denys Ubizskyy
24/06/2014 18:10:04
Last post: 25/06/2014 13:23:26
ecommerce custom TITLE tags
Is it possible to control the META TITLE tags in ecommerce, with ie: shopname | productgroup | product and then shown as: <meta title = "minshop | solbriller | rayban ... and then switch them around as you please ? ...
Peter Bille Larsen
29/06/2011 20:58:57
Last post: 24/06/2014 21:25:58
Display item page with old template based layout
Hello guys, How can I specify a page template for outputting an item based page with the old template based layout? Right now when accessing an item page nothing is outputted... Best regards, Anders ...
Anders Ebdrup
22/06/2014 12:13:08
Last post: 23/06/2014 23:41:48
Itempublisher filter by querystring using @Request("RegionsNew")
Hi, I do not get my items filtered when I try to filter using querysting like @Request("RegionsNew") I have added a filter where a condition have been added "Regions New" er lig med @Request("RegionsNew") The result is that the page never shows anyth ...
Sten Hougaard
19/06/2014 11:57:28
Last post: 19/06/2014 16:42:29