<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>www.netsi.dk &#187; dynamicweb</title>
	<atom:link href="http://www.netsi.dk/wordpress/index.php/category/code/dynamicweb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netsi.dk/wordpress</link>
	<description>&#34;The internet is just a layer on the real world&#34; (don&#039;t forget that!)</description>
	<lastBuildDate>Sat, 04 Sep 2010 10:53:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The getimage.aspx of Dynamicweb CMS finally can crop as I always wanted it to!</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 12:14:44 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[getimage.aspx]]></category>
		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/</guid>
		<description><![CDATA[Being a heavy user of Dynamicweb CMS I am very happy to discover that the latest version of the software has made the utility for cropping/scaling images work as I (IMHO) always have wished it to do! It is now possibel to specify both with and height and having the image fit inside the area keeping the aspect ratio of the image! Hurra!
You do know getimage.aspx, right?
When you have a [...]]]></description>
			<content:encoded><![CDATA[<p><em>Being a heavy user of </em><a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank"><em>Dynamicweb CMS</em></a><em> I am very happy to discover that the latest version of the software has made the utility for cropping/scaling images work as I (IMHO) always have wished it to do! It is now possibel to specify <strong>both with and height</strong> and having the image fit inside the area keeping the aspect ratio of the image! Hurra!</em></p>
<h3>You do know getimage.aspx, right?</h3>
<p>When you have a design to implement using <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> and you have a list of items with images – say thumb images, <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb</a> offers a nice utility which can ensure that the thumbs will have a given dimension. The images are cached on the server, so it is not using unnessesary resources of the server if you use the utility.</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/08/image1.png" rel="lightbox[326]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="The getimage.aspx utility of Dynamicweb CMS" border="0" alt="The getimage.aspx utility of Dynamicweb CMS" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/08/image_thumb1.png" width="642" height="393" /></a> </p>
<p>The utility can be found on any <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb</a> soloution here:</p>
<p><code>http://[hostname]/Admin/Public/getImage.aspx</code></p>
<p>Enter the URL above and you will get a nice wizard which will dynamically produce what you need inside your templates. You can see the wizard above.</p>
<h3>What makes things work for my needs!</h3>
<p>To ensure that an image fits inside a <strong>container with known dimentions</strong> you need to:</p>
<ul>
<li>Enter the dimensions (width/height) </li>
<li>Select the cropping offset: “Keep aspect ratio” </li>
</ul>
<p>Try the utility by entering a path to an image – you have to start from “/files…”. When that is done, simply press OK and you will get a preview under the “Results” tab, as you can see below.</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/08/image2.png" rel="lightbox[326]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="The Results tab of the getimage.aspx Dynamicweb utility" border="0" alt="The Results tab of the getimage.aspx Dynamicweb utility" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/08/image_thumb2.png" width="642" height="393" /></a> </p>
</p>
<h3>Using the Image URL in your templates</h3>
<p>When you are happy with the results you should copy the “Image URL” path (highlighed with blue in the above image). The URL for my example is:</p>
<p>/admin/public/getimage.aspx?Image=/files/billeder/300&#215;80.jpg&amp;Format=jpg&amp;Width=200&amp;Height=100&amp;Crop=5</p>
<p>If I were to use this path inside a template, I simply would replace the “/files/billeder/300&#215;80.jpg” with a template tag like “<code>&lt;!--@Ecom:Product.ImageLarge.Clean—-&gt;</code>”.</p>
<p>I hope this has helped you! I really find this improvement nice! </p>
<h6>links</h6>
<ul>
<li><a title="Still a nice site for documentation of templates which can be used inside Dynamicweb CMS" href="http://templates.dynamicweb.dk" target="_blank">Dynamicweb Templates</a> </li>
<li><a title="Finally webdav access to dynamicweb websites" href="http://www.netsi.dk/wordpress/index.php/2009/12/17/finally-webdav-access-to-dynamicweb-websites/" target="_blank">Finally webdav access to dynamicweb websites</a> </li>
<li><a title="(en-US) Release Notes, Dynamicweb 7.1.pdf" href="http://engage.dynamicweb-cms.com/Admin/Public/DWSDownload.aspx?File=Files%2fFiler%2fDocumentation%2fRelease%2fDynamicweb+7.1%2f(en-US)+Release+Notes%2c+Dynamicweb+7.1.pdf" target="_blank">(en-US) Release Notes, Dynamicweb 7.1.pdf</a> </li>
</ul>
<p>&#160;</p>
<div class="FBILike"><iframe style="border-bottom-style: none; border-right-style: none; width: 480px; border-top-style: none; height: 80px; border-left-style: none; overflow: hidden" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.netsi.dk%2Fwordpress%2Findex.php%2F2010%2F08%2F02%2Fthe-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to%2F&amp;layout=standard&amp;show_faces=true&amp;width=480&amp;action=like&amp;font=lucida+grande&amp;colorscheme=dark&amp;height=80" frameborder="0" allowtransparency="allowtransparency" scrolling="no"></iframe></div>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/08/02/the-getimage-aspx-of-dynamicweb-cms-finally-can-crop-as-i-always-wanted-it-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Hvem skal nu betale?&#8221;</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 15:09:00 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[inspirovation]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/</guid>
		<description><![CDATA[Jeg arbejder professionelt med implementering af CMS baserede hjemmesider. Det system jeg arbejder klart mest i er Dynamicweb CMS – et system som efter sigende har omkring 4000 fungerende (et korrekt ord?) hjemmesider i hele verden – primært i norden. Som andre systemer så kommer der jævnligt opdateringer – det er jo dejligt med nye up-to-date funktionalitet. Så langt så godt – men jeg vil gerne prøve at sammenligne kort [...]]]></description>
			<content:encoded><![CDATA[<p><em>Jeg arbejder professionelt med implementering af CMS baserede hjemmesider. Det system jeg arbejder klart mest i er <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> – et system som efter sigende har omkring 4000 fungerende (et korrekt ord?) hjemmesider i hele verden – primært i norden. Som andre systemer så kommer der jævnligt opdateringer – det er jo dejligt med nye up-to-date funktionalitet. Så langt så godt – men jeg vil gerne prøve at sammenligne kort med en anden branche.</em></p>
<h3>Min Toyota kontra Dynamicweb CMS</h3>
<p>Jeg er den lykkelige ejer af en Toyota. Tidligere ejede jeg en Yaris og da den var ca. 2 år gammel modtog jeg et brev om at man havde konstateret at der <strong><em>kunne</em></strong> opstå et problem med bremserne under visse ekstreme omstændigheder. Jeg skulle bare køre ind til et selvvalgt Toyota værksted og de ville rette fejlen uden beregning. Hverken mig eller værkstedet ville blive lastet for noget i den forbindelse. Det er service!</p>
<p>Og nu til <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>… Jeg oplever <strong>jævnligt</strong> at der opdages fejl som opstår på grund af fejl i <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>. Jeg arbejder jo som sagt professionelt hos en <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> Partner (<a title="Besøg Bleau A/S hjemmeside" href="http://www.bleau.dk" target="_blank">Bleau A/S</a>) og det er nok noget der i ovenstående situation med Toyota må være at betragte som at arbejde på et “autoriseret Dynamicweb værksted”. Selv om <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> også selv finder fejl og retter dem uden beregning gennem hot-fixes, så er situationen fra før med fejlen på bilen i en <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> verden normalt noget anderledes:</p>
<ol>
<li>Brugeren (chaufføren) oplever at noget ikke fungerer i hans “bil” (hans hjemme side) </li>
<li>Han kontakter værkstedet </li>
<li>Værkstedet må bruge megen tid på at fejlfinde og bevise overfor <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> support at fejlen er noget der ligger i selve Dynamicweb </li>
<li><a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a> anerkender måske at der er en fejl, men det medfører ikke at fejlen rettes. Fejl prioriteres naturligvis af <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>. </li>
<li>Brugeren må så acceptere at der ikke kommer en løsning “sådan lige” </li>
</ol>
<p>Som professionel konsulent er det svært</p>
<ul>
<li>At forklare overfor kunden at det er kundens problem. </li>
<li>At kunden vil blive faktureret den tid som vi har brugt på at finde fejl i det system vi har anbefalet dem. </li>
<li>At problemet ikke umiddelbart er blevet løst. </li>
<li>At en løsning vil koste yderligere tid (=penge). </li>
<li>At løsningen ikke nødvendigvis giver en forbedring. </li>
</ul>
<h3>Intet er fejlfrit! – men hvem skal nu betale?</h3>
<p>Der er mange elementer i ovenstående sammenligning der kan anfægtes og en sammenligning mellem en bil og et CMS system er måske unfair. Det som jeg her forsøger at starte en diskussion om og brokker mig over er at det ikke er rimeligt at kunderne alene skal betale for noget som kan påvises er fejl i det produkt de har købt.</p>
<ul>
<li>Jeg ville personligt aldrig betale for reperationen hvis min fladskærm holdte op med at virke indenfor garentiperioden! Det måtte producenten betale for (gennem forhandleren). </li>
<li>Jeg mener at det er i alles interesse at fejl rettes, så produktet bliver bedre. </li>
</ul>
<p>Jeg har ikke en færdig model for hvordan man kunne løse problemet med at få dækket omkostninger ved fejl. Der er tre parter som burde dele omkostningen – brugerne, forhandlerne (partnerne) og <a title="Besøg Dynamicwebs hjemmeside" href="http://www.dynamicweb.dk" target="_blank">Dynamicweb CMS</a>. Idag er det kun de to første der betaler! Jeg tror på sigt at hverken brugere eller forhandlere kan leve med den model!</p>
<p>P.s: Ovenstående står for min egen personlige regning.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/07/26/hvem-skal-nu-betale/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ensure that news items in Dynamicweb CMS are rendered correct</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/06/29/ensure-that-news-items-in-dynamicweb-cms-are-rendered-correct/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/06/29/ensure-that-news-items-in-dynamicweb-cms-are-rendered-correct/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 07:24:11 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[newsVw]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/06/29/ensure-that-news-items-in-dynamicweb-cms-are-rendered-correct/</guid>
		<description><![CDATA[In Dynamicweb CMS when you click to a detail view of a news item you will by default get a parameter “M=News” or “M=NewsV2” depending on the News Module version. That parameter will make your details view render incorrect. You can fix it in your template, but if you use the RSS feed of news items, you cannot do that.
The javascript below will fix that problem by redirecting the page [...]]]></description>
			<content:encoded><![CDATA[<p>In Dynamicweb CMS when you click to a detail view of a news item you will by default get a parameter “M=News” or “M=NewsV2” depending on the News Module version. That parameter will make your details view render incorrect. You can fix it in your template, but if you use the RSS feed of news items, you cannot do that.</p>
<p>The javascript below will fix that problem by redirecting the page to an URL without those two parameters. It is a simple javascript, just insert it into the HEAD section.</p>
</p>
<pre class="javascript" name="code">&lt;script type=&quot;text/javascript&quot;&gt;

// Dynamicweb CMS fix: Make sure that details view of news item is rendered correct

// Insert in Master page in HEAD section

// Will redirect to same URL but with any &quot;M=News/M=NewsV2&quot; removed

// 2010-06-29: Sten Hougaard, Bleau A/S

var loc = document.location+'';

var newLoc = loc.replace('&amp;M=NewsV2', '').replace('&amp;M=News', '');

if (loc!=newLoc) {

 document.location = newLoc;

}

&lt;/script&gt;</pre>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/06/29/ensure-that-news-items-in-dynamicweb-cms-are-rendered-correct/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/06/29/ensure-that-news-items-in-dynamicweb-cms-are-rendered-correct/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/06/29/ensure-that-news-items-in-dynamicweb-cms-are-rendered-correct/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kommentarer til Dynamicweb 7.1 technical realease notes</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/05/24/kommentarer-til-dynamicweb-7-1-technical-realease-notes/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/05/24/kommentarer-til-dynamicweb-7-1-technical-realease-notes/#comments</comments>
		<pubDate>Sun, 23 May 2010 23:45:37 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[DW7.1]]></category>
		<category><![CDATA[eCommerce]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/05/24/kommentarer-til-dynamicweb-7-1-technical-realease-notes/</guid>
		<description><![CDATA[Jeg var så uheldig at blive forhindret i at deltage i præsentationen af Dynamicweb 7.1, men heldigvis har jeg jo #Dynamicweb som en search kolonne i min Adobe Air baserede Twitter klient: “TweetDeck” – der kan jeg jo følge med og har da læst mange spændende kommentarer.
Jeg har så valgt at kigge på den dokumentation som man kan finde på “Dynamicweb engage”. Der er flere dokumenter som hver i sær [...]]]></description>
			<content:encoded><![CDATA[<p>Jeg var så uheldig at blive forhindret i at deltage i præsentationen af Dynamicweb 7.1, men heldigvis har jeg jo #Dynamicweb som en search kolonne i min Adobe Air baserede Twitter klient: “TweetDeck” – der kan jeg jo følge med og har da læst mange spændende kommentarer.</p>
<p>Jeg har så valgt at kigge på den dokumentation som man kan finde på “<a title="Læs om Dynamicweb 7.1 på Dynamicweb engage" href="http://engage.dynamicweb-cms.com/Default.aspx?ID=511" target="_blank">Dynamicweb engage</a>”. Der er flere dokumenter som hver i sær fortæller om ændringer. Jeg vil her gennemgå dem jeg har kigget på.</p>
<h2>Bug fixes included in Dynamicweb 7.1</h2>
<p>Jeg fandt <strong>49 (dokumenterede) bug fixes</strong>, og de fordeler sig jævnt over både Dynamicweb CMS og Dynamicweb eCommerce. Hvis man har prøvet at indrapportere en case som så er blevet anerkendt som en bug, så vil man faktisk modtage en e-mail i forbindelse med at disse bugs er blevet rettet – så det er lidt ligesom at få skatteopgørelsen fra skat hver år! Har du fået en e-mail er du heldig – din bug er blevet fixet… Har du ikke, nå, du må vente lidt på en hot-fix eller næste release… <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Jeg så ikke så mange improvements i denne liste – men det har sin naturlige forklaring – forbedringere har fået sine helt egne dokumenter! Dynamicweb 7.1 er jo en stor forbedring af Dynamicweb CMS og eCommerce.</p>
<h2>Technical release notes, Dynamicweb 7.1</h2>
<p>Jeg går lige i kødet på det jeg har kunne læse mig frem til i <a title="PDF: Technical release notes til Dynamicweb CMS 7.1" href="http://engage.dynamicweb-cms.com/Admin/Public/DWSDownload.aspx?File=Files%2fFiler%2fDocumentation%2fRelease%2fDynamicweb+7.1%2f(en-US)+Technical+Release+Notes%2c+Dynamicweb+7.1.pdf" target="_blank">denne PDF fil</a>.</p>
<h4>2.1.2 Global tags section in navigation XML</h4>
<p>Dette er jo bestemt en relevant og god ting når man skal lave navigation på et website, at man har adgang til de globale information der ligger i <a title="Dynamicweb  - template tags documentation: Global tags" href="http://templates.dynamicweb.dk/TemplateTags/Dynamicweb-template-tags/General-tags/Global-template-tags.aspx" target="_blank">global tags</a>. At det skulle være noget nyt for Dynamicweb 7.1 – hmm… det er jeg nu ikke så sikker på <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I de løsninger som kører på 7.0xx er der allerede dette tilgængeligt. Se her – et screenshoot af en del af den XML som er tilgængeligt på Bleau’s hjemmeside:</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/05/image14.png" rel="lightbox[288]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="et screenshoot af en del af den XML som er tilgængeligt på Bleau’s hjemmeside" border="0" alt="et screenshoot af en del af den XML som er tilgængeligt på Bleau’s hjemmeside" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/05/image_thumb10.png" width="833" height="188" /></a> </p>
<p>Men – fedt er det at man har det tilgængeligt i XML’en! Ingen tvivl om det <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Faktisk tror jeg at en de nævnte forbedringer allerede er blevet frigivet inden 7.1.</p>
<h4>2.1.3 Support for relative xsl:import</h4>
<p>Min kære kollega Morten Bengtson (Twitter: <a title="http://twitter.com/mbengtson" href="http://twitter.com/mbengtson">http://twitter.com/mbengtson</a>) blev takket i forbindelse med denne forbedring. Jeg synes også at det er på sin plads i den forbindelse lige at takke den anden vej: Tak DW for at I lytter når I får velbeskrevne forbedrings ønsker ind! </p>
<p>Inden man kunne anvende relative stier i XSL:import var det praktisk talt urealistisk at lave seriøs anvendelse af biblioteker og delt data på tværs af XSLT templates. Det er nu realtistisk at have XSLT templates og XML data liggende i biblioteker som man så flere steder kan tilgå i sine templates. Endnu et argument for at anvende XSLT templates.</p>
<h4>2.1.4 Limiting loops in XSLT</h4>
<p>Jeg har tidligere stødt på denne “forbedring”. Lige pludselig var der nogle data i loops der lå “langt nede” i eCommerces relative dybe loop-struktur som var ikke eksisterende. Det er så når man fra Dynamicwebs side har ment at det kunne være smart at man kunne begrænse hvilke loops der blev gennemløbet gennem denne “forbedring”. Men den ryger i kategorien:</p>
<blockquote><p>Man begår kun fejlen &#8211; ikke at forholde sig til hvilke loops der skal med &#8211; een gang! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
</blockquote>
<p>I toppen af din XSLT skal du bare huske at fortælle DW hvilke loops du vil have med ud:</p>
</p>
<pre>&lt;xsl:variable name=&quot;availableloops&quot; select=&quot;'Groups,Products'&quot; /&gt;</pre>
</p>
<p>Men det skal lige nævnes at DW siger at hvis man har fulgt deres anbefalinger om at matche således loop[@name='aLoopName'] så er den hellige grav velforvaret. Åh, og så kan du iøvrigt også være doven og skrive “*” i den variabel “avilableloops” – så får du bare ikke performance forbedring.</p>
<h4>2.3.2 Search page</h4>
<p>Okay, man har nu tilføjet endnu en templatetag som kan anvendes så man ikke skal hardcode ID’er ind til den side hvor man nu har sit søgeresultat….</p>
</p>
<blockquote>
<pre>&lt;!--@DwAreaSearchPageID--&gt;</pre>
</blockquote>
<p>Jeg må sige at jo – det kan da være en god ting og er endnu et patch/quick help-fix som gør det nemmere for…? Frontendere? Kunder? Øh… jeg er i tvivl.<br />
  <br />Taggets værdi baseres på noget som jeg mener er relativt gaffatape-agtigt:</p>
<blockquote>
<p>..It is now possible to retrieve <strong><em>the first created search page in the current area</em></strong> by using this</p>
<p>new template tag.</p>
</blockquote>
<ol>
<li>Så må jeg jo passe på at jeg ikke indsætter searchresult moduler ind for så bliver de jo lige pludselig target for mit søgeresultat!</li>
<li>Hvis jeg har flere søgninger på et site (en der søger generelt i sider, en der søger i HR, en der søger i eCommerce), så kan jeg ikke bruge denne tag til noget…</li>
</ol>
<h4>4.2 Getimage.aspx</h4>
<p>Der er nogle forbedringer, jeg havde en dialog med Nicolai Petersen (twitter: <a title="http://twitter.com/nicped" href="http://twitter.com/nicped">http://twitter.com/nicped</a>) hvor jeg forsøgte at argumentere for at man kunne få Getimage.aspx til at indpasse et billede til både højde og bredde. Jeg har ikke kunne læse mig til det – men afventer svar fra <a title="http://twitter.com/nicped" href="http://twitter.com/nicped">http://twitter.com/nicped</a>.</p>
<p>Hvis man f.eks. satte både højde og bredde til 100 ville man med henholdsvis et bredformat og højformat billede automatisk få en indpasning af <strong>hele</strong> billedet i både bredde og højde som vist her:</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/05/image15.png" rel="lightbox[288]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="GetImage.aspx som den kan tage sig ud - her er valgt både højde og bredde på 100px" border="0" alt="GetImage.aspx som den kan tage sig ud - her er valgt både højde og bredde på 100px" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/05/image_thumb11.png" width="746" height="426" /></a> </p>
<p>Resultatet:</p>
<p>&#160;</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2010/05/image16.png" rel="lightbox[288]"><img style="border-bottom: 0px; border-left: 0px; margin: 5px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.netsi.dk/wordpress/wp-content/uploads/2010/05/image_thumb12.png" width="586" height="282" /></a> </p>
<h4>4.3 404 on area</h4>
<p>Det er rigtig godt – nu kan man have en “404 not found” side pr. sproglag! Cool når man anvender Dynamicweb med sproglag som ikke nødvendigvis er samme firma! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h4>4.5 Google JS API includes</h4>
<p>Det er spændende – det er en måde at få ensartet anvendelse af frontend javascript implemtering metoder. Jeg har så stor forventning i forhold til om der også er lavet en generisk måde at inkludere javascript og CSS på i forhold til enkelte moduler på afsnit. Et rygte (og et screenshoot jeg har set) viser at man for <strong>alle</strong> moduler ovenover settings har settings: en til valg af javascript fil og en til valg af stylesheet. <strong>Dette gør at man kan nøjes med at hente f.eks. jQuery plugins ind når de skal bruges</strong>. Om det så er kommet med i 7.1 kan jeg ikke læse mig til ud af dokumentationen – jeg må vente jeg får fingerne i en live version – eller en eller anden der har prøvet det eller bare ved det kommenterer på denne blog post <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h2>Konklussion</h2>
<p>Jeg har været kritisk her i denne post – indrømmet. Jeg er ikke i tvivl om at jeg senere vil skrive et andet indlæg hvor jeg kan fortælle om alle de rare forbedringer som er med i DW 7.1! Men jeg mener også at det er vores sure pligt som brugere af systemet at markere når der er noget man ikke synes er helt forståeligt eller optimalt. Generelt synes jeg at det jeg har hørt og læst om DW 7.1 er positivt og det tyder på at man forsøger at streamline produktet, at gøre det nemmere at anvende det og forbedre faciliteterne. Udfra Dynamicweb 7.1 technical release notes har jeg kunne skrive ovenstående – det er derfor vigtigt at have det i baghovedet: Jeg har skrevet om det dokument – ikke en anmeldelse af DW 7.1! Den kommer senere! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/05/24/kommentarer-til-dynamicweb-7-1-technical-realease-notes/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/05/24/kommentarer-til-dynamicweb-7-1-technical-realease-notes/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/05/24/kommentarer-til-dynamicweb-7-1-technical-realease-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamicweb eCommerce: How to redirect to basket after user have added something to the basket</title>
		<link>http://www.netsi.dk/wordpress/index.php/2010/01/25/dynamicweb-ecommerce-how-to-redirect-to-basket-after-user-have-added-something-to-the-basket/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2010/01/25/dynamicweb-ecommerce-how-to-redirect-to-basket-after-user-have-added-something-to-the-basket/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 09:36:08 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[eCommerce]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[shop]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2010/01/25/dynamicweb-ecommerce-how-to-redirect-to-basket-after-user-have-added-something-to-the-basket/</guid>
		<description><![CDATA[When using the eCommerce system in Dynamicweb CMS you can add a param to the form which will then send the user to the basket after he/she have added an item to the basket. That is sometimes a logical step for some shop types. The soloution is simpel, just add a param called redirect as a hidden input field like this:
&#60;input type=&#34;hidden&#34; name=&#34;redirect&#34; id=&#34;redirect&#34; value=&#34;/default.aspx?id=156&#34; /&#62;
In this example Dynamicweb will [...]]]></description>
			<content:encoded><![CDATA[<p>When using the eCommerce system in Dynamicweb CMS you can add a param to the form which will then send the user to the basket after he/she have added an item to the basket. That is sometimes a logical step for some shop types. The soloution is simpel, just add a param called redirect as a hidden input field like this:</p>
<p>&lt;input type=&quot;hidden&quot; name=&quot;redirect&quot; id=&quot;redirect&quot; value=&quot;/default.aspx?id=156&quot; /&gt;</p>
<p>In this example Dynamicweb will send the user to the page with the ID 156 when the form is submitted.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/01/25/dynamicweb-ecommerce-how-to-redirect-to-basket-after-user-have-added-something-to-the-basket/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2010/01/25/dynamicweb-ecommerce-how-to-redirect-to-basket-after-user-have-added-something-to-the-basket/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2010/01/25/dynamicweb-ecommerce-how-to-redirect-to-basket-after-user-have-added-something-to-the-basket/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using C# in XSLT transformations &#8211; Very strong tool!</title>
		<link>http://www.netsi.dk/wordpress/index.php/2009/12/19/using-c-in-xslt-transformations-very-strong-tool/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2009/12/19/using-c-in-xslt-transformations-very-strong-tool/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 12:11:48 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[C# in XSLT]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2009/12/19/using-c-in-xslt-transformations-very-strong-tool/</guid>
		<description><![CDATA[When I build websites in Dynamicweb CMS I use XSLT templates. At the moment it is based on XSLT 1.0 which in its XSLT nature ofcause is much stronger than HTML based templates, but somehow limited compared to all the nice features which are defined in XSLT 2.0.
You may however extend to the extreme the facilities by using C# code in XSLT! I will start writing about the things I [...]]]></description>
			<content:encoded><![CDATA[<p>When I build websites in Dynamicweb CMS I use XSLT templates. At the moment it is based on XSLT 1.0 which in its XSLT nature ofcause is much stronger than HTML based templates, but somehow limited compared to all the nice features which are defined in XSLT 2.0.</p>
<p>You may however extend to the extreme the facilities by using C# code in XSLT! I will start writing about the things I discover in this direction, writing about pros and cons. For now I wil not give any concrete examples, only mention that I have made an XSLT templates which gets a RSS feed (does a remoteHTTP request) and displays the transformed contents on a Dynamicweb page! Very cool! Something which I actually could not do without having to code my own Dynamicweb module!</p>
<p>It Rocks and I will start to think this into future templates – taking into account ofcause the pros and cons of that path!! This might just prove to be the best christmas present in the IT area of my life, this year!</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/12/19/using-c-in-xslt-transformations-very-strong-tool/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/12/19/using-c-in-xslt-transformations-very-strong-tool/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2009/12/19/using-c-in-xslt-transformations-very-strong-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Finally &#8211; webdav access to Dynamicweb websites!</title>
		<link>http://www.netsi.dk/wordpress/index.php/2009/12/17/finally-webdav-access-to-dynamicweb-websites/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2009/12/17/finally-webdav-access-to-dynamicweb-websites/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 19:29:03 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/index.php/2009/12/17/finally-webdav-access-to-dynamicweb-websites/</guid>
		<description><![CDATA[So far if you are working on a Dynamicweb website you had to use the backend “filemanager” or buy a FTP account for your website if you wanted to work with the files on the site. With the latest release Dynamicweb 7,&#160; it is now possibel to use webdav, allowing you to open and save directly on the server from your computer!
 
What you have to do is to setup [...]]]></description>
			<content:encoded><![CDATA[<p>So far if you are working on a Dynamicweb website you had to use the backend “filemanager” or buy a FTP account for your website if you wanted to work with the files on the site. With the latest release Dynamicweb 7,&#160; it is now possibel to use webdav, allowing you to open and save directly on the server from your computer!</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2009/12/image2.png" rel="lightbox[162]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.netsi.dk/wordpress/wp-content/uploads/2009/12/image_thumb2.png" width="613" height="465" /></a> </p>
<p>What you have to do is to setup a virtual path in “Management center &gt; Web and HTTP &gt; Webdav”. Next you need to create a connection to a networkdrive on your computer:</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2009/12/image3.png" rel="lightbox[162]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.netsi.dk/wordpress/wp-content/uploads/2009/12/image_thumb3.png" width="607" height="453" /></a> </p>
<p>I use windows vista and the above is how it might look in that&#160; windows vista.</p>
<p>You will then be promped for username and password, which is the administrator username and password. When that is done – if everything goes well – you will have a new drive which points to the “/files” section of the Dynamicweb website!</p>
<p>From there on you can treat the webdav based &quot;network drive” as a normal drive! You can copy and paste from local drives, open documents directly and well everything you are used to working on local drives! Very nice improvement! Well done Dynamicweb! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/12/17/finally-webdav-access-to-dynamicweb-websites/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/12/17/finally-webdav-access-to-dynamicweb-websites/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2009/12/17/finally-webdav-access-to-dynamicweb-websites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some of the features of Dynamicweb 7 &#8211; part 1</title>
		<link>http://www.netsi.dk/wordpress/index.php/2009/09/14/some-of-the-features-of-dynamicweb-7-part-1/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2009/09/14/some-of-the-features-of-dynamicweb-7-part-1/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 20:12:13 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[dynamicweb]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/?p=100</guid>
		<description><![CDATA[I have had the chance to examine a beta version of Dynamicweb 7 – the soon to be released (mid September 2009) by Dynamicweb Systems. I decided to write the impression down here to anyone who might be interested in this new release.
I will be writing about the “backend” of the system – this is where you mange your content. 
Please excuse me if some of the features mentioned are [...]]]></description>
			<content:encoded><![CDATA[<p>I have had the chance to examine a beta version of Dynamicweb 7 – the soon to be released (mid September 2009) by Dynamicweb Systems. I decided to write the impression down here to anyone who might be interested in this new release.</p>
<p>I will be writing about the “backend” of the system – this is where you mange your content. </p>
<p>Please excuse me if some of the features mentioned are not new to this version! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I tend to focus on the parts of DW which I use as a frontend developer! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I will be writing as I watch and learn, so probertly this will only be the first part of a series of articels (not sure of that however).</p>
<p>So here we go:</p>
<p><strong><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image1.png" rel="lightbox[100]"><img style="border-right-width: 0px; margin: 0px 10px 10px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="left" src="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image-thumb.png" width="240" height="172" /></a>Office 2007 look’n’feel       <br /></strong>In general the whole system has been given a facelift towards a office 2007 look’n’feel. I will not judge if this is cool or not – but it will make it feel familar for many of the editors allready using the MS Office 2007 package.</p>
<p>&#160;</p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image2.png" rel="lightbox[100]"><img style="border-right-width: 0px; margin: 0px 10px 10px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="left" src="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image-thumb1.png" width="240" height="238" /></a> <strong><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image3.png" rel="lightbox[100]"><img style="border-right-width: 0px; margin: 0px 0px 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image-thumb2.png" width="137" height="52" /></a>The filemanager (filarkiv)       <br /></strong>One thing I saw at once is the option to view the files in various ways – like you can in Windows Vista. So you have the details views you allready know + 3 other views.</p>
<p>On each image you can see many details about the image if you choose properties. You can even see where it is used (under the tab “References”, and click to go directly to that paragraph. Nice work!    </p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image4.png" rel="lightbox[100]"><img style="border-right-width: 0px; margin: 0px 0px 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image-thumb3.png" width="187" height="177" /></a></p>
<p><strong>An image editor…      <br /></strong>Images can be edited in a new image editor. To be honest this is something which I personally will never use – but respect must be given to the people at DW: The product will be more friendly for some of the users – people who have small websites and might be able to save money when doing simple image editing with this tool instead of paying an advertisement agency for doing that part. The tool looks nice – well done DW!</p>
<p><strong>The editor… oh no…. again…      <br /></strong>It the last release – you might call it a pre-release of the current user interface – the editor messed up my code, which lead to me never (!) using the otherwise nice features which it offered. The <strong>big</strong> problem is that when you write code like Dynamicweb tags – say: <code>&lt;!—@test--&gt;</code>, the editor would change it to <span style="color: red">!—@test&#8211;</span> when you finished the tag! So you never knew if what you wrote was “intelligently” converted into something else. I wonder if the control which it is based is a version of <em>Microsoft frontpage</em>… <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>The templates – my christmas (2009!) wish!? <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />       <br /></strong>The version which I have been able to play with did not have the templates included. On that field many people have been looking forward to a <em>new set of div based templates</em>. I wish that sometime (soon?) Dynamicweb will release two sets of DIV baesed templates: HTML and XSLT versions!</p>
<p><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image5.png" rel="lightbox[100]"><img style="border-right-width: 0px; margin: 15px 0px 0px 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image-thumb4.png" width="240" height="89" /></a> <strong>The navigation tree      <br /></strong>As far as I can see many resources have been put into making the page creating and handling easier (for newcommers?). One example is the “Page templates” part of the navigation tree. Pages you put here becomes “master pages” you can use when inserting new pages! Very smart! This will be very usefull as it is more intuative that the old way of adding pages of different style and content. Nice move DW!     </p>
<p><strong>Pages have many improvements, here are a few:</strong></p>
<ol>
<li>Meta data on each page, now with auto suggestions… </li>
<li>Automatic HTML validation on a page, with a link to view what does not validate:      <br /><a href="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image6.png" rel="lightbox[100]"><img style="border-right-width: 0px; margin: 0px 0px 0px 15px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://www.netsi.dk/wordpress/wp-content/uploads/2009/09/image-thumb5.png" width="439" height="388" /></a> </li>
<li>Global paragraph’s are now a viewed as collection of paragraphs. So when you choose insert global paragraph you get <em>one</em> window containing the global paragraphs which are defined! Cool! </li>
<li>Much enhanced user control! </li>
</ol>
<p><strong>Things which I have not yet touched      <br /></strong>I know that a much expected Data manager has been released as a module in beta. I allows you do handle basic database related things in a more elegant way than in database publisher. </p>
<p>The “SQL Firehorse” have been released to all users! You can execute SQL statements in a sort of query analyser fashing! Nice nice – <strong>and can be dangerous!!! Watch you queries!</strong> </p>
<p>I am getting tired for tonight – perhaps I find resources another night to write more, and maybe after I have seen the final release this wednesday I will be inspired! See you then!</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/09/14/some-of-the-features-of-dynamicweb-7-part-1/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/09/14/some-of-the-features-of-dynamicweb-7-part-1/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2009/09/14/some-of-the-features-of-dynamicweb-7-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Dynamicweb video casts &#8211; great if you need to improve your Dynamicweb skiils!</title>
		<link>http://www.netsi.dk/wordpress/index.php/2009/06/23/dynamicweb-video-casts-great-if-you-need-to-improve-your-dynamicweb-skiils/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2009/06/23/dynamicweb-video-casts-great-if-you-need-to-improve-your-dynamicweb-skiils/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 18:02:08 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/?p=70</guid>
		<description><![CDATA[Sebastian Dammark is working at Dynamicweb Systems. He has produced some video casts which can help you if you are implementing websites using Dynamicweb CMS. Here is an example:

Find other video casts here
Share on Facebook]]></description>
			<content:encoded><![CDATA[<p><a href="http://dammark.dk/" title="The website of Sebastian Dammark">Sebastian Dammark</a> is working at Dynamicweb Systems. He has produced some video casts which can help you if you are implementing websites using Dynamicweb CMS. Here is an example:</p>
<p><embed allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="http://blip.tv/play/AwGX7Hc" height="375" width="500"></embed></p>
<p>Find other <a href="http://dynamicweb.blip.tv/" title="http://dynamicweb.blip.tv/">video casts here</a></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/06/23/dynamicweb-video-casts-great-if-you-need-to-improve-your-dynamicweb-skiils/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/06/23/dynamicweb-video-casts-great-if-you-need-to-improve-your-dynamicweb-skiils/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2009/06/23/dynamicweb-video-casts-great-if-you-need-to-improve-your-dynamicweb-skiils/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting the right contents when using Dynamicweb CMS templates</title>
		<link>http://www.netsi.dk/wordpress/index.php/2009/06/13/getting-the-right-contents-when-using-dynamicweb-cmd-templates/</link>
		<comments>http://www.netsi.dk/wordpress/index.php/2009/06/13/getting-the-right-contents-when-using-dynamicweb-cmd-templates/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 07:04:12 +0000</pubDate>
		<dc:creator>netsi</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[dynamicweb]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[xslt]]></category>

		<guid isPermaLink="false">http://www.netsi.dk/wordpress/?p=59</guid>
		<description><![CDATA[In the CMS system I work with – Dynamicweb CMS – content is build around various templates, each containing a output from the system. The output is generated using ASP.NET and each bit of content is represented in a “tag”. For instance if you want the name of the user which has logged on the page you enter
&#60;!—@Global:Extranet.Name--&#62;
Such templates are based on HTML, it is: You create static parts of [...]]]></description>
			<content:encoded><![CDATA[<p>In the CMS system I work with – <a href="http://www.dynamicweb.dk" title="Visit the company which have created the CMS sytem called Dynamicweb CMS">Dynamicweb CMS</a> – content is build around various templates, each containing a output from the system. The output is generated using ASP.NET and each bit of content is represented in a “tag”. For instance if you want the name of the user which has logged on the page you enter</p>
<pre>&lt;!—@Global:Extranet.Name--&gt;</pre>
<p>Such templates are based on <strong>HTML</strong>, it is: You create static parts of HTML and insert tags where you want the system to insert dynamic content.</p>
<p>You might want to do something like this:</p>
<pre>...&lt;div&gt;Hi &lt;!—@Global:Extranet.Name--&gt;!&lt;/div&gt;...</pre>
<p>So far so good! But what if the user has not logged in? You will need to do one of three things:</p>
<h3>The Javascript soloution</h3>
<p>Put shortly: Using javascript to control which content is shown is basically not a good idea. But today almost anyone browsing the net has javascript turned on, and the trend (IMHO) goes towards very powerfull javascript parts. Another discussion is that: &#8220;Why give a visitor contents if you allready before you start sending information (HTML) that the content is not really relevant?&#8221;. Well, another article about that.. <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Here goes:</p>
<pre>...&lt;script type="text/javascript"&gt;
if ('&lt;!—@Global:Extranet.Name--&gt;'!='') {
document.write('&lt;div&gt;Hi &lt;!—@Global:Extranet.Name--&gt;!');
}
&lt;/script&gt;...</pre>
<h3>The CSS soloution</h3>
<p>This is actually not a way which I would say always works! But the theory is that you put CSS classes  on HTML tags that are build around a classname-prefix (“customerNumber” for instance) and then add the dynamic value from Dynamicweb CMS as postfix. So if a user has logged in a classname would be for instance “customerNumber342” for a customer with the number 342. A customer who has not yet logged in would give a classname “customerNumber”. So if we by default hide the classname “customerNumber” any other classnames would be displayed! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Cute right? But the problem can rise when sometime certain Dynamicweb template tags are not replaced, even if it has no value. That way you might end up with</p>
<pre>“customerNumber&lt;!--@Global:Extranet.CustomerNumber--&gt;”</pre>
<p>That would even be invalid HTML! <img src='http://www.netsi.dk/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  Anyway here is how a CSS based soloution could be.</p>
<pre>&lt;head&gt;.. &lt;style type="text/css"&gt;
.customerNumber {display: none;}
&lt;/style&gt;
..
&lt;/head&gt;&lt;body&gt;
...
&lt;div class="customerNumber&lt;!--@Global:Extranet.CustomerNumber--&gt;"&gt;
Hi &lt;!—@Global:Extranet.Name--&gt;!
&lt;/div&gt;</pre>
<h3>The <em>If Defined </em>soloution</h3>
<p>Dynamicweb CMS offers a way to check if a tag has content, and only pass the  content within the IF-ENDIF if a tag has content.</p>
<pre>&lt;<a href="mailto:!--@If%20Defined(Global:Extranet.Name)--">!--@If Defined(Global:Extranet.Name)--</a>&gt;
&lt;div&gt;Hi &lt;!—@Global:Extranet.Name--&gt;!&lt;/div&gt;
&lt;!--@EndIf(Global:Extranet.Name)--&gt;</pre>
<pre>...&lt;div&gt;Hi &lt;!—@Global:Extranet.Name--&gt;!&lt;/div&gt;...</pre>
<p>These are just 3 ways of making workaround in Dynamicweb CMS, you could ofcause come up with more! For instance combining the javascript and CSS soloution.</p>
<h3>XSLT Templates comes to our rescue – well almost!</h3>
<p>Imagine that you build your content using XSLT: Dynamicweb CMS will build a XML document containing all the “template tag values” in a structured way. A tiny bit of this XML document might be:</p>
<pre>...&lt;Global.Extranet.Name&gt;342&lt;/Global.Extranet.Name&gt;...</pre>
<p>So this way <strong>you</strong> decide if it is relevant to produce output based on “real” values! You can use the power of XSLT/XPATH to decide what to do. An example:</p>
<pre>&lt;xsl:if test="Global.Extranet.Name!=''"&gt;
&lt;div&gt;Hi &lt;xsl:value-of select="Global.Extranet.Name" /&gt;!&lt;/div&gt;
&lt;/xsl:if&gt;</pre>
<p>All this is done <strong>before</strong> the content has been send to the client (in Dynamicweb Backend). It is a clean powerfull way to produce exactly what is needed for the page to render as wished.</p>
<h3></h3>
<h3>Nothing is perfect…</h3>
<p>When all this is said, I must warn you: <strong>The XSLT templates path is – I am sad to say – not always perfect in Dynamciweb CMS</strong>. The XML document does not always have all tags. I have some workarounds which I will write about in a later article.</p>
<p>You can see all template tags at <a href="http://templates.dynamicweb.dk/" title="Dynamicweb Template Tag Reference">templates.dynamicweb.dk</a>.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/06/13/getting-the-right-contents-when-using-dynamicweb-cmd-templates/" target="_blank"><img src="http://www.netsi.dk/wordpress/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://www.netsi.dk/wordpress/index.php/2009/06/13/getting-the-right-contents-when-using-dynamicweb-cmd-templates/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.netsi.dk/wordpress/index.php/2009/06/13/getting-the-right-contents-when-using-dynamicweb-cmd-templates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
