Get current shop and language in Dynamicweb Razor templates

  Coding your templates in Razor, for instance using C# (.cshtml templates) opens up a room of many nice facilities. However getting started can be a bit hard as you are entering an area where you need to know your Dynamicweb API and framework.   I recently had to generate a Google Shopping Feed, and Continue reading


Building a Send Basket feature in Dynamicweb CMS

This post breaks down a functionality which can send the content of a shopping cart, a basket as an e-mail. The functionality was build using Razor (C#), AJAX and JSON on top of a Dynamicweb content management system. The idea The customer has an eCommerce website where people add items to a basket. Sometimes the Continue reading


Intellisense in Dynamicweb Razor templates

Implementing using Dynamicweb CMS you will need to understand Razor and C#. The Dynamicweb Razor implementation offered some basic tags to get contents from the system. To make it easier when you implement templates in say Microsoft Visual Studio or Xamarin Studio you should add these two lines in the top of your template: @inherits Continue reading


Writing my first Dynamicweb Tag Extension

I am a front-end developer, and my domain used to be HTML, Javascript, CSS and other front-end technologies. Lately the CMS system I work mostly on implementing websites: Dynamicweb CMS started to offer Razor based templates. That opened up a lot of possibilities when implementing templates. HTML based templates Dynamicweb CMS is like other CMS Continue reading


Notes from: Dynamicweb Webinar – Items based structure – sneak preview

My raw notes from the Dynamicweb webinar on 8th November about soon to be released item based content in Dynamicweb 8.2 – please understand that the notes are raw :-) Create using backend Automatic create table dbo.itemtype_event 1. Create using DB, usefull for importing data Name the table like: “ItemType_” + itemname, two required column Continue reading


Use <!–@ParagraphContainer–> to make paragraphs render different content depending on placement #Dynamicweb

With the Dynamicweb Layout system you define various content areas in the Layout file like this: Part of example layout template: <div id="left" class="dwcontent" title="Left content" settings="paragraph:left.html">We do not want module content here, for some strange reason</div><div id="main" class="dwcontent" title="Main content" settings="paragraph:main.html"></div><div id="right" class="dwcontent" title="Right content" settings="paragraph:right.html"></div>   This will create a three column page. Continue reading


CV–cases: www.madkulturen.dk

Dette er det første indlæg hvor jeg kort beskriver noget jeg har været involveret i. Grunden er at jeg generelt glemmer at få kommunikeret hvad jeg egentlig går og laver i mit professionelle hverv. Jeg håber at kunne poste løbende eksempler på hvad jeg har gået og lavet. www.madkulturen.dk fra fødevareministeriet.   Slider i top Continue reading