<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Web design blog</title>
		<link>http://www.chillburn.com.au/blog/</link>
		<atom:link href="http://www.chillburn.com.au/blog/" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>SilverStripe &amp; Foundation 4: How to fix the 403 javascript error in the foundation vendor folder</title>
			<link>http://www.chillburn.com.au/blog/silverstripe-foundation-4-how-to-fix-the-403-javascript-error-in-the-foundation-vendor-folder/</link>
			<description>&lt;p&gt;SilverStripe by default blocks access to the vendor folder using the following htaccess rule&lt;strong&gt; RedirectMatch 403 /vendor(/|$) &lt;/strong&gt;This blocks access to all vendor folders.&lt;strong&gt; &lt;/strong&gt;To allow access to themes/themename/javascripts/vendor we need to add the ^ character to the start of the htaccess rule &lt;strong&gt;RedirectMatch 403 ^/vendor(/|$)&lt;/strong&gt;&lt;/p&gt;</description>
			<pubDate>Sat, 27 Apr 2013 04:41:46 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/silverstripe-foundation-4-how-to-fix-the-403-javascript-error-in-the-foundation-vendor-folder/</guid>
		</item>
		
		<item>
			<title>How to work on a foundation 3 project after installing foundation 4</title>
			<link>http://www.chillburn.com.au/blog/how-to-work-on-a-foundation-3-project-after-installing-foundation-4/</link>
			<description>&lt;p&gt;After installing the foundation 4 gem, you cannot compile foundation 3 projects. This error will bitch slap you in the face. &lt;strong&gt;sass/app.scss (Line 1 of sass/_settings.scss: File to import not found or unreadable: foundation/common/ratios.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Lets get this sorted out. Just in case, take a backup of your project. &lt;/p&gt;
&lt;h2&gt;1. Install bundler&lt;/h2&gt;
&lt;pre class=&quot;brush:php&quot;&gt;sudo gem install bundler&lt;/pre&gt;
&lt;h2&gt;2. Create a gem file for your project&lt;/h2&gt;
&lt;p&gt;Create a file called Gemfile (no extension) and put this in your project folders root. Put the following content in it. Change 3.2.5 to what version you want to install.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;source &quot;https://rubygems.org&quot;
gem &quot;zurb-foundation&quot;, &quot;3.2.5&quot;
gem &quot;compass&quot;
&lt;/pre&gt;
&lt;h2&gt;3. Install the gems&lt;/h2&gt;
&lt;pre class=&quot;brush:php&quot;&gt;bundle install&lt;/pre&gt;
&lt;h2&gt;4. Compile the project&lt;/h2&gt;
&lt;p&gt;Instead of using &lt;strong&gt;compass watch&lt;/strong&gt; we will now use &lt;strong&gt;bundle exec compass watch&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Don't forgot to make a change to app.scss so that it get re-compiled.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://rubygems.org/gems/zurb-foundation/versions&quot;&gt;Foundation version history&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://gembundler.com/&quot;&gt;Bundler docs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://foundation.zurb.com/docs/sass.html&quot;&gt;Foundation install docs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
			<pubDate>Wed, 24 Apr 2013 01:00:38 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/how-to-work-on-a-foundation-3-project-after-installing-foundation-4/</guid>
		</item>
		
		<item>
			<title>LemonStand: Adding calculated columns to an extended model such as shop:onExtendOrderModel</title>
			<link>http://www.chillburn.com.au/blog/lemonstand-adding-calculated-columns-to-an-extended-model-such-as-shop-onextendordermodel/</link>
			<description>&lt;p&gt;Just about to launch a complicated LemonStand website that has three tier order tracking that involves discounts and commissions which required some calculated columns for admin reporting so I thought i'd share how to add calculated columns to an extended model. &lt;/p&gt;
&lt;p&gt;I use the &lt;a href=&quot;http://lemonstand.com/api/event/shop:onextendordermodel/&quot; target=&quot;_blank&quot;&gt;shop:onExtendOrderModel&lt;/a&gt; event to extend the order model via a module. In the &lt;strong&gt;subscribeEvents&lt;/strong&gt; function, i use the following &lt;strong&gt;Backend::$events-&amp;gt;addEvent('shop:onExtendOrderModel', $this, 'extend_order_model'); &lt;/strong&gt;Pretty standard module stuff.&lt;/p&gt;
&lt;p&gt;Now i create a function called &lt;strong&gt;extend_order_model &lt;/strong&gt; where i'm just getting the count of orders by the customer. I haven't tested the query so hopefully it works :)&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;public function extend_order_model($order)
{	
	$query = 'SELECT COUNT(o.id) FROM shop_orders o WHERE shop_orders.customer_id = o.customer_id';
	$order-&amp;gt;define_column('calculated_column_num_orders', 'Number of orders');
	$order-&amp;gt;calculated_columns['calculated_column_num_orders'] = array('sql'=&amp;gt;$query, 'type'=&amp;gt;db_number);
}
&lt;/pre&gt;
&lt;p&gt;There is 3 lines in the function.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;1. The first line is the calculated column query&lt;/li&gt;
&lt;li&gt;2. We define a column called calculated_column_num_orders. &lt;/li&gt;
&lt;li&gt;3. We now add calculated_column_num_orders to the calculated_columns array.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;To allow the calculated column to be visible in the admin, use the  &lt;a href=&quot;http://lemonstand.com/api/event/shop:onextendorderform/&quot; target=&quot;_blank&quot;&gt;shop:onExtendOrderForm&lt;/a&gt; event. &lt;strong&gt;Backend::$events-&amp;gt;addEvent('shop:onExtendOrderForm', $this, 'extend_order_form');&lt;/strong&gt;&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;public function extend_order_form($order, $context)
{
	if ($context == &quot;preview&quot;) {
		$order-&amp;gt;add_form_field('calculated_column_num_orders')-&amp;gt;tab('Whatever Tab Details')-&amp;gt;renderAs(frm_text);
	}
}
&lt;/pre&gt;
&lt;p&gt;We need to check that the &lt;strong&gt;$context&lt;/strong&gt; variable is 'preview' or else the edit order page will break. Thanks to @lemonstand for helping me with this&lt;/p&gt;
&lt;h2&gt;Complete module&lt;/h2&gt;
&lt;pre class=&quot;brush:php&quot;&gt;class OrderIsupps_Module extends Core_ModuleBase
{
	protected function createModuleInfo()
	{
		return new Core_ModuleInfo(
			&quot;Order Extend module&quot;,
			&quot;Adds a calculated column to the order model&quot;,
			&quot;Gavin Bruce&quot; );
	}

	public function subscribeEvents()
	{
		Backend::$events-&amp;gt;addEvent('shop:onExtendOrderModel', $this, 'extend_order_model');
		Backend::$events-&amp;gt;addEvent('shop:onExtendOrderForm', $this, 'extend_order_form');

	}

	public function extend_order_model($order)
	{	
		$query = 'SELECT COUNT(o.id) FROM shop_orders o WHERE shop_orders.customer_id = o.customer_id';
		$order-&amp;gt;define_column('calculated_column_num_orders', 'Number of orders');
		$order-&amp;gt;calculated_columns['calculated_column_num_orders'] = array('sql'=&amp;gt;$query, 'type'=&amp;gt;db_number);
	}

	public function extend_order_form($order, $context)
	{
		if ($context == &quot;preview&quot;) {
			$order-&amp;gt;add_form_field('calculated_column_num_orders')-&amp;gt;tab('Whatever Tab Details')-&amp;gt;renderAs(frm_text);
		}
	}
}	
&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
			<pubDate>Thu, 14 Mar 2013 13:35:35 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/lemonstand-adding-calculated-columns-to-an-extended-model-such-as-shop-onextendordermodel/</guid>
		</item>
		
		<item>
			<title>Mobi Living website</title>
			<link>http://www.chillburn.com.au/blog/mobi-living-website/</link>
			<description>&lt;p&gt;I can't believe its been since July last year since I last wrote in this blog. I'm sure there has been lots of people spamming their refresh buttons, breaking keyboards and fingers waiting for an update. Get ready, here it is. Yeehaw!!!&lt;/p&gt;
