Developer forum
Subject
Replies
Started by
Last reply
Getting loop iterations outside loop
Hi guys I need some help with this, probably easy to do, but i'm stuck. I need to get a variable from a loop from outside the loop (razor-template.png). I can only get it to render the first value of the selections from the loop (checkbox list). See ...
Jens Mouritzen
13/12/2018 23:26:44
Last post: 14/12/2018 15:48:35
Filtering and searching on Map
Hi, I have setup a map for solution on a paragraph. I'm using usergroups to filter the dealers shown onthe map. When you on the map page select a filtergroup you will get the correct result. If you then subsequently do search on an adress the search ...
Søren Bremholm Jakobsen
21/11/2018 08:30:55
Last post: 13/12/2018 14:56:29
Divide loop items into rows
Hi guys. Any of you have an idea on how to split this loop into row with eg. 4 items in each? I have tried many thing like "break;" and "continue;" and nested loops, but i didnt succeed. My code i attached below, thank you in advance! @inherits Dynam ...
Jens Mouritzen
01/12/2018 23:45:13
Last post: 03/12/2018 12:17:10
RenderPageContent and Global Elements
When displaying a news item I want a sidebar with reference to other latest news and some global elements that I use across the site. Page "Right Sidebar page" with ID: 788 contains - Paragraph 1 (standard Paragraph) - Paragraph 2 (Global element fro ...
Michael Fenech-Andersen
29/11/2018 13:25:52
Last post: 03/12/2018 09:07:01
Navigating Variants
Hi, 1) Is it possible to navigate to a SEO compliant URL when navigating variants? E.g. ~/Product-Name/Variant-Name OR just /Product-Name assuming Customer had changed the name for each variant. 2) Also, when navigating variants, is it possible to im ...
Afi
30/11/2018 06:08:04
Last post: 30/11/2018 13:13:46
Anyone got a bootstrap 4 menu xslt that they are willing to share?
HI I am again stuck in XSLT - this time trying to generate a bootstrap 4 menu with a dropdown - like this one https://www.w3schools.com/bootstrap4/bootstrap_navbar.asp Anyone already done this and is willing to share the XSLT template? /Hans ...
Hans Ravnsfjall
13/11/2018 13:36:39
Last post: 13/11/2018 14:28:55
Cart view model not set
Hi Dynamicweb, I am getting the error from the attached screenshot when trying to use a CartViewModel. I am on Dynamicweb 9.3.5. Is there something I am missing? Best regards, Rasmus ...
Rasmus Andersen
18/12/2017 09:25:48
Last post: 12/11/2018 09:06:45
Remove commas from last iteration of loop
Hi guys Any idea how to remove specific characters from the last iteration of a loop? We have a demo solution, where we want to remove the comma the from the lasty iteration of a checkbox list. Itempublisher template attached. Screenshot of output on ...
Jens Mouritzen
06/11/2018 10:33:07
Last post: 06/11/2018 14:31:11
hreflang-tags for ecom
Hello, We are trying to output hreflangs, which works fine for normal content pages, and we can get the search engine friendly url by this method: SearchEngineFriendlyURLs.GetFriendlyUrl(). But for ecommerce paths the query parameters for GroupID and ...
Anders Ebdrup
14/03/2017 18:00:53
Last post: 05/11/2018 13:21:57
10
Subscribe
Get paragraph item values on module template?
Hi, I've got a paragraph item, where I've got a field which is the field type "ItemType". This WidthSettings item I reuse a lot and it's working fine as long as I fetch the values within my paragraph template context... When I, on a ItemPublisher tem ...
Jacob Storgaard Jensen
30/10/2018 13:51:04
Last post: 30/10/2018 15:30:19
Email Marketing -USER ID- Tag
Hello, How can i access the User ID for each recipient that i send to ? ...
Dan Gheorghe
30/10/2018 10:50:36
Last post: 30/10/2018 11:18:04
Custom import Job
Hi How can I get the value of a File Picker field in a custom integration job. [AddInParameter("File path and full name"), AddInParameterEditor(typeof(Dynamicweb.Extensibility.Editors.FileSelectEditor), ";usefilesfolder=true;"), AddInParameterGroup(" ...
Gheorghe Balan
25/10/2018 16:14:02
No replies yet
Get Field names and values from current Page Item on a paragraph template?
Hi guys, A small question here from a Razor idiot with a limited programming vocabulary... so bare with my childish explanations :-D. I've got approx 30 item fields on a Page Item, 20 of those fields I would like to loop through BUT on a paragraph (w ...
Jacob Storgaard Jensen
16/10/2018 21:31:23
Last post: 17/10/2018 13:07:09
Calendar LINQ
Hi guys I need some help getting started on LINQ coding for a calendar. Basicly i need to group an itemlist's dates in a agenda calendar. So all events should be grouped in months like showed on the attached image. Anyone? ...
Jens Mouritzen
16/10/2018 17:53:07
No replies yet
Canonical link in meta is being added when URL contains a querystring parameter
Hi, I have a rather weird scenario. I'm running a DW 9.3.10. For testing purposes I've disabled the two checkmarks within Web/HTTP -> Customized URLS regarding canonical links in meta. One in the Ecommerce group and another in the Meta group. When ...
Mikkel Toustrup Olsen
05/10/2018 13:46:35
Last post: 08/10/2018 07:54:14
Futile attempt to utilize the autologin functionality
Hi I am trying to make a login form which should autologin. However, when I login with the autologin box ticked, I am still prompted to login when I access the site the next time I open the same browser. It does fill in the username and password used ...
Roald Haahr Jensen
03/10/2018 10:12:46
Last post: 03/10/2018 13:12:19
Check if loop is empty
Hi There is probably a really simple answer to this, but right now I am stuck - and canĀ“t find a solution. I want to check if a loop contains any instances or not - or in other words, I want to check if a loop is not empty. The loop is "Item.Historik ...
Hans Ravnsfjall
01/10/2018 11:52:45
Last post: 01/10/2018 11:59:20
Less issue
Hi guys I'm wondering how to remove the " " from the less variables created from the website settings (image1) wich outputs this css (image2) wich makes the css break. Config file also attached. ...
Jens Mouritzen
26/09/2018 20:44:42
Last post: 27/09/2018 09:57:28
VariantStockCombinations documentation
Cant find any docmentation regarding which fields that are available in the VariantStockCombinations loop. Can someone post a list? ...
Martin Grønbekk Moen
20/09/2018 10:11:56
Last post: 20/09/2018 13:43:33
Email marketing {{tags}}
Hey When a page is rendered, it looks like the system Is checking if the page is part of an email for email marketing, and if it is all {{tags}} are replaced. It makes some problems when using Handelbars.js, on of our customers is using handlebars.js ...
Mark Preisler
03/08/2018 13:35:43
Last post: 17/09/2018 18:17:15