Developer forum
Subject
                    Replies
                    Started by
                    Last reply
                
                                                        Products in different colours and with translated names...
                                  
                                        
                                            
                                        
                                
                            
                        I have a number of products, created with items. Each product is available in some different colours - the colours is created as a checkbox list in the item. But now the problem starts, because the template should be used for three different language ...
                        
                            Lise T. Pedersen
                            
                        
                        30/03/2016 13:29:10
                        
                                    Last post: 28/06/2016 09:49:31
                                
                        
                                                        Switching currency
                                  
                                        
                                            
                                        
                                
                            
                        I'm working on an international shop, and the client wants the user to be able to switch between different currencies on the go. For example, on the products and the cart on their Scandinavian site, they would like to change between NOK, DKK and SEK  ...
                        
                            Nikki Strømsnes
                            
                        
                        21/02/2012 10:58:49
                        
                                    Last post: 27/06/2016 15:48:06
                                
                         11
                                    
                                         Subscribe
                                    
                        
                                                        Trying to understand Razor...
                                  
                                        
                                            
                                        
                                
                            
                        I have translated a hmtl to a racor template, and is now trying to "rebuild" the if-sentences in my template. But I have this, starting in line 6: @if (GetValue("ParagraphContainerSort") > "0") { <div class="product__body" style="display:block; ...
                        
                            Lise T. Pedersen
                            
                        
                        23/06/2016 15:51:52
                        
                                    Last post: 24/06/2016 14:01:14
                                
                        
                                                        Include/IncludeFile inside item template
                                  
                                        
                                            
                                        
                                
                            
                        So I'm wondering if this is even possible. I have a wish that goes something like this. My general thought is to use items for all that it is worth, and I would also like to reuse items inside other items.
I have three items, and the are setup like t ...
                        
                            Martin Grønbekk Moen
                            
                        
                        23/06/2016 10:14:06
                        
                                    Last post: 23/06/2016 14:25:22
                                
                        
                                
                                    
                                
                                                        Show only product groups with "Show in menu" checked
                                  
                                        
                                            
                                        
                                
                            
                        Hello, I have a paragraph with Product Catalog module that shows groups by default. I want to show only those groups that have "Show in menu" checkbox checked in group details. I try to use following razor template: @foreach (LoopItem item in GetLoop ...
                        
                            Andrey Kozachuk
                            
                        
                        22/06/2016 13:04:42
                        
                                    Last post: 22/06/2016 15:30:10
                                
                        
                                                        Set template title/description in razor template
                                  
                                        
                                            
                                        
                                
                            
                        When writing Dynamicweb templates using the html-template syntax it is possible to use the Title and Description (Layout.Title, Layout.Description) tags to modify the title/description shown in the dropdown when picking the template from the backend. ...
                        
                            Kim Pilgaard
                            
                        
                        11/05/2016 11:42:34
                        
                                    Last post: 15/06/2016 14:05:03
                                
                        
                                
                                    
                                
                                                        Improove DataList with XML publication
                                  
                                        
                                            
                                        
                                
                            
                        Hi... I need to have one export like this <?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" omit-xml-declaration="yes" indent="yes" encoding= ...
                        
                            George Nelzo Pereira
                            
                        
                        13/04/2016 21:19:01
                        
                                    Last post: 06/06/2016 14:20:28
                                
                        
                                
                                    
                                
                                                        Forms for editors - switch of label and checkbox
                                  
                                        
                                            
                                        
                                
                            
                        In the defaultform.cshtml template, I would like the labels for the checkboxes to be switched, so the labels are placed at the right side (like in the old standard form) - but I am not sure how to do it, and hope to get some help here... My forms exa ...
                        
                            Lise T. Pedersen
                            
                        
                        06/06/2016 09:51:19
                        
                                    Last post: 06/06/2016 12:50:39
                                
                        
                                
                                    
                                
                                                        New indexing and eCom templates
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I'm quite new to the new indexing and I'm currently working on a solution on version 8.7.2.5. I want use the index and its facets to filter the products in the frontend. If i read the documentation it says: "To add facets to a template, use the F ...
                        
                            René Poulsen
                            
                        
                        24/05/2016 12:36:16
                        
                                    Last post: 06/06/2016 11:58:26
                                
                        
                                                        RE: 
                                  
                                        
                                            
                                        
                                
                            
                        Hej, I en varegruppe liste, giver denne ikke en liste over variant muligheder på hver vare i gruppen, men en liste over samtlige variant muligheder i alle variant grupper. Er det ikke en fejl? <!--@LoopStart(Products)--> <!--@LoopStart(Varia ...
                        
                            Peter Munkholm
                            
                        
                        03/06/2016 08:19:54
                        
                                    Last post: 06/06/2016 04:30:19
                                
                        
                                                        how to remove or replace e-mailtags for online viewing?
                                  
                                        
                                            
                                        
                                
                            
                        Hello, For newsletters, we like to use one template to be used for the e-mail and for viewing online. So the recipient receives the newsletter; On top there is "view this newsletter online" with a link to the page (which is the same page as the newsl ...
                        
                            Ton Martens
                            
                        
                        24/05/2016 12:32:47
                        
                                    Last post: 24/05/2016 16:31:10
                                
                        
                                
                                    
                                
                                                        Forms for editors - templatetags how?
                                  
                                        
                                            
                                        
                                
                            
                        How do I get the templatetags for "Forms for editors" - I have a form, where I have uset the "brødtekst" element in the form - and I don't want this element to be outputted in the receipt, the customer is receiving. But I am not sure how to get the t ...
                        
                            Lise T. Pedersen
                            
                        
                        20/05/2016 12:10:44
                        
                                    Last post: 24/05/2016 10:53:31
                                
                        
                                
                                    
                                
                                                        Set Browser Cache images
                                  
                                        
                                            
                                        
                                
                            
                        Is it possible to specify the cache expiration date of af folder of images? (I do not have access to the solutions IIS) If this has been addressed already im sorry, but the search didn't return anything. ...
                        
                            Michael Houmark
                            
                        
                        02/01/2015 09:41:33
                        
                                    Last post: 30/03/2016 12:02:43
                                
                        
                                                        Template translation function
                                  
                                        
                                            
                                        
                                
                            
                        In my Newsletter v3 module I'm using a xslt template to edit newsletter recipients (NewsletterRecipientEdit.xslt). I would like to use the template translation function, but I can't just use the tag @Translate(File name, "Filnavn") in a xsl ...
                        10/09/2010 12:45:25
                        
                                    Last post: 23/03/2016 17:15:08
                                
                         13
                                    
                                         Unsubscribe
                                    
                        
                                
                                    
                                
                                                        Add to cart multiple times the same product at once
                                  
                                        
                                            
                                        
                                
                            
                        Hello, I have a product which has an orderlinefield for selecting a length. I want the customer to be able to select several quantities of several length and add them all to cart at once, but I'm struggling. It works when I only select a quantity and ...
                        
                            Gaetan Di Caro
                            
                        
                        03/03/2016 09:38:04
                        
                                    Last post: 22/03/2016 10:35:14
                                
                         11
                                    
                                         Subscribe
                                    
                        
                                
                                    
                                
                                                        Group CategoryFields
                                  
                                        
                                            
                                        
                                
                            
                        I'm trying to retrieve the value / labels of all product category fields from a product group inside a product list page. I can loop trough the category fields by calling GetLoop("GroupCategoryFields") but the values seems empty while other fields li ...
                        
                            Tymen NNM
                            
                        
                        16/03/2016 14:58:52
                        
                                    Last post: 17/03/2016 02:40:55
                                
                        
                                                        How to work with Receipt.html for ItemCreator
                                  
                                        
                                            
                                        
                                
                            
                        Hi, This is about the template templates/ItemCreator/Email/Reciept.html. It sends a receipt to the creator if the item-type. The template just consists of 2 loops, one outer loop for Item.Groups, and one inner loop for Item.Group.Fields. However, I w ...
                        
                            Ton Martens
                            
                        
                        04/03/2016 17:00:11
                        
                                    Last post: 09/03/2016 20:25:06
                                
                        
                                                        Outputting item list from user
                                  
                                        
                                            
                                        
                                
                            
                        Hi I'm using the Maps module to output a list of dealers, but besides the normal info like name, address, phone etc. they need to display a list of contact persons in their dealers sales team. To solve the problem users in a specific usergroup has th ...
                        
                            Thomas  Clausen
                            
                        
                        08/03/2016 14:03:44
                        
                                    Last post: 09/03/2016 01:21:59
                                
                        
                                
                                    
                                
                                                        DWTemplateTags() error attaching module
                                  
                                        
                                            
                                        
                                
                            
                        When adding TemplateTags() to a page, the following error is returned: An error occured while attaching module (Dynamicweb.Frontend.Content)
System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startI ...
                        
                            Terri Donahue
                            
                        
                        04/03/2016 14:31:01
                        
                                    Last post: 04/03/2016 16:57:00
                                
                        
                                
                                    
                                
                                                        Show item's Editable list and Dropbox list in a template
                                  
                                        
                                            
                                        
                                
                            
                        Hello, I have a paragraph-level item with Editable list and Dropdown list (with static options) fields and there are two questions: 1. How can I loop through Editable list in razor paragraph template? 2. How to get selected value of selected index of ...
                        
                            Andrey Kozachuk
                            
                        
                        02/03/2016 08:51:19
                        
                                    Last post: 02/03/2016 14:45:46