Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Parsing JSON in Razor
Hi guys, I'm new to all this Razor, and would appreciate any help on this problem i'm having: I would like to retrieve the thumnail_url value from this JSON string output by this URL (Or similar): https://vimeo.com/api/oembed.json?url=https%3A//vimeo ...
Jacob Storgaard Jensen
17/03/2015 09:18:17
Last post: 19/05/2015 08:33:26
Dynamicweb.Frontend.Page.get_Value()
Are there any lists of which keys that are available in Dynamicweb.Frontend.Page.get_Value()? All I know is this one get_Value("pagemenutext") but there should be a list of all available keys. ...
Martin Grønbekk Moen
18/05/2015 22:42:05
Last post: 18/05/2015 23:28:49
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
Newsletter templates - tags for online/mail versions?
Hey, in a newsletter template I have a link to the online version of the newsletter in question, ie. "view in browser". However, I don't want the online version to include certain elements - like the link to view the online version :) Are there any t ...
Martin Christensen
08/05/2015 15:43:09
Last post: 08/05/2015 16:08:23
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
Paragraph templates issue after upgrade to 8.5.1.19
Hi DW, After upgrading to version 8.5.1.19 i have issues with templates for my paragraphs. The paragraphs which had template selected from global "/Paragraph" folder disapeared from list of templates after upgrade. Everything works fine until I make  ...
Davor Zlotrg
30/04/2015 11:13:37
No replies yet
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
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
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
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:33
Last post: 22/04/2015 09:50:28
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: 21/04/2015 10:55:59
Razor login error
Hi, We are trying to perform a login in Razor but get an error. The login is performed, but we always get the error. Does anyone have any idea on how to solve this? We are using 8.4.1.3 Code: if(str_password == obj_dataSet.Tables[0].Rows[0]["AccessUs ...
Nuno Aguiar
23/05/2014 11:24:40
Last post: 15/04/2015 10:40:17
Extranet user group - list of info
I need to make a list of departments with address, contact info etc. - The same groups I use for the employees. Can I make a list of (selected) Extranet user groups info from user management? ...
Per Søgaard
14/04/2015 15:58:09
Last post: 14/04/2015 20:27:37
ProductList Loop in Loop
i have af productlist where i need to get access to the product.prices loop, unfortunateley it seems like im only able to get this on the product template and not the productlist. it is available i templatetags. The example below always shows 0 at i. ...
Keld Gøtterup
13/04/2015 13:00:05
Last post: 14/04/2015 03:43:07
*.Contains(value) within search module
Hey, I want to use a conditional within the searchv1 module in the element template. I would like to use this conditional: <!--@If(DwSearchResultSummary.Contains(value))--> I've done some testing: This conditionals works: <!--@If(DwSearchRes ...
Martin Christensen
10/04/2015 09:29:01
Last post: 10/04/2015 10:39:32