&lt;p&gt;Originally there was talk in using wordpress, booooo, but we decided to go with SliverStripe 3. The site is a showcase of products with a blog with a few other sections added such as a custom built blog &amp;amp; collaborators section. &lt;/p&gt;
&lt;p&gt;I worked with &lt;a href=&quot;http://themightywonton.com/&quot; target=&quot;_blank&quot;&gt;themightywonton&lt;/a&gt; on this project who provided the creative.&lt;/p&gt;
&lt;p&gt;Visit the website: &lt;a href=&quot;http://mobiliving.com&quot; target=&quot;_blank&quot;&gt;mobiliving.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/mobi-contract/mobi-contract-1.jpg&quot; width=&quot;580&quot; height=&quot;444&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/mobi-contract/mobi-contract-2.jpg&quot; width=&quot;580&quot; height=&quot;444&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/mobi-contract/mobi-contract-3.jpg&quot; width=&quot;580&quot; height=&quot;444&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/mobi-contract/mobi-contract-4.jpg&quot; width=&quot;580&quot; height=&quot;444&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;Some technical details about the site:&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Content management system: &lt;/strong&gt;The site is built using SilverStripe 3 and uses the Dashboard and SortableGridField modules. The Dashboard is used as it creates a central area where just about anything can be changed on the site. A dashboard panel was developed that would show featured news items. &lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/mobi-contract/mobi-contract-5.jpg&quot; width=&quot;580&quot; height=&quot;371&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Front end development: &lt;/strong&gt;The following was used to develop the front end of the site.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://html5boilerplate.com/&quot; target=&quot;_blank&quot;&gt;HTML5 Boilerplate&lt;/a&gt; for the base template in which a custom design was created.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://jquery.com/&quot; target=&quot;_blank&quot;&gt;jQuery&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://buildinternet.com/2009/02/supersized-full-screen-backgroundslideshow-jquery-plugin/&quot; target=&quot;_blank&quot;&gt;jQuery SuperSized plugin&lt;/a&gt; which resizes the background image to the browser size.&lt;/li&gt;
&lt;li&gt;jQuery form and validation plugins to handle the validation on the product enquiry, product referral &amp;amp; product reminder forms.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://archive.slidesjs.com/&quot;&gt;slidesjs&lt;/a&gt; was used throughout the site to power the image slideshows.&lt;/li&gt;
&lt;li&gt;Other plugins used were hoverIntent and columnize.&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;We wanted to make the site perform as fast as possible so the following was done. &lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;&lt;li&gt;SilverStripe partial caching was used to cache parts of each page&lt;/li&gt;
&lt;li&gt;Javascript and StyleSheets were combined into single files to minimise http requests&lt;/li&gt;
&lt;li&gt;Sprites were also used to minimise http requests&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description>
			<pubDate>Thu, 14 Mar 2013 12:25:20 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/mobi-living-website/</guid>
		</item>
		
		<item>
			<title>Silverstripe 3 - Custom form layouts</title>
			<link>http://www.chillburn.com.au/blog/silverstripe-3-custom-form-layouts/</link>
			<description>&lt;p&gt;When design forms, I like to have full control over the layout so I extend the Form class and I create my own formname.ss file. The templating tags have changed a little bit from SilverStripe 2.4 to SilverStripe 3.&lt;/p&gt;
