Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Dynamic subjectfield in forms
Hi, I need to set the subjectfield in the mail that is sent when a form i submitted (new Forms module). Is there any hidden field I can use for this purpose to overload the form setting. Example page: http://www.stewartwarner.com/Products/StewartWarn ...
Aki Ruuskanen
05/06/2014 13:24:15
Last post: 10/06/2014 16:45:24
Navigation - list subpages from current page
Hi Forum, This should be very simple - but apparently it isn't. - Current page ---- Sub page ---- Sub page - Sibling ---- Sub page - Sibling My goal is to only show the two sub pages located under the current page. I tried with this, in my template:  ...
Kim Rasmussen
21/11/2012 16:26:14
Last post: 05/06/2014 22:49:22
Dynamicweb.Extensibility.Subscribe...Crossing over from Paragraphs to Pages
Heres a thing... Ive been using Custom Tags to create output at page level using [Dynamicweb.Extensibility.Subscribe(Dynamicweb.Notifications.Standard.Page.AfterOutput)] and OnOutput All is good, and I can set some Paragraph tags at the Para level to ...
Kevin O''Driscoll
27/05/2014 17:37:07
Last post: 04/06/2014 14:07:31
Override meta description tag
Hi guys, I have paragraph items published with the item publisher module - I would like to override the meta description on the details view of each of these items. I've tried everything that I can imagine, but can't seem to get it to override it...  ...
Jacob Storgaard Jensen
02/06/2014 15:06:09
Last post: 02/06/2014 15:15:21
Remove Snippets tag after performing the "moving"
Hi guys, I'm using the snippets function to move the title of a paragraph item to the meta title tag... BUT when the snippet isn't defined I just get a <!--@Snippet(MetaTitle)--> in my title of that "page" (item publisher simulating af page). W ...
Jacob Storgaard Jensen
02/06/2014 14:18:38
Last post: 02/06/2014 15:00:04
Nordic character passing through Dynamicweb.Input.Request("param") and IE
Hi Guys, Wanted to know if someone else encountered simmilar issue. All I need to do is to ensure that string "p" is displayed correctly here. In my razor template I have a link: <a href="/Default.aspx?id=28&amp;param=Tilbehør">Tilbehør< ...
Dmitrij Jazel
30/05/2014 13:16:38
Last post: 02/06/2014 08:53:55
Razor: Website items
Hi, Im trying to get a hold on website item fields in modules razor templates - e.g. the producttemplate. But I cant get a grap of what name to use - any help? The tagname in standard templates is Item.Area.limit - and this works. I have tried with @ ...
Regin Madsen
30/05/2014 12:12:22
Last post: 30/05/2014 14:17:24
GA tracking on the shopping receipt
Hi, One of our customers would like to track traffic from the shopping cart receipt into Google Analytics. However, the receipt URL is always unique, so how can we track it using GA, anyone got any knowledge about this? BR Martin ...
Martin Gammelholm
02/05/2014 10:08:36
Last post: 29/05/2014 11:32:33
Maps module in IE8 dw version 8.4 not working - any ideas?
Hi I have tried getting the maps module to work in IE8, it was working apparently in dw version 8.2.3.17 but in later versions it stopped working. Haven't changed anything in the templates, I have no idea, and support says the only way to get it to w ...
Peter Klünder
09/04/2014 14:51:53
Last post: 28/05/2014 15:13:11
JSON template how
I'm trying to create a JSON template, but no matter what i do, it wont register it in the pages properties. Ive set the doctype of the page to application/json HOW do i manage, to make a page layout for this? <!--@Layout.Title(Forhandler siden)--& ...
Jonas Mersholm
28/05/2014 12:34:54
Last post: 28/05/2014 13:58:48
Placeholder specific paragraph templates
Hi Nicolai showed how to restrict what paragraph templates are available for dwcontent placeholders, so that editors only see relevant templates. Anybody remember how this is done? ...
Hans Ravnsfjall
13/03/2014 10:57:03
Last post: 27/05/2014 08:16:59
eCom menu
Hi, Is there any limit in how many levels that can be rendered in the menu xml? I have a menu placeholder with this setting: "template:SgEcomGroupLeftMenu2.xslt;startlevel:2;endlevel:8;expandmode:All;" But in the xml that is rendered there are only 6 ...
Aki Ruuskanen
21/05/2014 14:56:02
Last post: 26/05/2014 09:45:13
Remove All favorite products from list
Hej Guys, When you are in Customer center module > Favorite products. While looping through the list of All favorite products, I can use something like @i.GetValue("Ecom:Product.RemoveFromFavorites") in order to remove that product from favorite l ...
Dmitrij Jazel
16/05/2014 16:24:44
Last post: 21/05/2014 12:15:17
Razor redirect in frontend only
Hi, Creating a template for the login feature, we set up a redirect in Razor. System.Web.HttpContext.Current.Response.Redirect("/Default.aspx?Id=000"); The problem is that the backend is triggering it when we save the page. How can we adapt/change it ...
Nuno Aguiar
21/05/2014 11:00:37
Last post: 21/05/2014 12:08:57
How to search in both content and extranet users
I would like to search both the content of the page AND the extranet-users, shown as employees in frontend, from the same search-field. Have been told that it can be done some way on template level ... but I have no idea of where to start. I wonder i ...
Lise T. Pedersen
15/05/2014 14:47:41
Last post: 19/05/2014 00:16:56
Recommended tag for a base href in a newsletter
Hi there, What's the recommended tag to use in a <base href="..." /> element inside a newsletter to resolve paths to images? I am currently using <!--@Global:Request.Host-->. Is that the best tag? And does it get populated by the Domain s ...
Imar Spaanjaars
29/04/2014 21:49:24
Last post: 14/05/2014 12:05:03
Linked in share not including image from site
Using the Addthis tag the visitor can share a page to his linkedin page. Sometimes the share includes the image on the page and sometimes not. Must be a template thing - maybe? Does anyone know how to solve this? ...
Per Søgaard
02/05/2014 11:25:32
Last post: 09/05/2014 11:10:05
ItemPublisher:Items.List max 10 items
Hi, we are using an ItemPublisher that is using the "Select items under the following pages" option to pick items. Using this code in the list: @using Dynamicweb.Modules.UserManagement; @using Dynamicweb.Modules.Common.CustomFields; <div class="it ...
Morgan Fallbrink
30/04/2014 09:59:48
Last post: 07/05/2014 09:50:55
Language menu
Hi I have setup a language menu on a solution. When the user clicks on another language they are redirected to the equivalent page on the other lanuage. It is working great, but I have a small problem when the page does not exist on the other languag ...
Thomas Schroll
24/03/2014 15:34:23
Last post: 05/05/2014 19:51:12
Razor Foreach with Itemlist
Hi, We've got an Item value from the area. That Item (Alert types) is an Item List. How can we loop through that ItemList to match the value we need? We are actually loading all of the items from that table to match the value we need. We tried to ins ...
Nuno Aguiar
07/04/2014 12:22:10
Last post: 30/04/2014 17:15:15