Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Search weighted
Hi! We are building a new project, where we need to devide search results in to different groups. See Screen attached. Fx. the searchresults should show groups of items as Pages and News. You get the point, when looking at the screen.. Is that possib ...
Martin Gammelholm
01/10/2014 10:25:31
Last post: 01/10/2014 10:36:50
Page template and the settings attribute
Hello, I'm having troubles getting the default paragraph template attribute working in my page template. I've been following the example in this PDF: http://developer.dynamicweb.com/Admin/Public/DWSDownload.aspx?File=Files%2fFiler%2fDocumentation%2fD ...
Martin Gammelholm
30/09/2014 09:47:21
Last post: 30/09/2014 10:48:51
razor loop through paragraph
Hi, I'm using razor and I would like to loop through paragraphs on a page - a bit like I could do with with the template tag <div class="dwcontent" id="Nyhedssliderbox" title="Nyheds Slider"> Is there a way in razor, where you can loop through  ...
Martin Kure
29/09/2014 14:23:32
Last post: 30/09/2014 10:01:34
ItemPublisher sorting not working correctly?
Hello, I am working on a 8.4.1.12 solution on which I have multiple items and therefore multipleItemPublishers. I have stumpled upon a very annoying issue. My Items are sorted in the backend (by dragging and dropping them in the right order) -> ev ...
Mikkel Toustrup Olsen
29/09/2014 15:53:42
Last post: 29/09/2014 20:06:46
filreferencer udenfor base directory er ikke tilladt
Hi, I've made an item, where you can pick an image. But whenever I pick an image and try to save it. I get following error: "filreferencer udenfor base directory er ikke tilladt" I upload the images to the root/Billeder folder. Regards Martin ...
Martin Kure
26/09/2014 12:54:12
Last post: 26/09/2014 13:49:32
Formatting order date
In my order-mail-template I would like to format the order date into MM-DD-YY. Can this be done with DW tags? Right now <!--@Ecom:Order.Date--> returns MM-DD-YYYY. I'm on DW version 8.1.2.6, so I cannot use Razor. ...
Filip Lundby
25/09/2014 13:42:45
Last post: 25/09/2014 15:52:42
Product image in xlst menu
Is it possible to get productimages or product kategori images in a xlst script so they can be shown in a menu? ...
Jim Trebbien
25/09/2014 14:26:45
Last post: 25/09/2014 15:34:47
Topmenu navigation only works for active menu item
I am building a simple menu for a site: link The problem is with the menu. I need the menu to build a list of subpages for each page. This only works for the page with the ecommererce module. On the page "Om Exodraft" the list of subpages is only bui ...
Jim Trebbien
25/09/2014 13:37:57
Last post: 25/09/2014 14:24:32
Getimage in Dynamicweb 8.5 bug
Hi, I had hoped that the getimage handler in Dynamicweb 8.5 was fixed so that browsers can start caching images, but no - not fixed yet :-( Take a look at this "matrix": The two coloums each show response headers after requesting an image twice. That ...
Sten Hougaard
24/09/2014 13:38:39
Last post: 24/09/2014 16:27:36
Define amount of letters in text
Hi and sorry for spamming you with questions, while working with items and newsletter templates I have a question: Is there a tag to determing how many letters you wanna display from them the item/list. Example: I'm using an item for people to add co ...
Martin Kure
15/09/2014 11:52:35
Last post: 24/09/2014 14:17:41
Values from page item settings
Hello, How do I get values from my page item settings? I have tried with: Pageview.Page.Item and Pageview.Item But "Item" also seems to be null. I am using v.8.4.1.3 Best regards, Anders ...
Anders Ebdrup
24/09/2014 12:28:41
Last post: 24/09/2014 12:41:29
Cache old cookiewarnings
Hi, I have a problem building cookiewarnings in old DwStylesheets. I wrap external plugins, that add cookies in this conditional: <!--@If(Global:CookieOptInLevel = "All")--> ...Content... <!--@EndIf--> So these plugins are only displayed, ...
Martin Kure
19/09/2014 10:48:36
Last post: 22/09/2014 09:10:16
Global:CookieOptInLevel
Hi, I'm trying to set a cookie warning using the standard cookiewarningSEOsafe.html. However I'm only using the acceptAll button and not divide it into functional and tracking cookies. This part works fine. But in my template i'm not only using dynam ...
Martin Kure
15/09/2014 10:14:48
Last post: 17/09/2014 08:06:20
Razor:@Translate in 8.4.1.15
Hi, I have issues with @Translate tag when used inside a Razor block of code. Consider this: In translations.xml in root of "Templates" i have defined a key: mykey = 1 @{ // Using old fashion translate int anInt = <!--@Translate(mykey, "mykeyNotTr ...
Sten Hougaard
03/09/2014 12:54:32
Last post: 12/09/2014 13:31:33
Nested loops - Item Types
Hi all, I need to know if there is any way to list first level of items and inside that loop to list second level of items just by using the template associated to the Item List (in Item publisher). Basically it is very similar with building a menu b ...
Adrian Ursu
28/10/2013 13:14:55
Last post: 12/09/2014 12:40:11
Reuse dwcontent on same page
Hi, I have a question regarding dwcontent. I'm using this div-element with the dwcontent class: <div class="dwcontent hidden-xs" id="LeftColoumn" title="Venstre kolonne" data-settings="sort:4;"></div> And I want to reuse it on the same te ...
Martin Kure
04/09/2014 12:28:24
Last post: 04/09/2014 14:19:15
Add custom classes to dwnavigation
Hi, I'm creating a navigation using dwnavigation. I've added bootstrap to the site, so I wanna add some bootstrap classes to the <ul> within the navigation. However no classes are being added to the site: I have this code in my master.html: < ...
Martin Kure
02/09/2014 11:04:22
Last post: 03/09/2014 11:17:37
Create mailreceipt in the old form module
We have a customer with a lot of old forms in the old form module, is it posible to create a custom template from the form data? It looks like !--@FormOutput-- just dumps af table, with all field of the form. And the customer would like to specify wh ...
Michael Houmark
02/09/2014 12:40:14
Last post: 02/09/2014 22:33:09
Images in razor master template
Has created an item for website propeties, works fine execpt images/files. Getting the image with GetString: <img src="@GetString("Item.Area.NORRIQ_Logo")" width="156" height="58" alt="NORRIQ - Your business simplified" /> This gives me this, w ...
Heine Virenfeldt Kristensen
02/09/2014 12:42:47
Last post: 02/09/2014 13:35:42
Maps filter button dont work
Hi, I am trying to setup a map filter and I am using the default maps templates for the maps module. I have 2 groups attached (afdelinger, steder - both of these have subgroups with geolocations applied.) and they are being shown perfectly as buttons ...
Mikkel Toustrup Olsen
20/08/2014 11:34:29
Last post: 02/09/2014 13:32:35