&lt;p&gt;Here is some quick changes you will need to apply to your templates to get them to work in SilverStripe 3. &lt;/p&gt;
&lt;table border=&quot;0&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt; &lt;/td&gt;
&lt;td&gt;&lt;strong&gt;SilverStripe 2.4&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;SilverStripe 3&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Display a field.&lt;/td&gt;
&lt;td&gt;$dataFieldByName(FieldName)&lt;/td&gt;
&lt;td&gt;&amp;lt;% with Fields %&amp;gt;$FieldByName(FieldName)&amp;lt;% end_if %&amp;gt;&lt;/td&gt;
&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;br/&gt;&lt;/td&gt;
&lt;td&gt;&lt;br/&gt;&lt;/td&gt;
&lt;td&gt;or $Fields.FieldByName(FieldName)&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt; &lt;/p&gt;
&lt;p&gt;If using &lt;strong&gt;$dataFieldByName(FieldName)&lt;/strong&gt; in SilverStripe3 you will get the following error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;[User Deprecated] Form-&amp;gt;dataFieldByName is deprecated. Use Fields() and FieldList API instead. Called from call_user_func_array.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;div id=&quot;_mcePaste&quot; style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;&quot;&gt;&amp;lt;tr&amp;gt;&lt;/div&gt;
&lt;div id=&quot;_mcePaste&quot; style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;&quot;&gt;&amp;lt;td&amp;gt;Displayafield.&amp;lt;/td&amp;gt;&lt;/div&gt;
&lt;div id=&quot;_mcePaste&quot; style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;&quot;&gt;&amp;lt;td&amp;gt;$dataFieldByName(FieldName)&amp;lt;/td&amp;gt;&lt;/div&gt;
&lt;div id=&quot;_mcePaste&quot; style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;&quot;&gt;&amp;lt;td&amp;gt;&amp;amp;lt;%withFields%&amp;amp;gt;$fieldByName(FieldName)&amp;amp;lt;%end_if%&amp;amp;gt;&amp;lt;/td&amp;gt;&lt;/div&gt;
&lt;div id=&quot;_mcePaste&quot; style=&quot;position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;&quot;&gt;&amp;lt;/tr&amp;gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;</description>
			<pubDate>Fri, 20 Jul 2012 08:01:32 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/silverstripe-3-custom-form-layouts/</guid>
		</item>
		
		<item>
			<title>My Messy Room e-commerce website</title>
			<link>http://www.chillburn.com.au/blog/my-messy-room-e-commerce-website/</link>
			<description>&lt;p&gt;Recently launched an e-commerce website for My Messy Room. The site is built in WordPress using the Woocommerce framework. Check it out. &lt;a href=&quot;http://www.mymessyroom.com.au&quot; target=&quot;_blank&quot;&gt;www.mymessyroom.com.au&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/my-messy-room/my-messy-room1.jpg&quot; width=&quot;580&quot; height=&quot;572&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/my-messy-room/my-messy-room2.jpg&quot; width=&quot;580&quot; height=&quot;572&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/my-messy-room/my-messy-room3.jpg&quot; width=&quot;580&quot; height=&quot;572&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;</description>
			<pubDate>Wed, 11 Jul 2012 01:35:20 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/my-messy-room-e-commerce-website/</guid>
		</item>
		
		<item>
			<title>Retrieving the values from an eNum field on a DataObject using the DataObjectDecorator</title>
			<link>http://www.chillburn.com.au/blog/retrieving-the-values-from-an-enum-field-on-a-dataobject-using-the-dataobjectdecorator/</link>
			<description>&lt;p&gt;On a recent project I needed to add an eNum field to a DataObject in SilverStripe using a DataObjectDecorator. When I tried to get the values from the eNum object, I was received the following error: &lt;strong&gt;Fatal error: Call to undefined method DataObjectNameDecorator::dbObject() &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The easy way would of been to modify the module, but thats just not cool. The problem was i was using&lt;strong&gt; $this-&amp;gt;dbObject('Fieldname')-&amp;gt;enumValues() &lt;/strong&gt;instead of using &lt;strong&gt;Singleton('DataObjectName')-&amp;gt;dbObject('Fieldname')-&amp;gt;enumValues()&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;</description>
			<pubDate>Thu, 28 Jun 2012 14:55:49 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/retrieving-the-values-from-an-enum-field-on-a-dataobject-using-the-dataobjectdecorator/</guid>
		</item>
		
		<item>
			<title>phillip&amp;lea e-commerce website powered by LemonStand</title>
			<link>http://www.chillburn.com.au/blog/phillip-lea-e-commerce-website-powered-by-lemonstand/</link>
			<description>&lt;p&gt;Recently launched the phillip&amp;amp;lea website just in time for the Melbourne Good Food &amp;amp; Wine Show. &lt;a href=&quot;http://phillipandlea.com.au&quot; target=&quot;_blank&quot;&gt;Go check it out.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The site is built in LemonStand with a lot of customisations which include:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;A custom built shipping method&lt;/li&gt;
&lt;li&gt;A custom built payment method which uses NAB Direct&lt;/li&gt;
&lt;li&gt;Modifications to the customer model which includes extra fields which are also used in the checkout &lt;/li&gt;
&lt;li&gt;Custom product layout with grouped products&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/phillip-and-lea/phillip-and-lea-1.jpg&quot; width=&quot;580&quot; height=&quot;544&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/phillip-and-lea/phillip-and-lea-2.jpg&quot; width=&quot;580&quot; height=&quot;472&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/phillip-and-lea/phillip-and-lea-3.jpg&quot; width=&quot;580&quot; height=&quot;472&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/phillip-and-lea/_resampled/resizedimage570600-phillip-and-lea-4.jpg&quot; width=&quot;570&quot; height=&quot;600&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;</description>
			<pubDate>Fri, 01 Jun 2012 09:47:31 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/phillip-lea-e-commerce-website-powered-by-lemonstand/</guid>
		</item>
		
		<item>
			<title>Getting TypeKit to work in a SSL / HTTPS environment</title>
			<link>http://www.chillburn.com.au/blog/getting-typekit-to-work-in-a-ssl-https-environment/</link>
			<description>&lt;p&gt;When using a third party service such as typekit or jquery, there is a little trick to display content in HTTP and HTTPS / SSL.&lt;/p&gt;
