<?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>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>
		
		<item>
			<title>Using AJAX with twitter tweet buttons and facebook like buttons</title>
			<link>http://www.chillburn.com.au/blog/using-ajax-with-twitter-tweet-buttons-and-facebook-like-buttons/</link>
			<description>&lt;p&gt;Currently working on a website which uses ajax to reload parts of the page and the twitter tweet button and the facebook like button disappear and do not reload after calling an ajax request.&lt;/p&gt;
&lt;p&gt;We need to use a simple bit of javascript to force the buttons to re-appear.&lt;/p&gt;
&lt;p&gt;Twitter:&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;twttr.widgets.load()
&lt;/pre&gt;
&lt;p&gt;Facebook:&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;try{
	FB.XFBML.parse(); 
}catch(ex){}
&lt;/pre&gt;
&lt;p&gt;The following is a jQuery snippet of how the code should be used:&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;$.ajax({
	url: &quot;reload-content.html&quot;,
	cache: false,
	success: function(html){
		$(&quot;#results&quot;).html(html);    
    	twttr.widgets.load();    
    	try{
			FB.XFBML.parse(); 
    	}catch(ex){}  
  	}
});
&lt;/pre&gt;
&lt;p&gt;The example page where this is being used is &lt;a href=&quot;http://shop.ecod.com.au/product/split-v-shirt&quot; target=&quot;_blank&quot;&gt;http://shop.ecod.com.au/product/split-v-shirt&lt;/a&gt;. When clicking a colour, it uses ajax to reload the product area which is where the facebook like and twitter tweet buttons are located.&lt;/p&gt;</description>
			<pubDate>Thu, 27 Oct 2011 04:32:21 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/using-ajax-with-twitter-tweet-buttons-and-facebook-like-buttons/</guid>
		</item>
		
		<item>
			<title>Using a shortcode in a WordPress theme</title>
			<link>http://www.chillburn.com.au/blog/using-a-shortcode-in-a-wordpress-theme/</link>
			<description>&lt;p&gt;Currently working on a WordPress project and I needed to include a WordPress shortcode into the theme files. This is to include a gallery as the background on all the pages.&lt;/p&gt;
&lt;p&gt;This is how you add a WordPress shortcode into the theme.&lt;/p&gt;
&lt;p&gt;Open up the themes php file. The file i used on my project is page.php&lt;/p&gt;
&lt;p&gt;Use the &lt;strong&gt;do_shortcode&lt;/strong&gt; function as below:&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;&amp;lt;?php echo do_shortcode('[shortcode option=&quot;value&quot;]'); ?&amp;gt;
&lt;/pre&gt;
&lt;p&gt;The code which I used to display the gallery on every page is:&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;&amp;lt;?php echo do_shortcode('[portfolio_slideshow id=27]'); ?&amp;gt;
&lt;/pre&gt;
&lt;p&gt;&lt;a href=&quot;http://codex.wordpress.org/Function_Reference/do_shortcode&quot; target=&quot;_blank&quot;&gt;Checkout the codex page&lt;/a&gt;&lt;/p&gt;</description>
			<pubDate>Thu, 13 Oct 2011 12:39:38 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/using-a-shortcode-in-a-wordpress-theme/</guid>
		</item>
		
		<item>
			<title>Rob Mills website powered by Wordpress</title>
			<link>http://www.chillburn.com.au/blog/rob-mills-website-powered-by-wordpress/</link>
			<description>&lt;p&gt;Recently relaunch the Rob Mills website. The new site is build in wordpress and I worked with Lee Wong on this project.&lt;/p&gt;
&lt;p&gt;The main changes which I was involved in was modifying existing plugins to work the way the client wanted.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/rob-mills/rob-mills-1.jpg&quot; width=&quot;580&quot; height=&quot;359&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/rob-mills/rob-mills-2.jpg&quot; width=&quot;580&quot; height=&quot;359&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/rob-mills/rob-mills-3.jpg&quot; width=&quot;580&quot; height=&quot;359&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/rob-mills/rob-mills-4.jpg&quot; width=&quot;580&quot; height=&quot;359&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;</description>
			<pubDate>Wed, 12 Oct 2011 12:58:39 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/rob-mills-website-powered-by-wordpress/</guid>
		</item>
		
		<item>
			<title>Miss Bossy Boots website powered by SilverStripe and jQuery</title>
			<link>http://www.chillburn.com.au/blog/miss-bossy-boots-website-powered-by-silverstripe-and-jquery/</link>
			<description>&lt;p&gt;Yesterday the new site for &lt;a href=&quot;http://www.missbossyboots.com.au/&quot; target=&quot;_blank&quot;&gt;Miss Bossy Boots&lt;/a&gt; was launched. The site is basically a collection of photographers works. I worked with the  Envelope Group who provided the creative for the site.&lt;/p&gt;
&lt;p&gt;The site is completely custom built and is optimised for all the major browsers on mac and pc and it is also optimised for the iPad. The galleries support the swiping event which is pretty cool.&lt;/p&gt;
&lt;p&gt;One of the big challenges was creating the sliding gallery that could expand with the browsers size and when it is resized.&lt;/p&gt;
&lt;p&gt;The site also contains a customised blog where the images also resize to the available screen real estate.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/miss-bossy-boots/miss-bossy-boots-1.jpg&quot; width=&quot;580&quot; height=&quot;358&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/miss-bossy-boots/miss-bossy-boots-2.jpg&quot; width=&quot;580&quot; height=&quot;358&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/miss-bossy-boots/miss-bossy-boots-3.jpg&quot; width=&quot;580&quot; height=&quot;358&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/miss-bossy-boots/miss-bossy-boots-4.jpg&quot; width=&quot;580&quot; height=&quot;358&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/miss-bossy-boots/miss-bossy-boots-5.jpg&quot; width=&quot;580&quot; height=&quot;358&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/miss-bossy-boots/miss-bossy-boots-6.jpg&quot; width=&quot;580&quot; height=&quot;358&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/miss-bossy-boots/miss-bossy-boots-7.jpg&quot; width=&quot;580&quot; height=&quot;358&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;One great thing about SilverStripe is that the content area looks the same as the rendered output as opposed to other CMS's.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
			<pubDate>Wed, 12 Oct 2011 12:00:47 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/miss-bossy-boots-website-powered-by-silverstripe-and-jquery/</guid>
		</item>
		
		<item>
			<title>The easiest way to move a live wordpress site to localhost</title>
			<link>http://www.chillburn.com.au/blog/the-easiest-way-to-move-a-live-wordpress-site-to-localhost/</link>
			<description>&lt;p&gt;This is the easiest way to move a live wordpress site to a localhost environment such as MAMP or WAMP.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1: &lt;/strong&gt;Download all of the files into a directory on your computer. If you are using MAMP, the directory would be Applications/MAMP/htdocs/&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 2: &lt;/strong&gt;Grab a copy of the database and import it into your mysql database server into a new database.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 3: &lt;/strong&gt;Update the following in wp-config.php&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'mywordpressdatabase');

