Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Search module - and ecom etc
I am having an issue with the search module. I have ecom integrated, and need the URL to be dynamic, regarding where the link throws you in the search. For instance, If I have a category called "actors" - this is the URL: /actors?productID=PROD1 And  ...
15/04/2011 10:05:03
Last post: 18/08/2014 13:47:02
Remote Http module global tags
Hi, I am using an the old Remote Http module. I assign the xslt perfectly and get it working, but how can I access info about the current page (tags) most importantly the authenticated user? If I can't, do you guys have a way to merge and xml with xs ...
Nuno Aguiar
12/08/2014 11:24:32
Last post: 12/08/2014 15:22:11
Razor code exposed
Hi, We are performing some security tests in Razor templates and would like to know if there's any way the Razor code is not exposed in case of error. In C# we can set the debug settings in web.config. Best Regards, Nuno ...
Nuno Aguiar
17/07/2014 11:06:20
Last post: 11/08/2014 12:15:01
Show Item Types in another Page
Hi can any one tell me why this dosnt work in a Razor template? @using System.Collections.Generic; @using Dynamicweb.Content.Items; @using Dynamicweb.Content.Items.Queries; @{ IEnumerable<Item> allItems = null; ItemManager.Initialize(); using ( ...
Kevin O''Driscoll
08/08/2014 10:30:54
Last post: 11/08/2014 12:12:19
Translate wish list
Hello, How is it intended to translate a sentence like this: "*Create_a_new_list" when creating a new list on a product with the new wish list functionality? The sentence is located in this tag: <!--@Ecom:CustomerCenter.List.Select--> Best rega ...
Anders Ebdrup
29/07/2014 10:39:42
Last post: 11/08/2014 10:07:58
Ecom dropdown menu
Hi! When building an dropdown menu based on eCom groups, sometimes we want to show group images in the dropdown. We really want to use images, with the same name as the group number, but the problem is, that group number is not being outputtet in the ...
Martin Gammelholm
07/08/2014 10:34:17
Last post: 08/08/2014 16:27:48
Detect statuscode 404 in template
Hi DW, I'm trying to detect whether a given page returned 404 statuscode or not. I want to do this to send a different tracking code to Google Analytics when the page wasn't found. I'm doing this which works fine: <!--@If(Global:Request.Url<con ...
Martin Nielsen
23/07/2014 09:11:52
Last post: 08/08/2014 15:56:42
Loop OrderLineFields with Cart context
Hi, On the first step of a order context cart the OrderLineFields loop is always empty. Does anyone had the same problem? Ricardo Pereira ...
Ricardo Pedra
02/07/2014 16:53:34
Last post: 08/08/2014 15:29:59
eCom breadcrumb - why wont it work?
Hi! I have set up a breadcrumb for my shop, but it doesn't show the whole path, only the page name. I can see it's working on SolutionSet, and have copied the breadcrumb.xslt + the markup from master, but I must be missing a checkbox somewhere in the ...
Martin Gammelholm
05/08/2014 19:52:15
Last post: 06/08/2014 09:35:44
List items in navigation
Is there an easy way to list items in the navigation or am I forced to extend the NavigationProvider and implement the navigation with a custom module? ...
Kasper Skov
28/02/2014 01:13:01
Last post: 01/08/2014 14:48:04
Problem rendering mobile paragraphs on a computer
Hi there, I am trying to test a mobile layout on my desktop computer to see if the rendered code is correct. I have managed to change the layout of the page using ?LayoutTemplate=pathToDesign - but the problem occurs on paragraph level where I use Gl ...
Sonni Tost
01/08/2014 11:30:42
Last post: 01/08/2014 11:57:12
Make Visual Studio recognize DW methodes
Hi, The only valid path to code in Razor if you want proper development features like intellisense I guess is to use Microsoft Visual Studio. I am editing a .CSHTML template and look closely at the "Error list" area of VS, also on errors in ...
Sten Hougaard
23/10/2013 10:20:17
Last post: 30/07/2014 14:22:36
Razor SQL Injections
Hi, I've read Mikkel's answer on http://developer.dynamicweb-cms.com/forum/templates/razor-templates-connect-to-database.aspx and was wondering if the Dynamicweb.Database.SqlEscapeInjection() method was as effective as the SQL command. Sometimes we w ...
Nuno Aguiar
17/07/2014 13:07:33
Last post: 18/07/2014 12:47:45
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