&lt;p&gt;You can use a // trick rather then http:// and https://  &lt;/p&gt;
&lt;p&gt;For typekit you can use the following:&lt;/p&gt;
&lt;pre id=&quot;line1&quot;&gt;&lt;span&gt;&amp;lt;&lt;span&gt;script&lt;/span&gt; &lt;span&gt;type&lt;/span&gt;=&quot;&lt;a&gt;text/javascript&lt;/a&gt;&quot; &lt;span&gt;src&lt;/span&gt;=&quot;&lt;a href=&quot;http://www.chillburn.com.au/view-source:http://use.typekit.com/yur4pzv.js&quot;&gt;//use.typekit.com/whatever.js&lt;/a&gt;&quot;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;lt;/script&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;For jQuery we can use&lt;/p&gt;
&lt;pre id=&quot;line1&quot;&gt;&lt;span&gt;&amp;lt;&lt;span&gt;script&lt;/span&gt; &lt;span&gt;src&lt;/span&gt;=&quot;&lt;a href=&quot;http://www.chillburn.com.au/view-source:http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js&quot;&gt;//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js&lt;/a&gt;&quot;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/pre&gt;</description>
			<pubDate>Fri, 01 Jun 2012 08:31:57 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/getting-typekit-to-work-in-a-ssl-https-environment/</guid>
		</item>
		
		<item>
			<title>Mitchell Torrens website launch</title>
			<link>http://www.chillburn.com.au/blog/mitchell-torrens-website-launch/</link>
			<description>&lt;p&gt;Just launched a website for Mitchell Torrens. Fans of Mitchell will be able to keep up to date with his movements and what he is up to.&lt;/p&gt;
&lt;p&gt;The website is built using the SilverStripe CMS and uses jQuery and a bit of CSS3. Check out the &lt;a href=&quot;http://www.mitchelltorrens.com/blog/&quot; target=&quot;_blank&quot;&gt;blog page&lt;/a&gt; and hover over one of the images and be amazed :)&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/Mitchell-Torrens/mitchell-torrens-website-1.jpg&quot; width=&quot;580&quot; height=&quot;388&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/Mitchell-Torrens/mitchell-torrens-website-2.jpg&quot; width=&quot;580&quot; height=&quot;388&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/Mitchell-Torrens/mitchell-torrens-website-3.jpg&quot; width=&quot;580&quot; height=&quot;388&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/Mitchell-Torrens/mitchell-torrens-website-4.jpg&quot; width=&quot;580&quot; height=&quot;388&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;</description>
			<pubDate>Tue, 24 Apr 2012 15:02:45 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/mitchell-torrens-website-launch/</guid>
		</item>
		
		<item>
			<title>Mater Fire Safety </title>
			<link>http://www.chillburn.com.au/blog/mater-fire-safety/</link>
			<description>&lt;p&gt;I worked with artshak who supplied the creative to create the layouts for the Mater Fire Training module. What I created was HTML5 layouts which uses HTML5 video which works in all browsers.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/Mater/mater1.jpg&quot; width=&quot;580&quot; height=&quot;478&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/Mater/mater2.jpg&quot; width=&quot;580&quot; height=&quot;430&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/Mater/mater3.jpg&quot; width=&quot;580&quot; height=&quot;422&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;center&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/Mater/mater4.jpg&quot; width=&quot;580&quot; height=&quot;422&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
			<pubDate>Sat, 21 Apr 2012 02:21:18 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/mater-fire-safety/</guid>
		</item>
		
		<item>
			<title>Central Coast Coatings website recently launched</title>
			<link>http://www.chillburn.com.au/blog/central-coast-coatings-website-recently-launched/</link>
			<description>&lt;p&gt;Recently launched a website for a local &lt;a href=&quot;http://centralcoastcoatings.com.au&quot; target=&quot;_blank&quot;&gt;Gold Coast Painter&lt;/a&gt;. If you are looking for a experienced, professional and reliable painter, I would suggest that you give Joel a call on 0488 196 776. You have a look at his website also. &lt;a href=&quot;http://centralcoastcoatings.com.au&quot; target=&quot;_blank&quot;&gt;centralcoastcoatings.com.au&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now for the tech details, the website was built using the SilverStripe CMS, HTML5 and jQuery.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/central-coast-coatings/central-coast-coatings-1.jpg&quot; width=&quot;580&quot; height=&quot;620&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;</description>
			<pubDate>Fri, 16 Mar 2012 04:47:25 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/central-coast-coatings-website-recently-launched/</guid>
		</item>
		
		<item>
			<title>Axis Marine website launched</title>
			<link>http://www.chillburn.com.au/blog/axis-marine-website-launched/</link>
			<description>&lt;p&gt;I worked with &lt;a href=&quot;http://www.creatingdemand.com.au&quot; target=&quot;_blank&quot;&gt;creating demand&lt;/a&gt; to launch the Axis Marine website. Basically its a website which lists premium quality brokerage listings.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/axis/_resampled/resizedimage580366-axis1.jpg&quot; width=&quot;580&quot; height=&quot;366&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/axis/_resampled/resizedimage580368-axis2.jpg&quot; width=&quot;580&quot; height=&quot;368&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
			<pubDate>Sat, 10 Mar 2012 06:57:16 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/axis-marine-website-launched/</guid>
		</item>
		
		<item>
			<title>Should we use WordPress</title>
			<link>http://www.chillburn.com.au/blog/should-we-use-wordpress/</link>
			<description>&lt;p&gt;WordPress is great at what its designed for (a blog) but it seems to be an insecure system. I have lots of enquiries to build WordPress websites and this is my attempt to convince people to consider an alternative secure CMS system.&lt;/p&gt;
