Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
How can I change User CustomField value in Frontend (through templates)
Hi DW guys, I have setup some User CustomFields setted up in Management center. My question is: in DwTemplateTags I have a tag that generates a Input box for editing Phone number for a user. How do I get one like that for my User CustomField? All thi ...
Dmitrij Jazel
10/01/2014 12:50:33
Last post: 13/01/2014 07:43:37
ParagraphId from website item
Hi Dw, How is the best way to reference to a paragraph id in the website settings, where the website settings is an item? I would like to include a paragraph with this: <!--@Global:Paragraph.Content(<!--@Item.Area.Test-->)--> When using t ...
Anders Ebdrup
09/01/2014 08:53:03
Last post: 09/01/2014 17:50:47
Menu from items
I would like to make a menu out of items on a page. E.g. A list to the left, and when you click a item on the left, the detail is shown to the right. The list remains on the page while showing the detail to the right. Anyone tried that? ...
Michael Fløe Haug
09/01/2014 09:59:00
Last post: 09/01/2014 13:55:08
Razor EmailMessaging template tags
When using the new online marketing module, i have a few template tags i can use in my (Email marketing) templates(html), however, i would like to know how to retrieve these values using razor: <!--@EmailMessaging:Recipient.Id--> <!--@EmailM ...
Finn Frost
07/01/2014 13:03:36
Last post: 07/01/2014 14:52:07
Pulling dymamic content into a productlist
We need to pull different content into a list of products. This is solved with a custom groupfield and some if's. But we are running into issues with two of the designs: 1) Displaying tab-based productlists with different designs, so I have to make x ...
Martin Gammelholm
16/10/2013 21:26:54
Last post: 07/01/2014 14:00:25
Getting group details
Hi there, When rendering a set of products for a specific group (for example /Default.aspx?ID=2&groupid=GROUP8) I get access to all products in that group which is great. However, I seem to be missing the group details itself. I would like to dis ...
Imar Spaanjaars
07/01/2014 09:12:40
Last post: 07/01/2014 09:44:15
Razor templates - connect to database
Is it possible to make a razor template, that performs a custom SELECT statement on the "ecomproducts" table, and then output all rows with a foreach loop - all done with c# code? ...
Kasper Birk Nielsen
02/01/2014 14:38:30
Last post: 06/01/2014 15:51:35
New user from form
Hi I have created a form that also creates a new user by including a subscribe to newsletter checkbox, but the only fields that are created in user management are email, name and username. Is it possible to also include address, phone etc. when creat ...
Thomas Schroll
23/12/2013 15:14:26
Last post: 06/01/2014 08:44:12
Search on all fields
Hi, How can we (using standard eCom generic search) search on all fields (product category fields + product fields)? I tried using "&ProductCustomField_=ALL" with no luck. Best Regards, Nuno ...
Nuno Aguiar
10/12/2013 20:00:56
Last post: 17/12/2013 10:22:21
Parameter based search - ProductMetaKeywords
Is it possible to make a search based on the "ProductMetaKeywords" value on the product and how? The only documentation I found on this is http://developer.dynamicweb-cms.com/documentation/for-developers/ecommerce/parameter-based-search.asp ...
Kim Søjborg Pedersen
21/10/2013 15:11:21
Last post: 16/12/2013 12:48:53
Item based table
Hi guys, I'm trying to create a dynamic using Items. I have an item called "Table Row" that contains an unspecified amount of items - this could be items like Name, Image, Size, Colour, PDF etc. I want to use this "Table Row" as a ...
Esben Kvorning
06/12/2013 12:12:34
Last post: 12/12/2013 16:48:09
XSLT menu parent and subpages
Hi there. I can't quite figure out how to do this. I have navigation that is two levels. On a top level menu item, I need to be able to show a menu of subpages *with* the top menuitem/parent. E.g. imagine this menu where about us is a main menu item  ...
Victor Jonsson
09/12/2013 09:15:25
Last post: 10/12/2013 08:46:48
cart v2 - ajax
Hi, We are trying to create a cart that can be submitted by AJAX, with no luck (assuming due to the security checks - step validations and so forth) Is there any way we can do this? Any "hidden" feature? Nuno ...
Nuno Aguiar
09/12/2013 12:29:45
Last post: 09/12/2013 16:23:24
Test if multiple loops is defined
Hi Dw, Is it possible to test if one or more of multiple loops is defined? Say <div class="related-products row"> <!--@LoopStart(Related.AssociatedProducts)--> <!--@HeaderStart--> <div class="associated-products co ...
Anders Ebdrup
05/12/2013 22:10:08
Last post: 06/12/2013 12:46:36
Issue with multiple site same page URL
Hello Guys, I recently bumped into an issue some of you might had before. On one same DW instance, I have 2 websites, they both are using same culture, their domain names are different. So when Both of them have a page with the name "Nyheder&quo ...
Dmitrij Jazel
06/12/2013 09:44:48
Last post: 06/12/2013 10:07:03
if statement - compare dw-tag with customfield
Hi, I'd like to compare two variables - to see if Global:Extranet.Groups contains a custom-field value. Like this: <!--@If Not(Global:Extranet.Groups<contains>Ecom:Product:Field.HideForGroup.Value.Clean)--> Do not show for group 300. < ...
Filip Lundby
05/12/2013 15:38:11
Last post: 05/12/2013 16:28:53
Is it possible to count Paragraph inside a content area?
I need to be able to count the items in my bootstrap carousel so I can make the indicators. I reuse the soultionset so my slider items is made with items. Any suggestions? <ol class="carousel-indicators"> <li data-target="#car ...
Kim Søjborg Pedersen
05/12/2013 10:40:42
Last post: 05/12/2013 15:51:04
Getting item field data from top page on subpages?
Hi guys, I have extended my page properties with an item field: Item.Page.LongMenuText I would like to fill in this field on my top level pages, and access it on my subpages. I would like it inside my navigation UL, and has managed to move it there w ...
Jacob Storgaard Jensen
03/12/2013 18:08:03
Last post: 03/12/2013 18:55:44
Display file in browser
Hi guys, How do I display a file in the browser - e.g. <a href="/files/products/datasheet.pdf" target="_blank">datasheet</a> But still would like the tracking from the "/admin/public/Download.aspx"? If I am u ...
Anders Ebdrup
20/11/2013 20:56:38
Last post: 21/11/2013 10:25:34
FancyBox refuse to work if using /admin/public/Getimage.ashx?
Hej Guys, I just runned into a problem here, I am trying to use: /admin/public/GetImage.ashx? to render and display some ".tif" images located in the files. Normally if I call fancybox it runs with direct link to an .png image for example.. ...
Dmitrij Jazel
20/11/2013 15:20:59
Last post: 21/11/2013 10:18:56