Developer forum
Subject
Replies
Started by
Last reply
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
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
More than one language - Translate
Hi, Iit's possible to have a specific translate in one page?
I'm mean to have a website with two or more languages, but in one specific page should have a different translate over the website?
Like we have one website where the client can choose the ...
George Nelzo Pereira
07/04/2015 13:06:51
Last post: 08/04/2015 14:33:50
combining razor and dynamicweb html tags
Hi all, I have an old html-file, that contains several html-dynamicweb-tags like: <!--@ContentPlaceholder--> , <!--@Include()-->, etc. Recently I wanted to add some razor-code to that file. I don't know if it's possible, but have checked, ...
Martin Kure
26/03/2015 11:16:11
Last post: 26/03/2015 12:07:29
News:Manchet AND News:FirstXChar in the same template - at the same time
As standard, you can choose to show either the manchet or the first xx characters in a newslist (News V2) - is there an easy way to force the template to show BOTH the manchet and the først eg. 100 characters, no matter which preferences has been cho ...
Lise T. Pedersen
24/03/2015 12:07:44
Last post: 27/03/2015 14:49:10
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
Razor image metadata title
When working with a gallery, you can use this tag <!--@Gallery.Image.Metadata.title--> to retrieve the metadata, added to the image. But is there a way you can retrieve the same data from an item, that loops through the content of a folder. I w ...
Martin Kure
17/03/2015 10:36:01
Last post: 17/03/2015 14:09:48
Content only allowed to certain groups...
I have some products with some datasheets shown for each product. If you log in, you get acces to some more specific datasheets. And now to the problem. I now have two different groups, if logged in from one group, you may also see a pricelist (as pd ...
Lise T. Pedersen
16/03/2015 14:47:04
Last post: 17/03/2015 11:38:52
Can you test if snippet is empty?
This way: @if( if snippet isn't empty ){ @RenderSnippet("snippet") } else { <p>Do something else</p> } ...
Gitte Simonsen
10/03/2015 14:55:19
Last post: 10/03/2015 15:56:04
Autologin
I have this lame question about a feature that I thought would be absolutely simple to implement. However, it didn't work out as I hoped. :-/ I have created a login form in a Razor-template. The login submits the username and the password to a custom ...
Peter Terkildsen
04/03/2015 08:30:55
Last post: 05/03/2015 07:30:46
Getting translation from other language in Razor template
Hi guys We are having an issue where we want to be able to swap some parts of the website from Danish to English for instance. We are not able to simply use different Areas as it has to be that specific content connected with the Danish Area, just wi ...
Kasper Vesth
18/02/2015 13:39:27
Last post: 24/02/2015 09:15:45
10
Subscribe
File Item property in image-tag
Hello, I have this wierd bug, that if i output @GetString("Item.Image") i get the path to the file,
But if i output the same code inside a <img>-tag, i get a different path, and a wierd tag close.
- I also tried with an item, called Item.PageIm ...
Daniel Williams
09/02/2015 11:51:00
Last post: 11/02/2015 08:43:49
Get page view by page ID
If you are having problems with the GetPageviewByPageID method (Dynamicweb.Frontend.PageView.GetPageviewByPageID( somepageid ).Output() it's because the <head> tag conflics with the excisting <head> on the current page. So how can we extr ...
Jakob Westhausen
29/01/2015 13:04:30
Last post: 03/02/2015 19:52:41
CategoryField template tag Razor
How do i utilize the CategoryField template tag in Razor templates? Serializing the product loopitem shows me that it does not exist in the variable scope - although it is availabe per. the documentation ( http://templates.dynamicweb.com/eCommerce/Dy ...
Jonas Mersholm
16/01/2015 13:38:57
Last post: 19/01/2015 08:38:14
Tag suggestions
Would these tags be a good addition to the template tags: Ancestor(Item.WhateverName) AncestorOrSelf(Item.WhateverName) Descendant(Item.WhateverName) DescendantOrSelf(Item.WhateverName) Parent(Item.WhateverName) // Sebastian ...
Sebastian Dammark
09/01/2015 19:46:47
Last post: 14/01/2015 12:08:33
Usermanagement - Get Subgroups
Hello all, I have a contact form on my frontpage where the user is able to search for a specific employee. I have a main group(places) and below that x amount of subgroups(departments) which contains their respective employees. However, on my search ...
Mikkel Toustrup Olsen
06/01/2015 12:34:15
Last post: 16/01/2015 15:38:08
Server:Request.ajax: in Razor
Hej Guys, I was wondering how do you do something like this in Razor? <!--@If Defined(Server:Request.ajax)--> <xml>XML content here</xml> <!--@EndIf(Server:Request.ajax)--> <!--@If Not Defined(Server:Request.ajax)--> < ...
Dmitrij Jazel
02/01/2015 14:53:30
Last post: 05/01/2015 09:33:08
Getting data from parent page
Lets say I have a structure looking like this. Main website Subsite 1 Subpage 1 Subpage 2 Subpage 3 Subsite 2 Subpage 1 Subpage 2 Subpage 3 Subsite 3 Subpage 1 Subpage 2 Subpage 3 How do I, on each Subpage, get some data from their parent Subsite ? L ...
Sebastian Dammark
02/01/2015 01:35:45
Last post: 03/02/2015 23:07:27
Razor paragraph item loop
Hi all I don't know if this is a stupid question of if it is even possible. I have searched the forums, looked at the documentation and looked at the examplefiles on GitHub, but can't seem to find anything about it. What I want to do is to loop throu ...
Michael Nielsen
18/12/2014 13:24:28
Last post: 19/12/2014 12:47:36
Out commented TemplateTags in Razor
Hi Dw, When have out commented TemplateTags like: @* @TemplateTags() *@ I a razor template, it seems like the TemplateTags are parsed anyway on the server side (tested on 8.5.1.x) and are causing longer load time. It would be nice that the out commen ...
Anders Ebdrup
08/12/2014 20:04:15
Last post: 09/12/2014 09:13:46