&lt;p&gt;To support this argument, he is some recent press related to WordPress.&lt;/p&gt;
&lt;h3&gt;As many as 100,000 WordPress blogs infected 700,000 Macs with malware&lt;/h3&gt;
&lt;p&gt;21rd April 2012 - BetaNews&lt;/p&gt;
&lt;p&gt;If computer security is your thing -- it really should be everyone's -- and you own a Mac, Kaspersky's analysis of Flashfake malware, also called Flashback, is a must-read. Gasp, this is only part one. There's more to come from the security software developer. &lt;br/&gt;&lt;a href=&quot;http://betanews.com/2012/04/20/as-many-as-100000-wordpress-blogs-infected-700000-macs-with-malware/&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Flashback Spread via Hijacked WordPress Blogs&lt;/h3&gt;
&lt;p&gt;20th April 2012 - Security Watch&lt;/p&gt;
&lt;p&gt;If you found Flashback on your Mac, chances are you were infected after visiting compromised WordPress Websites, according to the latest analysis from Kaspersky Lab. &lt;br/&gt;&lt;a href=&quot;http://securitywatch.pcmag.com/malware/296886-flashback-spread-via-hijacked-wordpress-blogs&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Flashback Trojan spread by Wordpress web sites&lt;/h3&gt;
&lt;p&gt;20th April 2012 - The Inquirer&lt;/p&gt;
&lt;p&gt;COMPROMISED Wordpress web sites have been sending visitors to malware hosts that infect Mac OS X systems with the Flashback Trojan, security outfit Kaspersky Lab has reported. &lt;br/&gt;&lt;a href=&quot;http://www.theinquirer.net/inquirer/news/2169387/flashback-trojan-spread-wordpress-web-sites&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Hackers booby-trap WordPress site with botnet-weaving Trojan&lt;/h3&gt;
&lt;p&gt;23rd March 2012 - The Register&lt;/p&gt;
&lt;p&gt;Malware-flingers are taking advantage of vulnerable WordPress sites as part of an attack ultimately designed to spread an information-stealing botnet agent. &lt;br/&gt;&lt;a href=&quot;http://www.theregister.co.uk/2012/03/23/wordpress_vuln_botnet_exploit/&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Compromised WordPress sites serving client-side exploits and malware&lt;/h3&gt;
&lt;p&gt;21st March 2012 - ZD Net&lt;/p&gt;
&lt;p&gt;Security researchers from TrendMicro are reporting on mass compromise of WordPress sites, currently serving client-side exploits and malware to users who click on malicious links in the spamvertised emails connected with the campaign. &lt;br/&gt;&lt;a href=&quot;http://www.zdnet.com/blog/security/compromised-wordpress-sites-serving-client-side-exploits-and-malware/11008&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Compromised WordPress sites Drive Users to Blackhole Exploit Kit&lt;/h3&gt;
&lt;p&gt;21st March 2012 - Trend Labs&lt;/p&gt;
&lt;p&gt;We were alerted to reports of a mass compromise of WordPress sites that lead to CRIDEX infection. To lure users to these compromised sites, the cybercriminals behind this employed spammed messages purporting to come from known legitimate sources such Better Business Bureau and LinkedIn, just to name a few. These spam use social engineering tactics to entice unsuspecting users to click the link found in the email. &lt;br/&gt;&lt;a href=&quot;http://blog.trendmicro.com/compromised-wordpress-sites-drive-users-to-blackhole-exploit-kit&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Rogue Antivirus Campaign Tricks WordPress Users, Infects 30,000 Sites&lt;/h3&gt;
&lt;p&gt;8th March 2012 - Web Host Industry Review&lt;/p&gt;
&lt;p&gt;(WEB HOST INDUSTRY REVIEW) — Research by security firm Websense has found that about 30,000 WordPress websites have been infected with malicious code that distributes rogue antivirus software, according to a blog post published on Monday. &lt;br/&gt;&lt;a href=&quot;http://www.thewhir.com/web-hosting-news/rogue-antivirus-campaign-tricks-wordpress-users-infects-30000-sites&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Security Firm: Injection Hit 200,000 Sites&lt;/h3&gt;
&lt;p&gt;8th March 2012 - The Hosting News&lt;/p&gt;
&lt;p&gt;(The Hosting News) –WordPress represents one of the largest online blogging platforms, used by a variety of companies and entities for the purpose of maintaining their web presences. Not surprisingly, the platform itself has also long been a common target of those who seek to disrupt stability on the web – hackers. &lt;br/&gt;&lt;a href=&quot;http://www.thehostingnews.com/security-firm-injection-hit-200000-sites-23384.html&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;30K WordPress Blogs Attacked by Malware&lt;/h3&gt;
&lt;p&gt;8th March 2012 - Business 2 Community&lt;/p&gt;
&lt;p&gt;Do you have a WordPress website? If so, the latest news regarding WordPress’s security should have you more than a little concerned. According to Slashdot, 30,000 WordPress blogs and websites were infected with a recent malware scam. &lt;br/&gt;&lt;a href=&quot;http://www.business2community.com/trends-news/30k-wordpress-blogs-attacked-by-malware-0143814&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Rogue AV Campaign Infects More Than 200,000 Web Pages&lt;/h3&gt;
&lt;p&gt;7th March 2012 - Dark Reading Protect The Business&lt;/p&gt;
&lt;p&gt;Researchers at Websense have detected a widespread rogue antivirus campaign targeting more than 200,000 Web pages and close to 30,000 unique Web hosts.  &lt;br/&gt;&lt;a href=&quot;http://www.darkreading.com/vulnerability-management/167901026/security/news/232602207/rogue-av-campaign-infects-more-than-200-000-web-pages.html&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Rogue Antivirus Campaign Targets WordPress&lt;/h3&gt;
&lt;p&gt;8th March 2012 - Tech Week Europe&lt;/p&gt;
&lt;p&gt;A new wave of mass-injections of a fake antivirus campaign that appears to be targeting sites hosted by popular blogging platform WordPress, according to Websense it has detected &lt;br/&gt;&lt;a href=&quot;http://www.techweekeurope.co.uk/news/rogue-antivirus-campaign-targets-wordpress-65755&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;30,000 Wordpress Sites Infected to Redirect to Fake AV Sites&lt;/h3&gt;
&lt;p&gt;7th March 2012 - Maximum PC&lt;/p&gt;
&lt;p&gt;Fake antivirus is by no means a recent phenomenon. In fact, it has been around for ages, with the first documented instance of fake antivirus reportedly dating back to 1989. Of course, it has become much more widespread over the past few years. But in case you needed reminding that rogue antivirus software continues to be a threat, security firm Websense has just the reminder for you. &lt;br/&gt;&lt;a href=&quot;http://www.maximumpc.com/article/news/30000_wordpress_sites_infected_redirect_fake_av_sites&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Fake AV attack targets Wordpress users&lt;/h3&gt;
&lt;p&gt;7th March 2012 - Network World&lt;/p&gt;
&lt;p&gt;Security company Websense has detected a new wave of mass-injections of a well-known rogue antivirus campaign, targeting websites hosted by the WordPress content management system.  &lt;br/&gt;&lt;a href=&quot;http://www.networkworld.com/news/2012/030712-fake-av-attack-targets-wordpress-257030.html?hpg1=bn&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;New mass injection wave of WordPress websites&lt;/h3&gt;
&lt;p&gt;7th March 2012 - Help Net Security&lt;/p&gt;
&lt;p&gt;Websense has detected a new wave of mass-injections of a well-known rogue antivirus campaign. The majority of targets are Web sites hosted by the WordPress content management system. &lt;br/&gt;&lt;a href=&quot;http://www.net-security.org/article.php?id=1684&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Mass injection wave whacks WordPress webpages&lt;/h3&gt;
&lt;p&gt;7th March 2012 - IT PRO&lt;/p&gt;
&lt;p&gt;Almost 30,000 websites have been hit by a mass injection attack, most of which are based on the WordPress content management system, Websense has found. &lt;br/&gt;&lt;a href=&quot;http://www.itpro.co.uk/639415/mass-injection-wave-whacks-wordpress-webpages&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;30,000 WordPress Blogs Infected to Distribute Rogue Antivirus Software&lt;/h3&gt;
&lt;p&gt;7th March 2012 - PC World Business Centre&lt;/p&gt;
&lt;p&gt;Almost 30,000 WordPress blogs have been infected in a new wave of  attacks orchestrated by a cybercriminal gang whose primary goal is to  distribute rogue antivirus software, researchers from security firm  Websense said in a blog post on Monday. &lt;br/&gt;&lt;a href=&quot;http://www.pcworld.com/businesscenter/article/251374/30000_wordpress_blogs_infected_to_distribute_rogue_antivirus_software.html&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Compromised websites leading to banking malware&lt;/h3&gt;
&lt;p&gt;2nd March 2012 - Info Security&lt;/p&gt;
&lt;p&gt;M86 Security is warning that recent spam campaigns are luring victims to compromised websites that redirect to malicious Phoenix-hosting sites, which in turn seek to infect the visitor with the Cridex trojan. &lt;br/&gt;&lt;a href=&quot;http://www.infosecurity-magazine.com/view/24282/compromised-websites-leading-to-banking-malware/&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Hackers Infect WordPress 3.2.1 Blogs to Distribute TDSS Rootkit&lt;/h3&gt;
&lt;p&gt;1st February 2012 - PC World Business Center&lt;/p&gt;
&lt;p&gt;Hackers are compromising WordPress 3.2.1 blogs in order to infect their visitors with the notorious TDSS rootkit, according to researchers from Web security firm Websense. &lt;br/&gt;&lt;a href=&quot;http://www.pcworld.com/businesscenter/article/249024/hackers_infect_wordpress_321_blogs_to_distribute_tdss_rootkit.html&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;WordPress attacks try to infect users with dangerous rootkit&lt;/h3&gt;
&lt;p&gt;1st February 2012 - SC Magazine&lt;/p&gt;
&lt;p&gt;he number of WordPress blogs that have been compromised to hurl malware onto the machines of unsuspecting users is gradually growing, security researchers said this week. &lt;br/&gt;&lt;a href=&quot;http://www.scmagazine.com/wordpress-attacks-try-to-infect-users-with-dangerous-rootkit/article/225857/&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Hackers Infect WordPress 3.2.1 Blogs to Distribute TDSS Rootkit&lt;/h3&gt;
&lt;p&gt;31st January 2012 - CSO&lt;/p&gt;
&lt;p&gt;IDG News Service — Hackers are compromising WordPress 3.2.1 blogs in order to infect their visitors with the notorious TDSS rootkit, according to researchers from Web security firm Websense. &lt;br/&gt;&lt;a href=&quot;http://www.csoonline.com/article/699104/hackers-infect-wordpress-3.2.1-blogs-to-distribute-tdss-rootkit&quot; target=&quot;_blank&quot;&gt;Read original article&lt;/a&gt;&lt;/p&gt;</description>
			<pubDate>Fri, 09 Mar 2012 12:43:35 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/should-we-use-wordpress/</guid>
		</item>
		
		<item>
			<title>Adding a database index to a SilverStripe DataObject</title>
			<link>http://www.chillburn.com.au/blog/adding-a-database-index-to-a-silverstripe-dataobject/</link>
			<description>&lt;p&gt;If you have large amounts of data, you should be using database indexes. This is how you add a database index to a DataObject in Silverstripe.&lt;/p&gt;
