Developer forum
Subject
Replies
Started by
Last reply
Multi currency site, show € sinbol instead of "Euro"
Hi Guys, Was wondering how do I set currency simbol, instead of just "Euro" when rendering product price in the template? Tryed looking into Currency settings, but didn't find anything there, same in template tags. Any suggestions? /Dmitrij ...
Dmitrij Jazel
02/03/2016 10:10:31
Last post: 02/03/2016 10:28:05
Getting the value from a specific field outside the FieldValues loop in a Form.Submit
I'm using the Forms for editors module. After submitting a form i want to display the data on a confirmation page in a custom design. In order to do so, i need to control where to display field values according to the design. I would have thought tha ...
Jesper Holm Damgaard
01/12/2015 10:31:50
Last post: 01/03/2016 14:57:27
News v2 templates missing
Currently working on a new website and I haven't used the News v2 module yet, but it seems exactly what we need. For your reference, we started out with a clean DynamicWeb installation. The News v2 module is available in the admin side of the website ...
Tymen Steur
17/02/2016 10:51:31
Last post: 17/02/2016 11:14:57
Tag extensions with another tag as parameter
Hi, I`m, trying to have a tag extension to compare two text (two DW tags)
Like: <!--@UserManagement:User.Address.GetDiff(Address2)--> Its possible to have this, or the parameter (address2) should be a value instead of DW Tag? ...
George Nelzo Pereira
15/02/2016 11:34:50
Last post: 15/02/2016 12:13:07
Ecommerce Groupview page size and product view details
Two questions 1. Is there a way to change the default page size on group views from razor? 2. Where is the "Details" loop in Razor in the product view? Without Details, it's not possible to extract the image list from details. ...
Peter Munkholm
11/02/2016 09:18:22
Last post: 12/02/2016 16:04:34
Getting CreateDate from Item
Hello I am trying to get stuff like create date, update date and so on, basically i have a page, the page has a paragraph with a module on it that gets a set of news items, there is a list that displays each news item- So far so good, But i want to g ...
Casper Andersen
10/02/2016 11:31:44
Last post: 11/02/2016 10:58:55
RE: Item publisher module data output in razor
DESCRIPTION: We are trying to output the data from a custom field on an item in the list, using the Item Publisher module. We cannot output the data from one field, if it is wrapped in an if-statement of another field. Problem: We have two fields, Lo ...
Aditya Bante
10/02/2016 09:24:15
Last post: 10/02/2016 11:06:21
Code in Master.cshtml Razor file affects /Admin
Hi guys, In my rescent example I tryed to run here, was HttpContext.Current.Session.Abandon() method I wanted to run in Master.cshtml in particular case. By default if no url parameter present, it must run this. Long story short, when I am requesting ...
Dmitrij Jazel
09/02/2016 11:06:02
Last post: 09/02/2016 14:26:35
RE: Check on Div tag, If Placeholder Empty, Razor
Hi The if statement is working fine I do not get any errors but It dosen’t do what it supposed to. It dosen’t out put anything even if the placeholder contains the paragraph ? any thoughts why that might be ? Thanks. @if (!string.IsNullOrEmpty(GetStr ...
Aditya Bante
01/02/2016 09:00:46
Last post: 08/02/2016 15:47:56
Tag does not work : EmailMarketing:Email.UnsubscribeLink
Hi, Within e-mail marketing, the tag "EmailMarketing:Email.UnsubscribeLink" does not get rendered. It shows "as is" in the resulting html. DwTemplateTags does not show any EmailMarketing-tags. So, how can users unsubscribe from a newsletter? Is there ...
Ton Martens
04/02/2016 14:18:35
Last post: 05/02/2016 15:13:01
Content only available when TemplateTag is present
Hi I have a weird problem in my product template. I'm trying to output the value of all custom fields by doing this: @foreach (var CustomFieldElement in GetLoop("CustomFieldList")) { string loopname = CustomFieldElement.GetString("Ecom:CustomField.Sy ...
Thomas Schroll
05/02/2016 09:51:16
Last post: 05/02/2016 12:03:42
Empty fields in razor template
Hello, I am trying to use the 'context order renderer' module inside an email to test abandoned shopping cart functionality. The module uses a razor template based on printorder like you would use to confirm an order by mail. However, when using the ...
Alexander van Dijk
18/12/2015 10:45:47
Last post: 28/01/2016 14:22:34
File publishing a list of items
I need to create a sort of gallery, based on a folder of pdf-files, which has to be shown as pictures. Therefore, I can't use the ordinary gallery, but need to build it with items. But I don't really understand how to get it working :-) I have create ...
Lise T. Pedersen
11/01/2016 10:51:06
Last post: 26/01/2016 10:52:07
If Defined in Razor
Hi Probably a really simple solution to this question, but how can i use the if defined functions from the old templates, in Razor How would i wrap this in an If Defined? <img src='@GetValue("Item.Mynd.Value")' alt='@GetValue("Item.Yvirskrift.Valu ...
Hans Ravnsfjall
14/01/2016 15:36:28
Last post: 26/01/2016 08:41:37
RE: individual Shipping Fee for each product
Hi, I have a question I hope you can help me figuring out, at least if it is possible. The request: We need to have a specific shipping fee/price for each product in eCommerce. The product specific shipping fee/price should be automatically selected ...
Jens Jakob Vedel Kristensen
08/01/2016 14:58:39
Last post: 18/01/2016 15:53:06
Ecommerce groups and assortments
Im trying to get all ecommerce groups using Razor, and it is working just fine, I get all my groups.
The problem is that I get groups that should not been visible due to assortment rules. This is how I get my GroupCollection. groupCollection = new Dy ...
Martin Grønbekk Moen
15/01/2016 06:51:29
Last post: 18/01/2016 15:46:51
Language Switcher on Frontend
Hi there, i am fairly new to DynamicWeb so the way i am doing this might be totally wrong so sorry for that. But basically what i want is to add a language switcher on my master template, i got the links to the 2 different home pages and it looks lik ...
Casper Andersen
13/01/2016 09:30:19
Last post: 15/01/2016 16:55:12
slideshow nav in xslt
I need to output a "button menu" for a slideshow with various number of slides - guess I have to create a variation of a navigation XSLT template for this - and hopes anyone can point me in the right direction? The code below is the original programm ...
Lise T. Pedersen
13/01/2016 16:00:02
Last post: 15/01/2016 13:47:19
Looping form fields (Forms module)
I want to loop through all options in a select field. I am trying the following: @{ var form = GetLoop("Fields");
}
@foreach(var field in form){ <select class="form-control"> @foreach(var option in field.GetLoop("Fields")){ <option value=""& ...
Søren Mastrup
08/01/2016 15:15:14
Last post: 08/01/2016 15:31:12
Current product in breadcrumb
I have a product page with an XSLT breadcrumb, which works fine when you travel down the eCom structure.
For example: Home » Products » Doomsday weapons However, as soon as I go to a specific product, it stops, and instead I simply get th ...
Nikki Strømsnes
15/10/2012 11:47:08
Last post: 04/01/2016 22:26:14