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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
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(" ...
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
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? ...
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
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
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 ...