Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Loop through checkbox list
In my website settings I've created an item field with type Checkbox List. But I haven't been able to output the value of each checkbox nor find anything in the manual describing this. Nothing relevant shows up with DwTemplateTags, I can just see the ...
Martin Christensen
29/05/2015 16:29:06
Last post: 01/06/2015 14:14:37
Font-Face Woff2 file fails to load
hi guys, Question, http://screencast.com/t/xVRQwFNzQw Looks like Woff2 file is failing to load, I tryed to google what can be done/fixed found some info related to MIME type, but not sure to what I should set this MIMEtype if that is an issue. /Dmitr ...
Dmitrij Jazel
22/05/2015 13:14:21
Last post: 29/10/2015 09:03:26
Shipping Providers
Hi Guys I would like to use the new Shipping Providers, but i cannot find any dokumentation or standard templates any where. Does anyone know what webservices are available for searching PostDanmark ServicePoint or GLS, and maybe even how to use them ...
Jesper Holm Damgaard
20/05/2015 12:53:47
Last post: 27/11/2015 16:36:10
Razor Ecom Navigation
Here is an example of Razor Ecom Navigation as well. Hopefully it is usefull for anyone else. ...
Martin Grønbekk Moen
19/05/2015 19:51:46
Last post: 21/05/2015 11:29:37
Razor navigation peer review
I wanted to have Razor navigation, and I could not find any example code for it, so I created my own. Would be nice to have some peer review on the code to see if this is a approach worth taking to razor navigation. Feel free to comment on the code. ...
Martin Grønbekk Moen
19/05/2015 00:03:03
Last post: 20/05/2015 09:13:21
Item Publisher Edit Form
Is it possible to change the code for this: <!--@ItemPublisher:Edit.Form--> I need to adjust the HTML of the edit form, but I cant find this code anywhere. ...
Martin Grønbekk Moen
16/05/2015 19:43:34
Last post: 19/05/2015 14:58:30
Razor Get items (paragraph) from a item page
Hi guys, I'm tring to get with the API all the paragraph items from a item page, using the GetByParentPageId from the Items.Queries.StorageManager but the "Count" it always give me 0. This method only retrive page items under that page or it should a ...
António Ramos
14/05/2015 17:41:06
No replies yet
RE: Forms for editors template example
Hi, Is there a razor file that contains a full and perfect example, of how a template can look with forms for editors? //jan ...
Jan Sangill
12/05/2015 09:00:38
Last post: 13/05/2015 15:11:57
Smart search inside ecom-groups
Hello, How can I display some "smart search"-groups together with regular ecom-groups? I have a page with ecom-navigation attached and on the same navigation level I need to display a link to a "smart search"-group. Best regards, Anders ...
Anders Ebdrup
11/05/2015 21:52:14
Last post: 12/05/2015 05:32:08
Loop itemslist in website settings
Hi, I have an ItemList in my Website Settings item called "SocialaMedier". I am trying to loop through that itemlist in a module template. I'm trying with something like: @foreach (var sm in GetLoop("Item.Area.SocialaMedier")) { @sm.GetValue("Item.Ar ...
Aki Ruuskanen
04/05/2015 13:46:39
Last post: 04/05/2015 16:18:11
Navigation: When reached endlevel - show currentlevel pages
Hi.. I have a sitemap looking like this: Page A - Subpage A1 - Sub-subpage A1 - Sub-subpage A2 - Subpage A2 Page B - Etc. Now I have a left sidebar navigation that only show the current page's children. For example when I'm in Page A - I only get "Su ...
Lars Pham
04/05/2015 11:13:07
Last post: 12/06/2015 11:09:40
User creation and ajax
Hi, does anyone have any experience with adding some asynchronous functionality to forms, ie. user creation? In the example below I attempt to make a form that allows visitors to sign up for a newsletter. They're simply added to a specific user group ...
Martin Christensen
28/04/2015 16:21:55
Last post: 28/04/2015 18:09:59
@RenderItemList and filtering
Hi On a website (http://www.vildmedand.dk/da-DK/Opskrifter.aspx) I have two page items - category and recipe. Each recipe can belong in more then one category. The categories a recipe belongs to is controlled by a checkbox list generated from the cat ...
Thomas Clausen
28/04/2015 10:18:30
Last post: 28/04/2015 12:54:33
Shared / fallback design
Hi, We're planning to develop our own "wrap" and are searching for some best practices. We'd like to have a default template with the master page, content pages, paragraphs, item types, less/css, javascript, etc and the possibility to easily overrule ...
Roy
24/04/2015 15:10:23
Last post: 29/04/2015 09:42:35
Alternative to PrinterFriendly tag
Hello, I've got a job to do, finding an alternative for the PrinterFriendly tag, used by the old Stylesheet method. After we've upgraded one of our solutions, based on the old stylesheet, the PrinterFriendly tag is not workin anymore. I think it got  ...
Martin Gammelholm
24/04/2015 13:16:36
Last post: 15/06/2017 12:06:22
Navigation with razor - example and documentation
I'm looking for some documentaion and an example of how to create a navigation with razor, instead of xslt? Been looking on GitHub, but could not find any examples of how to create a navation with razor, with some documentaion on how to do it. Is thi ...
Martin Kristensen
22/04/2015 13:36:48
Last post: 15/02/2019 13:20:57
Translate tags are not processed
Hello. I am using a template to create the body for an email, but unfortunately the translate tags are not being processed, so the email looks a bit rubish. This is what is being done: Area currentArea = Area.GetAreaById(areaId); var bodyTemplate = n ...
Marco Santos
22/04/2015 10:30:22
Last post: 23/04/2015 12:54:25
Itempublisher filter
Hi, I have an itempublisher, where I would like to filter the items. I create a rule based on { "Tags" is equal to VALUE}. However VALUE seems to be a string value, and I would like to use this filter: {"Tags" contains VALUE}. This filter doesn't exi ...
Martin Kure
21/04/2015 10:20:37
Last post: 22/04/2015 09:51:26
Itempublisher filter
Hi, I have an itempublisher, where I would like to filter the items. I create a rule based on { "Tags" is equal to VALUE}. However VALUE seems to be a string value, and I would like to use this filter: {"Tags" contains VALUE}. This filter doesn't exi ...
Martin Kure
21/04/2015 10:20:35
Last post: 22/04/2015 09:50:57
Itempublisher filter
Hi, I have an itempublisher, where I would like to filter the items. I create a rule based on { "Tags" is equal to VALUE}. However VALUE seems to be a string value, and I would like to use this filter: {"Tags" contains VALUE}. This filter doesn't exi ...
Martin Kure
21/04/2015 10:20:34
Last post: 22/04/2015 09:50:47