/** MySQL database username */
define('DB_USER', 'root');

/** MySQL database password */
define('DB_PASSWORD', '');

/** MySQL hostname */
define('DB_HOST', 'localhost');
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Step 4: &lt;/strong&gt;Now we need to update the home and siteurl values. The easiest way to do this is by adding the following to the wp-config.php&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;define('WP_HOME','http://localhost:8888');
define('WP_SITEURL','http://localhost:8888');
&lt;/pre&gt;
&lt;p&gt;Thats it. Its not advisable to use the WP_HOME and WP_SITEURL constants on a live site because you won't be able to update the settings from the admin.&lt;/p&gt;
&lt;p&gt;There is a couple of other ways to update the home and siteurl values.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1: &lt;/strong&gt;Use a tool such as phpmyadmin to update the values. The database table to edit is &lt;strong&gt;wp_options&lt;/strong&gt;. Change the field option_value to &lt;strong&gt;http://localhost:8888&lt;/strong&gt; for the 2 records which have an option_name of siteurl and home.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2: &lt;/strong&gt;Run the following SQL commands in a tool such as phpmyadmin.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;UPDATE wp_options SET option_value = 'http://localhost:8888' WHERE option_name = 'siteurl';
UPDATE wp_options SET option_value = 'http://localhost:8888' WHERE option_name = 'home';
&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;3: &lt;/strong&gt;Update functions.php and place the following code after the opening &amp;lt;?php You will need to fire up the site by visiting http://localhost:8888 in your browser.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;update_option('siteurl','http://localhost:8888');
update_option('home','http://localhost:8888');
&lt;/pre&gt;
&lt;p&gt;If the live site was in a sub directory you will need to update the .htaccess file. Below is a copy of the htaccess file which will work as a root level site.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