&lt;p&gt;There is a static variable called $indexes The way to use it is to pass an array to indexes using &lt;strong&gt;array('index name' =&amp;gt; 'fields to index')&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Here is a quick example.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;static $indexes = array(
  'MyIndex' =&amp;gt; '(Name)'
);
&lt;/pre&gt;
&lt;p&gt;To index more than 1 field, you can use the following&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;static $indexes = array(
  'MyIndex' =&amp;gt; '(Name,ShortDescription)'
);
&lt;/pre&gt;
&lt;p&gt;To use a unique index as you would on a URLSegment field, you need to pass &lt;strong&gt;array('Field name to index' =&amp;gt; true)&lt;/strong&gt; to the $indexes variable.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;static $indexes = array(
  'URLSegment' =&amp;gt; true
);
&lt;/pre&gt;
&lt;p&gt;Dont forgot to dev/build?flush=1 your database.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
			<pubDate>Mon, 26 Dec 2011 05:31:14 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/adding-a-database-index-to-a-silverstripe-dataobject/</guid>
		</item>
		
		<item>
			<title>Loading the contents of a module into a component using Joomla</title>
			<link>http://www.chillburn.com.au/blog/loading-the-contents-of-a-module-into-a-component-using-joomla/</link>
			<description>&lt;p&gt;One of the best methods of loading the contents of a module into a component in Joomla is to have another editable content area. You could build this into the component but why bother when there is already a custom HTML module out there.&lt;/p&gt;
