Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Delay in Item values being pulled from the database.
Hi, I have some items which have drop down fields which simply get their values from database tables. Now there is a section in the site where the users update these values. When I update them, they do not appear in the Item field. I have to go in th ...
Yasharth Tahiliani
07/07/2015 12:11:46
Last post: 13/07/2015 13:11:46
ItemCreator - itemlist
Hi, I have one item (item A) with an itemlist containing other items (item B). Is it somehow possible, via ItemCreator, to create new instances of Item B in the itemlist on Item A? ...
Rene Poulsen
07/07/2015 15:14:12
Last post: 07/07/2015 17:04:48
template.TagExists & template.LoopExists
Hi guys, I just upgraded a project to the latest core and now a huge performance issue occurred. We used some template extenders in which we used template.TagExists and template.LoopExists to add tags or call functionalitity only when it is desired.  ...
Peter Leleulya
06/07/2015 14:08:48
Last post: 06/07/2015 15:27:34
login attempt fail - error message
Hi all, I am trying to use Extranet login. For now, if someone types in wrong username or password nothing happens. Does DW has a possibility to show this error message or we have to think of some sort of work-around? //Regards ...
Espen Thorvaldsen
07/06/2013 15:24:20
Last post: 06/07/2015 15:03:02
Email marketing Template
Hi guys, I am playing arround with Email marketing templates. And I have 2 questions: 1) In the email, I am getting "click here to unsubscribe" link. But that is not setted up in my markup, it comes from somwhere else, was wondereng where that place  ...
Dmitrij Jazel
01/07/2015 15:35:03
Last post: 01/07/2015 16:17:36
Get Item Page URL.
Hi, How may I get the Page URL in a Razor template? I use @GetValue("DwPageName") to get the Page Name. Just need to access the Page URL. Thanks & Regards, Yash. ...
Yasharth Tahiliani
29/06/2015 18:34:28
Last post: 29/06/2015 20:56:22
Dynamically setting value of a text box in Razor.
Hi, I have a Forms For Editors Form and I output the form fields using the following Razor markup: <div class="form-input required textarea"> <label for="enquiry">@GetString("Form.Field.Yourenquirycomments.Name")</label> <div cla ...
Yasharth Tahiliani
26/06/2015 18:22:20
Last post: 29/06/2015 14:14:19
Query String in Razor
Hi, Is there a way to get the query string value within a Dynamic Web Razor template? I am trying the following : @{ string brochureName = @Request.QueryString["brochureName"]; } but it isn't working. ...
Yasharth Tahiliani
26/06/2015 17:56:57
Last post: 26/06/2015 18:19:12
Form Template Loop through fields.
Hi, I am trying to create a generic template for User generated forms using the forms for editors module within Dynamic Web. I want to be able to loop through each field within the form and attach some div elements around it. <div class="row">  ...
Yasharth Tahiliani
24/06/2015 14:01:03
Last post: 24/06/2015 14:07:14
Page Item Type ID
Hi, I have these pages in my website that are items of a particular type. Now, is there a way in the Razor template to get the ID of the Item Type of these pages. I am using Dynamicweb.Frontend.PageView.Current().Page.get_Value("PageId").ToString();  ...
Yasharth Tahiliani
22/06/2015 10:44:09
Last post: 22/06/2015 10:51:52
Razor grouping
Hi guys, I've tried to search the forums to find a way to group items, but with no luck... so here it goes: I've got a bunch of Items (Paragraph items) which are employees at a company. I would like to group these by department, which is a field set  ...
Jacob Storgaard Jensen
16/06/2015 18:16:55
Last post: 22/06/2015 08:58:47
[Razor] Using a concatenated variable with GetString
Hello, I have several group fields which are numbered, so to avoid writing 20 times the same html code, I wanted to do a for loop : @for (int i = 1; i <= 10; i++) { tagName = "Ecom:Group:Field.Picture" + i.ToString() + ".Value.Clean"; if (!string. ...
Gaetan Di Caro
17/06/2015 15:00:37
Last post: 18/06/2015 10:58:33
Check if paragraph is active
I currently use the code below to count the number of paragraphs in a certain area (in this case my "suppliers" area). int adverts = Paragraph.GetParagraphsByPageID(PageView.Current().Page.ID).FindAll(par => "suppliers".Equals(par.Container) & ...
Michael Nielsen
15/06/2015 15:55:51
Last post: 15/06/2015 16:00:02
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
Gallery pdf flipbook templates with turn.js?
Is there anyone in this forum, who has implemented for example the turn.js (http://www.turnjs.com) script with the gallery templates, in order to show a pdf without flash? Other templates/solutions with another free-licensed pageturn-function is also ...
Lise T. Pedersen
10/06/2015 14:11:00
No replies yet
Page item in xslt navigation
Hi. How would i use page item attributes in a XSLT template? Lets say i have a page-item called link, with basic functionality like: Href, Target, Alt and text. How would i get those properties in the XSLT? Ive tried stuff like: select="@Link.Link" s ...
Jonas Mersholm
08/06/2015 15:47:03
Last post: 10/06/2015 05:18:50
Geolocation in User Management
I cannot see that the GeoiLocation information is available in the Extranet/Intranet module for a user? Can this be solved in some way? Regards / Aki ...
Aki Ruuskanen
02/06/2015 09:02:24
Last post: 08/06/2015 13:58:55
Sort in rss-feed depending on news category
Hi, I have a page with the news-module, and the rss-function checked. The newsmodule takes news from all existing categories. I would like to link the rss-feed-page in a way, where I can sort in the categories displayed. Is there a way to add a param ...
Martin Kure
03/06/2015 14:29:26
Last post: 08/06/2015 13:58:01
Item types in navigation
Hi We are using quite a lot of item types for a client. One of them is setup for the client to use to build mega-dropdown-menus with multiple columns. The idea is, that the client can select to have up to 3 columns in a dropdownmenu instead of a trad ...
Bo Dudek
24/03/2015 11:47:32
Last post: 08/06/2015 09:52:54
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