# END WordPress
&lt;/pre&gt;
&lt;p&gt;If your local environment is in a subdirectory such as mysubdirectory, you will need to update the .htaccess as below.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;RewriteEngine On
RewriteBase /mysubdirectory/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /mysubdirectory/index.php [L]

# BEGIN WordPress

RewriteEngine On
RewriteBase /mysubdirectory/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /mysubdirectory/index.php [L]


# END WordPress
&lt;/pre&gt;</description>
			<pubDate>Sat, 08 Oct 2011 06:52:57 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/the-easiest-way-to-move-a-live-wordpress-site-to-localhost/</guid>
		</item>
		
		<item>
			<title>Running Last.FM on a mac over airport express</title>
			<link>http://www.chillburn.com.au/blog/running-last-fm-on-a-mac-over-airport-express/</link>
			<description>&lt;p&gt;Need the last.fm goodness using airport express.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Open the last.fm client &amp;amp; go into &lt;strong&gt;Preferences &amp;gt; Radio&lt;/strong&gt;. Enter a port number into the textbox &lt;strong&gt;'Connect to localhost on port'&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/lastfm/_resampled/resizedimage580499-lastfm1.jpg&quot; width=&quot;580&quot; height=&quot;499&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 2: &lt;/strong&gt;&lt;span id=&quot;FileDataObjectManager_Popup_DetailForm_Filename&quot;&gt;Restart the last.fm client&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Step 3: &lt;/strong&gt;Play a radio station. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Step 4: &lt;/strong&gt;Launch iTunes&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Step 5: &lt;/strong&gt;Goto the advanced menu and select &lt;strong&gt;Open Stream&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Step 6: &lt;/strong&gt;Paste the following into the texbox. If you have used a different port number, make sure to change that. &lt;strong&gt;http://localhost:6969&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/lastfm/lastfm2.jpg&quot; width=&quot;370&quot; height=&quot;179&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Step 7: &lt;/strong&gt;Click the repeat icon in itunes so that it repeats continually. It will turn blue and have a circle on it. You need to click it twice. This is on the bottom left of the player.&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/lastfm/lastfm3.jpg&quot; width=&quot;200&quot; height=&quot;62&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Step 8: &lt;/strong&gt;Rock out forever!  You might want to turn the volume down on your mac. Sometimes a song starts playing, then it will start playing on airport.&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
			<pubDate>Fri, 30 Sep 2011 02:32:34 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/running-last-fm-on-a-mac-over-airport-express/</guid>
		</item>
		
		<item>
			<title>Moving office to sunny Mermaid Beach</title>
			<link>http://www.chillburn.com.au/blog/moving-office-to-sunny-mermaid-beach/</link>
			<description>&lt;p&gt;Recently I moved office to sunny Mermaid Beach. The new address is 2485 Gold Coast Highway, Mermaid Beach 4218 on the corner of francis street and its in the same building as LJ Hooker.&lt;/p&gt;