&lt;p&gt;The first step is to create a module. You have to give the module a name and you also need to assign it to a module position. This module position needs to be a unique name. You can click on the textbox and enter a unique name. I have used mod_publications as the component i'm using is called com_publications.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/joomla-module-component/_resampled/resizedimage580363-joomla-component-module-1.jpg&quot; width=&quot;580&quot; height=&quot;363&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;You will need to also make sure that the module is displayed on all pages.You won't need to worry about the module actually being displayed on all pages as the module position mod_publications does not exist in your template.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/joomla-module-component/joomla-component-module-2.jpg&quot; width=&quot;401&quot; height=&quot;176&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;The next step is to drop some code yo. This only takes a few lines to get it to work and you will need to edit a view.html.php file and a view template file. The following is an example of the file locations:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;components/com_publications/views/productdetail/view.html.php&lt;/li&gt;
&lt;li&gt;components/com_publications/views/productdetail/tmpl/productdetail.php&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;In the view.html.php file, what we need to do is use the module helper to load the modules for a module position. We have used the mod_publications position. We then assign this to the template using $this-&amp;gt;assignRef&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;view.html.php&lt;/strong&gt;&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;&amp;lt;?php

defined ('_JEXEC') or die;

jimport ('joomla.application.component.view');

class PublicationsViewProductDetail extends JView
{
	function display($tmpl = null)
	{
		jimport('joomla.application.module.helper');
		$modules = JModuleHelper::getModules('mod_publications');

		$this-&amp;gt;assignRef('modules', $modules);
		parent::display($tmpl);
	}
}

?&amp;gt;
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;tmpl/productdetail.php&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the tmpl/productdetail.php file, we just need to render the contents of the modules.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;&amp;lt;div class=&quot;publications-product-modules&quot;&amp;gt;
	&amp;lt;?php foreach ($this-&amp;gt;modules as $m): ?&amp;gt;
		&amp;lt;?php echo JModuleHelper::renderModule($m); ?&amp;gt;
	&amp;lt;?php endforeach; ?&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/pre&gt;
&lt;p&gt;I've only supplied the code required to get this to work.&lt;/p&gt;
&lt;p&gt;The benefit of using this approach is that we can load any module. We can have image galleries, forms, etc.&lt;/p&gt;</description>
			<pubDate>Thu, 08 Dec 2011 09:04:13 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/loading-the-contents-of-a-module-into-a-component-using-joomla/</guid>
		</item>
		
		<item>
			<title>WordPress :: Include the content of one page on another page</title>
			<link>http://www.chillburn.com.au/blog/wordpress-include-the-content-of-one-page-on-another-page/</link>
			<description>&lt;p&gt;Have you ever wanted to include the content from one page into another page in WordPress. Perhaps you want an editable sidebar! This is how to achieve this.&lt;/p&gt;
&lt;p&gt;Below is a simple code snippet that you can put into your page.php file or whereever you need it.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;&amp;lt;?php 
	$sidebar_page_id = 110; 
	$sidebar_page = get_page( $sidebar_page_id ); 
	$sidebar_content = apply_filters('the_content', $sidebar_page-&amp;gt;post_content); 
?&amp;gt;

&lt;div class=&quot;sidebar&quot;&gt;
	&amp;lt;?php echo $sidebar_content; ?&amp;gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;p&gt;You must pass a variable to the &lt;strong&gt;get_page&lt;/strong&gt; function. If you do something like &lt;strong&gt;$sidebar_page = get_page( 110 );&lt;/strong&gt; wordpress will drop an error on yo a$$.&lt;/p&gt;</description>
			<pubDate>Sat, 26 Nov 2011 11:50:58 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/wordpress-include-the-content-of-one-page-on-another-page/</guid>
		</item>
		
		<item>
			<title>SilverStripe HTML5 Boilerplate Version 2 Theme</title>
			<link>http://www.chillburn.com.au/blog/silverstripe-html5-boilerplate-version-2-theme/</link>
			<description>&lt;p&gt;The &lt;a href=&quot;http://html5boilerplate.com/&quot; target=&quot;_blank&quot;&gt;HTML5 Boilerplate project&lt;/a&gt; released version 2 in August so its time to create a SilverStripe HTML5 Boilerplate version 2 theme.&lt;/p&gt;
