Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
slideshow nav in xslt
I need to output a "button menu" for a slideshow with various number of slides - guess I have to create a variation of a navigation XSLT template for this - and hopes anyone can point me in the right direction? The code below is the original programm ...
Lise T. Pedersen
13/01/2016 16:00:02
Last post: 15/01/2016 13:47:19
Language Switcher on Frontend
Hi there, i am fairly new to DynamicWeb so the way i am doing this might be totally wrong so sorry for that. But basically what i want is to add a language switcher on my master template, i got the links to the 2 different home pages and it looks lik ...
Casper Andersen
13/01/2016 09:30:19
Last post: 15/01/2016 16:55:12
File publishing a list of items
I need to create a sort of gallery, based on a folder of pdf-files, which has to be shown as pictures. Therefore, I can't use the ordinary gallery, but need to build it with items. But I don't really understand how to get it working :-) I have create ...
Lise T. Pedersen
11/01/2016 10:51:06
Last post: 26/01/2016 10:52:07
RE: individual Shipping Fee for each product
Hi, I have a question I hope you can help me figuring out, at least if it is possible. The request: We need to have a specific shipping fee/price for each product in eCommerce. The product specific shipping fee/price should be automatically selected  ...
Jens Jakob Vedel Kristensen
08/01/2016 14:58:39
Last post: 18/01/2016 15:53:06
Empty fields in razor template
Hello, I am trying to use the 'context order renderer' module inside an email to test abandoned shopping cart functionality. The module uses a razor template based on printorder like you would use to confirm an order by mail. However, when using the  ...
Alexander van Dijk
18/12/2015 10:45:47
Last post: 28/01/2016 14:22:34
Access to Product tags from Razor template
I an razor page template I would like to access product tage on varius products. I know I can get some of the information directly from the product class How can I do that? <div> @{ foreach (var ProductID in ProductIDs) { var Product = Dynamicw ...
Thomas Larsen
01/12/2015 23:42:18
Last post: 10/12/2015 11:18:29
Getting the value from a specific field outside the FieldValues loop in a Form.Submit
I'm using the Forms for editors module. After submitting a form i want to display the data on a confirmation page in a custom design. In order to do so, i need to control where to display field values according to the design. I would have thought tha ...
Jesper Holm Damgaard
01/12/2015 10:31:50
Last post: 01/03/2016 14:57:27
XHTML end tag omitted and cannot validate with W3
Hi I'm having trouble W3 validating pages with our custom templates. Some have the response is transformed so the end tags gets removed.It does not effect the default meta-tags from the CMS like the Generator-tag or the Canonical-tag. In the module ' ...
Kenneth Christensen
26/11/2015 09:55:19
Last post: 26/11/2015 13:22:45
Item Based Image Gallery
Has anyone by chance created an item based image gallery, that is somewhat similar to the old module image gallery, and cares to share the item template? I am looking for the part that does the trick of looping the files in a folder, once you have se ...
Hans Ravnsfjall
26/11/2015 07:50:10
Last post: 30/11/2015 15:05:42
TemplateTags in Razor
Hi, I noticed that you now write out ""TemplateTags() in code ({0}). Remove before going live...". You do it no matter if its commented out or not - and I'm not able to print out the tags as I've been able to earlier. I'm on a 8.7.1.4. Is there some  ...
René Poulsen
20/11/2015 13:43:34
Last post: 04/12/2015 14:59:44
Generated key in Form.Start - onsubmit
Hey When you under management center - > Web and HTTP -> Security enable "Activate antispam funcitonality" the Form.Start in forms add a key in the onsubmit function - which I assume is used for something :) - Is there an easy way to get this k ...
Claus Kølbæk
19/11/2015 13:19:31
Last post: 20/11/2015 09:47:32
How to add Custom field to search result item?
Hi, I have added one new product field named "Season" to Product Catalog. I want to show this "Season" field value in the autocompletion list of product search. I have seen that the Product No and Product name are displaying using the following html  ...
Erik Pettersson
12/11/2015 06:18:46
Last post: 16/11/2015 12:02:59
Why doesn't custom development made for Dynamicweb 7 work on DW8 version?
Hi, after upgrading the solution to DW 8 I have this problem: comparing DW 8 test solution with my old version there is a problem in the CMS control panel as you can see from the screenshots in attach. If you look at Templates area, you can see that  ...
Giuseppina Giunta
10/11/2015 19:03:51
Last post: 16/11/2015 15:29:58
Item property is not passing from page/paragraph to include
Hi guys, Not sure if anyone eve noticed but I have an issue here. This is what I did. 1) Created an item page called Shopping cart of item type ("Shopping cart"). 2) Added paragraph, and attached module to it with Cart. 3) In the ShowCart.cshtml temp ...
Dmitrij Jazel
15/10/2015 11:31:07
Last post: 16/10/2015 15:28:05
Item template - itemlist and itemrelationlist problems
Hi, I have to create a contactpage where I have 3 levels (contactarea, office/department, employees) and some rules for the employees, so that specific employees is only shown when an office is shown under a specific business area. The structure in D ...
René Poulsen
09/10/2015 09:57:44
Last post: 30/10/2015 03:05:59
Paragraph template @GetItemObject(
Hi guys, I am trying to get an instance of my item that is saved as "item type" property on paragraph item. While I am in the paragraph template, you can call methods like @GetString("Item.stringvalue") or @GetInteger("item.intvalue") etc... But if I ...
Dmitrij Jazel
23/09/2015 09:33:04
Last post: 25/09/2015 17:26:08
Using meta tags on images outside Image gallery?
We would like to be able to use image metadata everywhere. It seems to be only working in the image gallery? How can we use it on images otside the gallery module? ...
Per Søgaard
21/09/2015 14:07:52
Last post: 05/10/2015 11:06:50
Sorting products in razor
How can I sort products the same way they are sorted in backend? Something like ... @foreach (LoopItem i in GetLoop("Products").OrderBy(p => p.Sort)) { // ... } ...
Filip Lundby
10/09/2015 15:39:11
Last post: 03/11/2015 15:08:42
Dynamicweb.Content.Paragraph - Get itemlist
Hi guys, am a bit surprised, but it's a bit tricky. What I have so far is a paragraph object: var p_list= Dynamicweb.Content.Paragraph.GetParagraphsByPageID(123); foreach(var p in p_list ){ <p>@p.ID</p> // add snipet here } What I needt t ...
Dmitrij Jazel
08/09/2015 14:52:10
Last post: 18/09/2015 16:01:34
Items - how to output selected checkboxes
Haven't worked much with items yet, and have a question: I have some products, created as items. Each product is available in different colours, which has to be shown with both the name and an icon. At first I created a Checkbox List with ALL colours ...
Lise T. Pedersen
03/09/2015 11:18:08
Last post: 03/09/2015 13:32:26