&lt;p&gt;PROS:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;200m to the beach&lt;/li&gt;
&lt;li&gt;across the road from mermaid beach tavern &amp;amp; mini golf putt putt&lt;/li&gt;
&lt;li&gt;awesome area and people&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;CONS:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;none&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;Check out some pics:&lt;/p&gt;
&lt;p&gt;&lt;img class=&quot;left&quot; src=&quot;http://www.chillburn.com.au/assets/Blog/mermaid-beach-office/mermaid-beach-3.jpg&quot; width=&quot;580&quot; height=&quot;347&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/mermaid-beach-office/mermaid-beach-4.jpg&quot; width=&quot;580&quot; height=&quot;347&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/mermaid-beach-office/mermaid-beach-5.jpg&quot; width=&quot;580&quot; height=&quot;347&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/mermaid-beach-office/mermaid-beach-2.jpg&quot; width=&quot;580&quot; height=&quot;347&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/mermaid-beach-office/mermaid-beach-1.jpg&quot; width=&quot;580&quot; height=&quot;347&quot; alt=&quot;&quot; title=&quot;&quot;/&gt;&lt;/p&gt;</description>
			<pubDate>Thu, 15 Sep 2011 09:39:01 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/moving-office-to-sunny-mermaid-beach/</guid>
		</item>
		
		<item>
			<title>Getting the body background image to display correctly on the iPad</title>
			<link>http://www.chillburn.com.au/blog/getting-the-body-background-image-to-display-correctly-on-the-ipad/</link>
			<description>&lt;p&gt;To get the background images to display correctly on the iPad you need to specify the image dimensions using the -webkit-background-size property in css.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; If you have a background image with the dimensions of 1920 x 1200&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;body {
	background: url(http://www.chillburn.com.au/images/bg.jpg) no-repeat 50% 0%;
	-webkit-background-size: 1920px 1200px;
}
&lt;/pre&gt;</description>
			<pubDate>Wed, 14 Sep 2011 01:01:06 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/getting-the-body-background-image-to-display-correctly-on-the-ipad/</guid>
		</item>
		
		<item>
			<title>Getting the thumbnails to appear in the facebook sharer from a SilverStripe content field</title>
			<link>http://www.chillburn.com.au/blog/getting-the-thumbnails-to-appear-in-the-facebook-sharer-from-a-silverstripe-content-field/</link>
			<description>&lt;p&gt;I recently worked on a project that uses SilverStripe and uses the facebook sharer to share content and I noticed that the images from the $Content field are not converted into thumbnails. This is my solution for the problem.&lt;/p&gt;
&lt;p&gt;When the sharer scapes your page, it does not parse images such as &lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;&amp;lt;img src=&quot;assets/Uploads/_resampled/resizedimage400579-image006.jpg&quot;&amp;gt;&lt;/pre&gt;
&lt;p&gt;which is what SilverStripe renders a content field as.&lt;/p&gt;
&lt;p&gt;The solution is to add the following code to your &lt;strong&gt;mysite/code/Page.php&lt;/strong&gt; file.&lt;/p&gt;
&lt;pre class=&quot;brush:php&quot;&gt;class Page_Controller extends ContentController {

	...

	public function init() {
		parent::init();
		
		$this-&amp;gt;Content = str_replace('src=&quot;assets/', sprintf('src=&quot;%sassets/', $this-&amp;gt;baseHref()), $this-&amp;gt;Content);


	}

	...
}
&lt;/pre&gt;
&lt;p&gt;What the code does is it adds the BaseHref to the front of the images. This allows the facebook sharer to scrape them.&lt;/p&gt;</description>
			<pubDate>Tue, 09 Aug 2011 07:37:50 +0000</pubDate>
			
			
			<guid>http://www.chillburn.com.au/blog/getting-the-thumbnails-to-appear-in-the-facebook-sharer-from-a-silverstripe-content-field/</guid>
		</item>
		

	</channel>
</rss>
