Developer forum
Subject
                    Replies
                    Started by
                    Last reply
                
                                                        Can't insert global element
                                  
                                        
                                            
                                        
                                
                            
                        Hi Dynamicweb, I cannot insert a global element with a item-allowed string formatted with spaces: @Model.Placeholder("Hero", "Hero", "items-allowed: HeroRibbonItem, HeroWithTextRibbonItem; unwrap:true") But it works when formatted like this: @Model.P ...
                        
                            Rasmus Andersen
                            
                        
                        12/12/2017 11:23:33
                        
                                    Last post: 12/12/2017 20:02:04
                                
                        
                                
                                    
                                
                                                        Content placeholder
                                  
                                        
                                            
                                        
                                
                            
                        Hi, In DW9, how do i remove the content placeholder tag from the output, to create a clean JSON output from the page <div class="row dwcontent" id="maincontent" title="Content area"></div> BR Thomas ...
                        
                            Thomas Larsen
                            
                        
                        04/12/2017 17:21:09
                        
                                    Last post: 05/12/2017 16:46:02
                                
                        
                                                        Loop eCom:Related.MostPopularProducts
                                  
                                        
                                            
                                        
                                
                            
                        On my site www.bolind.dk I use the loop "eCom:Related.MostPopularProducts" (frontpage), but it seems like it's only returning up to 10 items. In this case it's unfortunately, cause we strip/hide some of the items (accessories), which ends up returnin ...
                        
                            Arild Garde
                            
                        
                        30/11/2017 09:02:48
                        
                                    Last post: 30/11/2017 12:46:40
                                
                        
                                                        Dynamicweb.Ecommerce.Common.Context.Cart.Price not updated after cart step update
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I've taken over this code which is meant to be part of rendering a mini cart @{ double quantity = 0; var price = new PriceInfo(); if (!isCartEmpty) { quantity = Dynamicweb.Ecommerce.Common.Context.Cart.OrderLines.CountOnlyProducts; price = Dynami ...
                        
                            Jacob Storgaard Jensen
                            
                        
                        20/11/2017 17:03:34
                        
                                    Last post: 28/11/2017 10:56:24
                                
                         10
                                    
                                         Subscribe
                                    
                        
                                
                                    
                                
                                                        Razor partial views and helper functions
                                  
                                        
                                            
                                        
                                
                            
                        Until now our frontenders have utilized @Include quite a bit. However I would like for them to get the most out of intellisense, which isn't optimal with @include. And due the way @include works we have encountered some issues with razor/html context ...
                        
                            Kim Pilgaard
                            
                        
                        24/10/2017 12:20:24
                        
                                    Last post: 22/11/2017 16:13:12
                                
                         29
                                    
                                         Subscribe
                                    
                        
                                                        Gallery module page turning pdf without flash?
                                  
                                        
                                            
                                        
                                
                            
                        With Flash being outfased we need an updated function for the gallery module page turning pdf without flash? Is there a new version i can download for older sites? ...
                        
                            Per Søgaard
                            
                        
                        15/02/2016 13:15:50
                        
                                    Last post: 22/11/2017 08:37:08
                                
                        
                                                        Razor: Increment 
                                  
                                        
                                            
                                        
                                
                            
                        Hi, I've got a template which is both used as an include on a normal ecom product catalog template and on product templates... What I would like to achieve is to have my wrapping element given a unique ID each time this include/template is rendered.  ...
                        
                            Jacob Storgaard Jensen
                            
                        
                        12/11/2017 14:17:45
                        
                                    Last post: 12/11/2017 20:11:04
                                
                        
                                                        Get eCom group values within Dynamicweb.Frontend.PageViewModel?
                                  
                                        
                                            
                                        
                                
                            
                        Hi guys, sorry for this question, but I'm trying to catch up on a few years of Dynamicweb coding break. I have a page template which starts like this (I have to do changes to a already built site): @using Dynamicweb.Ecommerce.Products @inherits Dynam ...
                        
                            Jacob Storgaard Jensen
                            
                        
                        08/11/2017 15:04:39
                        
                                    Last post: 08/11/2017 16:07:29
                                
                        
                                
                                    
                                
                                                        "No layout selected for website" in training-certification
                                  
                                        
                                            
                                        
                                
                            
                        I just started using dynamic web and to learn i use this guide: http://doc.dynamicweb.com/training-certification/t1-content-implementer/t1-content-implementer/1-1-pages-paragraphs-websites I'm on the step "Creating a page" where im stuck. When previe ...
                        
                            David
                            
                        
                        06/11/2017 13:18:15
                        
                                    No replies yet
                                
                        
                                                        Missing language layers
                                  
                                        
                                            
                                        
                                
                            
                        Hi everyone, I am trying to setup a site to use language layers in DW 9.4 (installed using nuget), I am not seeing the "New language" button in the websites app as in the documentation. Is this an error or am i missing something? FYI: I posted this i ...
                        
                            Rasmus Andersen
                            
                        
                        19/10/2017 18:14:16
                        
                                    Last post: 06/11/2017 09:46:03
                                
                        
                                
                                    
                                
                                                        Relative path not wanted in styles for SVG logo
                                  
                                        
                                            
                                        
                                
                            
                        I have a template with an SVG-logo, originally black, but it is going to have a "golden gradient", and in the master file I have the styles for this (see attached file) - but when the template is rendered, and I am testing the webpage live, the first ...
                        
                            Lise T. Pedersen
                            
                        
                        18/10/2017 14:42:35
                        
                                    Last post: 01/11/2017 08:57:19
                                
                        
                                                        Forms for editors - how to link files in the email template
                                  
                                        
                                            
                                        
                                
                            
                        Is there anybody who can/will help me with an exact example on an RAZOR email template to forms for editors, where an uploaded file is shown as a clickable link? Please! /Lise ...
                        
                            Lise T. Pedersen
                            
                        
                        10/10/2017 14:27:15
                        
                                    Last post: 13/10/2017 11:33:11
                                
                        
                                                        Cookie manager.
                                  
                                        
                                            
                                        
                                
                            
                        Hi all I've been looking around, but I can’t find a best practice or up to date descriptions for cookie warnings through the cookie manager (especially in Dynamicweb9). First of what does the optinlevel (1-3?) cover? What’s the difference between the ...
                        
                            Simon Nordahl
                            
                        
                        11/10/2017 09:38:54
                        
                                    Last post: 11/10/2017 13:35:19
                                
                        
                                
                                    
                                
                                                        ExtranetLogOn method with an encrypted password
                                  
                                        
                                            
                                        
                                
                            
                        Hi All, I'm trying to make an auto-login by the ExtranetLogOn method: https://doc.dynamicweb.com/api/html/ddfd9080-f65b-c03f-afd5-a0fe679e051d.htm The problem is the passwords are encrypted and that method doesn't allow encrypted passwords. Does anyo ...
                        
                            Ricardo Pereira
                            
                        
                        10/10/2017 12:27:51
                        
                                    Last post: 10/10/2017 15:35:11
                                
                        
                                                        fetch modified/edit timestamp on image in razor
                                  
                                        
                                            
                                        
                                
                            
                        Hi I have a razor template where i loop through images of a given folder, and publish it to a JSON feed. I wonder if it would be possible to fetch the timestamp of the image file (the time when the file was last edited) in the loop. Anyone know if th ...
                        
                            Hans Ravnsfjall
                            
                        
                        05/10/2017 23:07:28
                        
                                    Last post: 05/10/2017 23:15:28
                                
                        
                                                        Cart: a tag for orderline discount (true-false)?
                                  
                                        
                                            
                                        
                                
                            
                        Hi, Is there a tag for each orderline we can use to ccheck if there is a discount applied to this orderline or not? Something like "Orderline.HasDiscount" = true/false Or maybe an orderline tag that only renders a value, or a value different from 0,  ...
                        
                            Jens Jakob Kristensen
                            
                        
                        18/09/2017 16:02:24
                        
                                    Last post: 04/10/2017 16:24:52
                                
                        
                                
                                    
                                
                                                        where did "lastitem" go?
                                  
                                        
                                            
                                        
                                
                            
                        I have a dropdown-navigation, based on the DwddDropdown template. And it works perfect, except that the li class on last item isn't outputting "lastitem" - and I need this for some other functions to work. I have tried to use other (standard) navigat ...
                        
                            Lise T. Pedersen
                            
                        
                        02/10/2017 15:46:32
                        
                                    Last post: 03/10/2017 12:39:20
                                
                        
                                                        Performance issue with navigations.
                                  
                                        
                                            
                                        
                                
                            
                        Hi We've build a solution with multiple navigations visible on the productlist pages. It's especially the ecom groups navigation that takes its toll. We have the following ecom navigations active on our productlist (each rendered separately). Sidebar ...
                        
                            Simon Nordahl
                            
                        
                        19/09/2017 15:48:41
                        
                                    Last post: 20/09/2017 17:21:53
                                
                        
                            Lise T. Pedersen
                            
                        
                        15/09/2017 15:20:23
                        
                                    Last post: 19/09/2017 11:29:49
                                
                        
                                
                                    
                                
                                                        Forms for editors - not active fields is still outputted in receipt
                                  
                                        
                                            
                                        
                                
                            
                        In forms for editors I have a form which is used for subscription for some meetings, one each month over the year. And when the meetings is over, we are deactivating the checkbox field for this. (We use the same form every year, therefore it's a kind ...
                        
                            Lise T. Pedersen
                            
                        
                        13/09/2017 09:28:59
                        
                                    Last post: 15/09/2017 15:11:15