Developer forum
Subject
Replies
Started by
Last reply
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
15
Subscribe
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
16
Unsubscribe
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
12
Subscribe
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
Validation for "required" fields in Forms (DW7)
Hi all, I am quite new at DW, therefore this question may be basic for some.
I have built a form for my guests to fill on our website, and I'd like to make some of the fields obligatory/required. I learned from DW support that it wasn't enough to jus ...
Mads Zangenberg
09/08/2011 15:52:05
Last post: 19/06/2014 15:36:39
Position Login template
Hopefully this is an easy one! I’m trying to discover how I can control where the login template will appear when using a restricted page (a page that that requires a user to have permission to view it). My login template is working and appears on th ...
Alec Stubbs
18/06/2014 14:53:38
Last post: 19/06/2014 10:13:18
Razor output html from xml file
i have a problem where i need to output an xml file <header>overskrift</header> <content><p>this is text</p> but i cant seem to get content to output it as html. it writes the tags as it should in the cod ...
Keld Lauge Gøtterup
19/06/2014 08:49:50
Last post: 19/06/2014 09:14:59
IE8 redirect issue after addToCart()
Hi I'm adding items to the basket by linking to "/Default.aspx?ID=WebshopID&ProductID=PROD666&cartcmd=add&quantity=1" using the javascript function "addToCart()" from the solutionset. It basically builds the url and then redirects. This w ...
Kasper Skov
28/04/2014 13:34:19
Last post: 16/06/2014 10:41:35
Maps removing dots after search
Hi! One of our solutions is using the Maps module, to show stores around the country presented with a image-dot. However, when we do a search, we get zoomed into the area and all image-dots not in this area get removed. URL Do a search for "aarhus", ...
Martin Gammelholm
13/06/2014 15:09:52
Last post: 16/06/2014 09:23:42
CartV2 order email Global:Paragraph.Content
Hi, I would like to use the <!--@Global:Paragraph.Content(x)--> tag in my cart email template.
But for some reason, the tag doesn't output anything in the email. Are this tag not supported in email templates? BR
Martin ...
Martin Gammelholm
05/06/2014 09:45:55
Last post: 12/06/2014 16:28:07
News List Navigation
Hi Guys, Is it possible to mix pages navigation with news categories navigation? Xslt or otherwise? The version is 8.2.3.21 And no, it cannot be ugraded and the ItemTypes in this version are not a really good option :) Thanks, Adrian ...
Adrian Ursu
12/06/2014 11:17:27
Last post: 12/06/2014 16:17:18