A blog for Dynamicweb CMS and Dynamicweb eCommers users and developers

Category Archives: Quickguides

Show/hide global basket using if-defined

If you have a Dynamicweb eCommerce based website you may have placed a global basket in the master file (DW7 design or old style master template). Here is a quick and dirty example of controling html should be included if … Continue reading

Share

Quick and dirty: Add a Facebook “I like” to your page

This is a quick and dirty way to add the Facebook “I like” functionality to any Dynamicweb page. Simply copy and paste the code below into your layout or HTML page template. <div id=”fb-root”></div><script src=”http://connect.facebook.net/da_DK/all.js#xfbml=1″></script><script type=”text/javascript”>var sURIEncoded = encodeURIComponent(‘<!–@Global:Request.AbsoluteUri–>’); document.write(‘<fb:like … Continue reading

Share

eCommerce: Quick and dirty javascript for marking product as “in basket”

When you use Dynamicweb eCommerce you sometimes want to make products allready in the basked stand out. This is a quick and dirty way to mark products “inbasket” if the user have added the product/variant to the basket. The situation … Continue reading

Share

Quick and dirty javascript print for DW layout based webpages

This is a quick and dirty way to force a page to be viewed using a print layout template. The situation You have a website where you want a print button/link which will view the current page using a layout … Continue reading

Share

automatic adapt image width

This example uses Dynamicweb CMS getimage.aspx function, a paragraph template combined with a custom jQuery plug-in to apply automatic image scaling client side. The paragraph template will put the selected paragraphImageClean tag inside the TITLE tag of an IMG tag. … Continue reading

Share