Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
OrderLine fields how to?
Hi guys, I was wondering if anyone of you could have an example on how to use OrderLine fields? I created OrderLine field, but I am not able to set it. But am having trouble generating input field for it. ...
Dmitrij Jazel
24/11/2016 10:20:23
Last post: 24/11/2016 12:28:54
Login via IP adress or Windows notifications
We are about to make an intranet area, where we of course have some users with access. However, our customer requests that everyone who accesses the intranet from the companys IP address have access without login. Just based on the IP they are enteri ...
Morten Sigh
01/11/2016 09:41:26
Last post: 02/11/2016 16:36:49
Link to document in mail from forms for editors
Hi, I'm experiencing an error in the forms for editors module. I've got a form with a file upload field. If the user uploads a file with spaces or danish characters (æøå) the link to the document generated in the mail for our customer does not work.  ...
René Poulsen
13/08/2016 14:21:46
Last post: 02/11/2016 14:14:31
Create user - with validation?
I have a form in frontend, where a new user can be created and after that confirmed by the admin - and in the standard template, only password and email is validated. But we need to validate that the other fields is filled out to (e.g. name of the us ...
Lise T. Pedersen
21/10/2016 15:29:21
Last post: 31/10/2016 09:27:52
Get Exif data from image
We are having problems with users uploading images to a site, and the exif orientation on these images are sometimes wrong. Is there any way to access these exif data in razor? ...
Michael John
20/10/2016 14:28:16
Last post: 25/10/2016 13:43:21
Forms for editors with pre-filled user-informations when logged in
I have a small form on a page inside an extranet-login. Is it possible with "forms for editors" to pre-fill the fields with name, firm and e-mail for the user who is logged in - or do I have to use forms for datalists or do it another way? I have tri ...
Lise T. Pedersen
23/09/2016 10:15:58
Last post: 23/09/2016 10:37:41
BasicForum: Get attachments from first post in thread
Hey, I'm looking to modify the list of threads outputtet by the basic forum module. I want to include the attachments in the list that are affiliated with the original thread (ie. first post). There's a range of information available like Forum:Threa ...
Martin Christensen
26/08/2016 14:34:56
Last post: 08/09/2016 09:32:08
Forum/Basic Forum responsive templates
Are there any updated/responsive DW templates for the Forum/Basic Forum module from Dynamicweb that we can have? ...
Per Søgaard
15/08/2016 17:07:16
Last post: 25/08/2016 11:29:03
Can not access template tags inside cart html
On the cart page (in the template that is attached on the paragraph module) I can not access any of the template tags. Here is the example http://belugi.dw.inet-design.dk/cart Inside ShowCart_Compact.html I should be able to output <!--@Item.Area. ...
Davor Zlotrg
17/08/2016 10:07:47
Last post: 17/08/2016 12:38:46
GetImage.ashx occasionally returns empty image
Hey, I sometimes experience product images not being loaded correctly, the result is an empty image 0x0px in size (The .ashx handler does not throw an error). This seems to happen at random, with no pattern as to which images it affects. An image can ...
Jan Schultz
12/08/2016 14:26:24
Last post: 12/08/2016 16:00:18
Include item based page as content
Hello, I'm trying to include an item based page using <!--@Global:Page.Content(123)--> (123 being the page's id). It works perfectly fine with regular pages, but when I attempt to include an item based page the content isn't rendered. I know I  ...
Martin Christensen
08/08/2016 17:27:16
Last post: 08/08/2016 20:21:04
User custom fields by pageview
Hi guys, Is possible get a customer field from the current user through the Pageview / Pageview.User? Thank you, Ricardo ...
Ricardo Pereira
06/07/2016 13:22:14
Last post: 06/07/2016 16:27:25
Access to Item List in Page Settings from paragraph
Hello, I find it a bit tedious to get an item relation list from my page setting inside a paragraph - so I would like to hear if this is the right way? @{ var pageOptionsId = Input.FormatInteger(Pageview.Page.PropertyItem["PageOptionIds"]); if (pageO ...
Anders Ebdrup
29/06/2016 11:13:23
No replies yet
Products in different colours and with translated names...
I have a number of products, created with items. Each product is available in some different colours - the colours is created as a checkbox list in the item. But now the problem starts, because the template should be used for three different language ...
Lise T. Pedersen
30/03/2016 13:29:10
Last post: 28/06/2016 09:49:31
Switching currency
I'm working on an international shop, and the client wants the user to be able to switch between different currencies on the go. For example, on the products and the cart on their Scandinavian site, they would like to change between NOK, DKK and SEK  ...
Nikki Strømsnes
21/02/2012 10:58:49
Last post: 27/06/2016 15:48:06
Trying to understand Razor...
I have translated a hmtl to a racor template, and is now trying to "rebuild" the if-sentences in my template. But I have this, starting in line 6: @if (GetValue("ParagraphContainerSort") > "0") { <div class="product__body" style="display:block; ...
Lise T. Pedersen
23/06/2016 15:51:52
Last post: 24/06/2016 14:01:14
Include/IncludeFile inside item template
So I'm wondering if this is even possible. I have a wish that goes something like this. My general thought is to use items for all that it is worth, and I would also like to reuse items inside other items. I have three items, and the are setup like t ...
Martin Grønbekk Moen
23/06/2016 10:14:06
Last post: 23/06/2016 14:25:22
Show only product groups with "Show in menu" checked
Hello, I have a paragraph with Product Catalog module that shows groups by default. I want to show only those groups that have "Show in menu" checkbox checked in group details. I try to use following razor template: @foreach (LoopItem item in GetLoop ...
Andrey Kozachuk
22/06/2016 13:04:42
Last post: 22/06/2016 15:30:10
Set template title/description in razor template
When writing Dynamicweb templates using the html-template syntax it is possible to use the Title and Description (Layout.Title, Layout.Description) tags to modify the title/description shown in the dropdown when picking the template from the backend. ...
Kim Pilgaard
11/05/2016 11:42:34
Last post: 15/06/2016 14:05:03
Improove DataList with XML publication
Hi... I need to have one export like this <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" omit-xml-declaration="yes" indent="yes" encoding= ...
George Nelzo Pereira
13/04/2016 21:19:01
Last post: 06/06/2016 14:20:28