&lt;p&gt;The theme was mainly based on the &lt;a href=&quot;http://www.silverstripe.org/blackcandy5-theme/&quot; target=&quot;_blank&quot;&gt;BlackCandy5 theme&lt;/a&gt; but it uses version 2 of the HTML5 Boilerplate and i've also upgraded the jquery version to 1.7 All of the blackcandy images have been removed as well as a lot of the un-necessary styles. Also added is a default email template as from &lt;a href=&quot;https://github.com/mandrew/hardyakka&quot; target=&quot;_blank&quot;&gt;the hard yakka theme&lt;/a&gt;. The IE conditional statements have been removed from the BlackCandy theme.&lt;/p&gt;
&lt;p&gt;When starting a new project, I always grab the following 2 modules:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.leftandmain.com/silverstripe-modules/2010/08/23/dataobjectmanager/&quot; target=&quot;_blank&quot;&gt;Data Object Manager&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.leftandmain.com/silverstripe-modules/2010/08/26/uploadify/&quot;&gt;Uploadify&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Also, we will want to remove prototype by adding the following to &lt;strong&gt;mysite/_config.php&lt;/strong&gt;&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;Validator::set_javascript_validation_handler('none');&lt;/pre&gt;
&lt;p&gt;Then i create a SiteConfig Extension to remove the theme drop down list from the SiteConfig as explained in &lt;a href=&quot;http://www.ssbits.com/snippets/2010/remove-theme-selector-from-siteconfig/&quot; target=&quot;_blank&quot;&gt;this post on ssbits.com&lt;/a&gt; and I add other site wide configuration options.&lt;/p&gt;
&lt;p&gt;Finally I modify the Page_Controller class init() function so that its ready to combine the javascript and css.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;	public function init() {
		parent::init();

		$theme_folder = sprintf('themes/%s', SSViewer::current_theme());
		$js_files = array(
			sprintf('%s/javascript/plugins.js', $theme_folder),
			sprintf('%s/javascript/script.js', $theme_folder)
		);

		$css_files =
			array(
				sprintf('%s/css/layout.css', $theme_folder),
				sprintf('%s/css/typography.css', $theme_folder),
				sprintf('%s/css/form.css', $theme_folder),
			);
		foreach($js_files as $js) {
			Requirements::javascript($js);
		}

		foreach($css_files as $css) {
			Requirements::css($css);
		}

		Requirements::combine_files(&quot;js.js&quot;, $js_files);
		Requirements::combine_files(&quot;css.css&quot;, $css_files);
		Requirements::process_combined_files();
	}
&lt;/pre&gt;
&lt;p&gt;Comments are welcome and is there anything differently you do when starting a project?&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.chillburn.com.au/assets/Blog/html5boilerplate.zip&quot; target=&quot;_blank&quot;&gt;Grab the theme here&lt;/a&gt;&lt;/p&gt;</description>
			<pubDate>Thu, 24 Nov 2011 11:54:06 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/silverstripe-html5-boilerplate-version-2-theme/</guid>
		</item>
		
		<item>
			<title>Falcon90 Motoryacht website</title>
			<link>http://www.chillburn.com.au/blog/falcon90-motoryacht-website/</link>
			<description>&lt;p&gt;I worked with Gold Coast company Creating Demand to deliver the &lt;a href=&quot;http://www.falcon90.com.au&quot; target=&quot;_blank&quot;&gt;Falcon90 Motoryacht&lt;/a&gt; website. The objective of the website is to get potential buyers in touch with the seller. So if you have a spare 5.8m lying around, you can buy this beauty.&lt;/p&gt;
&lt;p&gt;The site was built using the SilverStripe CMS &amp;amp; features a custom built image gallery.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/falcon90/falcon-90-5.jpg&quot; width=&quot;580&quot; height=&quot;260&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/falcon90/falcon-90-2.jpg&quot; width=&quot;580&quot; height=&quot;451&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/falcon90/falcon-90-4.jpg&quot; width=&quot;580&quot; height=&quot;451&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/falcon90/falcon-90-1.jpg&quot; width=&quot;580&quot; height=&quot;451&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/falcon90/falcon-90-3.jpg&quot; width=&quot;580&quot; height=&quot;451&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;</description>
			<pubDate>Thu, 24 Nov 2011 11:07:31 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/falcon90-motoryacht-website/</guid>
		</item>
		
		<item>
			<title>eco d e-commerce website launched today</title>
			<link>http://www.chillburn.com.au/blog/eco-d-e-commerce-website-launched-today/</link>
			<description>&lt;p&gt;Today I launched an e-commerce website for eco d. The site is built with LemonStand and has a lot of custom functionality including a stockists module which uses Google Maps.&lt;/p&gt;
&lt;p&gt;Have a look at the site &lt;a href=&quot;http://www.ecod.com.au&quot; target=&quot;_blank&quot;&gt;www.ecod.com.au&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is some screen shots of the new site, enjoy!&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/eco-d/ecod-1.jpg&quot; width=&quot;580&quot; height=&quot;470&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/eco-d/ecod-2.jpg&quot; width=&quot;580&quot; height=&quot;356&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/eco-d/ecod-3.jpg&quot; width=&quot;580&quot; height=&quot;404&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/eco-d/ecod-4.jpg&quot; width=&quot;580&quot; height=&quot;473&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/eco-d/ecod-5.jpg&quot; width=&quot;580&quot; height=&quot;497&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;</description>
			<pubDate>Fri, 28 Oct 2011 09:58:48 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/eco-d-e-commerce-website-launched-today/</guid>
		</item>
		

	</channel>
</rss>