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

<channel>
	<title>Jofftastic &#187; work - Jofftastic - Musings and rants of a Peterborough blogger</title>
	<atom:link href="http://blog.jofftastic.co.uk/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jofftastic.co.uk</link>
	<description>Musings and rants of a Peterborough blogger</description>
	<lastBuildDate>Mon, 30 Jan 2012 16:13:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Christmas Card for 2011</title>
		<link>http://blog.jofftastic.co.uk/2011/12/christmas-card-for-2011/</link>
		<comments>http://blog.jofftastic.co.uk/2011/12/christmas-card-for-2011/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 08:01:17 +0000</pubDate>
		<dc:creator>Joff</dc:creator>
				<category><![CDATA[me]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.jofftastic.co.uk/?p=1352</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2011/12/christmas-card-for-2011/' addthis:title='Christmas Card for 2011 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>Truth be told, I don&#8217;t have much time for traditional paper based Christmas cards.  I appreciate the sentiment, but lets be honest with ourselves, cards are expensive, as is the postage and come the New Year all the cards go into the recycling bin at best. As someone that offers web development services, it only [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2011/12/christmas-card-for-2011/' addthis:title='Christmas Card for 2011 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2011/12/christmas-card-for-2011/' addthis:title='Christmas Card for 2011 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div><p>Truth be told, I don&#8217;t have much time for traditional paper based Christmas cards.  I appreciate the sentiment, but lets be honest with ourselves, cards are expensive, as is the postage and come the New Year all the cards go into the recycling bin at best.</p>
<p>As someone that offers web development services, it only seemed fitting that I send a digital e-card to my clients.  Not one of those dancing elf monstrosities, or a cobbled-together-in-5-minutes-because-we-forgot-to-get-cards-in-the-post type affair, but a bona-fide bespoke Christmas card.  Then for good measure and a warm feeling inside, a hand-picked charity donation to a cause I&#8217;ve supported for a few years &#8211; <a href="http://cats.org.uk">Cats Protection</a></p>
<p>Last year I got in touch with local designer <a href="http://about.me/lizelcoate">Liz Elcoate</a> from <a href="http://capricciodesign.co.uk">Capriccio Design</a> who produced a <a title="Christmas Card for 2010" href="http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/">great art-deco &#8220;chat noir&#8221; style design</a>.</p>
<p>This year I gave Liz the brief of something 50&#8242;s inspired, Christmassey and with the obligatory cat (in case you wondered, my company is called Gattonero &#8211; Italian for &#8220;black cat&#8221;).  Here&#8217;s the finished design which I&#8217;m really pleased with:</p>
<p style="text-align: center;"><a href="http://blog.jofftastic.co.uk/wp-content/uploads/2011/12/christmascard2011.png"><img class="size-medium wp-image-1353 aligncenter" title="Gattonero black cat christmas card" src="http://blog.jofftastic.co.uk/wp-content/uploads/2011/12/christmascard2011-300x250.png" alt="Gattonero black cat christmas card" width="300" height="250" /></a></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2011/12/christmas-card-for-2011/' addthis:title='Christmas Card for 2011 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div> <div class="google-plus-1"><!--http://blog.jofftastic.co.uk/2011/12/christmas-card-for-2011/--></div>]]></content:encoded>
			<wfw:commentRss>http://blog.jofftastic.co.uk/2011/12/christmas-card-for-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Christmas Card for 2010</title>
		<link>http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/</link>
		<comments>http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 23:14:57 +0000</pubDate>
		<dc:creator>Joff</dc:creator>
				<category><![CDATA[me]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.jofftastic.co.uk/?p=1356</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/' addthis:title='Christmas Card for 2010 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>This year&#8217;s Gattonero Christmas e-card sent out to clients: I wish I could take credit for the design, but I opted to use someone far better skilled at the artsy stuff that myself &#8211; Liz Elcoate from Sketchy Design Capriccio Design Instead of sending paper based greetings cards, I sent this card by email and [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/' addthis:title='Christmas Card for 2010 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/' addthis:title='Christmas Card for 2010 ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div><p>This year&#8217;s Gattonero Christmas e-card sent out to clients:</p>
<p><a href="http://blog.jofftastic.co.uk/wp-content/uploads/2011/12/christmascard.png"><img class="aligncenter size-medium wp-image-1357" title="christmascard" src="http://blog.jofftastic.co.uk/wp-content/uploads/2011/12/christmascard-240x300.png" alt="" width="240" height="300" /></a></p>
<p>I wish I could take credit for the design, but I opted to use someone far better skilled at the artsy stuff that myself &#8211; <a href="http://twitter.com/liz_e">Liz Elcoate</a> from <del>Sketchy Design</del> <a href="http://www.capricciodesign.co.uk">Capriccio Design</a></p>
<p>Instead of sending paper based greetings cards, I sent this card by email and made a donation to Cats Protection &#8211; <a href="http://www.cats.org.uk">www.cats.org.uk</a></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/' addthis:title='Christmas Card for 2010 '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div> <div class="google-plus-1"><!--http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/--></div>]]></content:encoded>
			<wfw:commentRss>http://blog.jofftastic.co.uk/2010/12/christmas-card-for-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Include external PHP file in WordPress</title>
		<link>http://blog.jofftastic.co.uk/2010/08/how-to-include-external-php-file-in-wordpress/</link>
		<comments>http://blog.jofftastic.co.uk/2010/08/how-to-include-external-php-file-in-wordpress/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 23:53:57 +0000</pubDate>
		<dc:creator>Joff</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.jofftastic.co.uk/?p=914</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2010/08/how-to-include-external-php-file-in-wordpress/' addthis:title='How to: Include external PHP file in WordPress ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>So, you want to include (also include_once, require or require_once) another PHP file in one of your WordPress files?  Fine, but if your PHP file is in a different folder/directory to your WordPress installation you might run into problems. After spending too long trawling the WordPress Codex trying to find a solution, I luckily found [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2010/08/how-to-include-external-php-file-in-wordpress/' addthis:title='How to: Include external PHP file in WordPress '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2010/08/how-to-include-external-php-file-in-wordpress/' addthis:title='How to: Include external PHP file in WordPress ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div><p>So, you want to include (also include_once, require or require_once) another PHP file in one of your WordPress files?  Fine, but if your PHP file is in a different folder/directory to your WordPress installation you might run into problems.</p>
<p>After spending too long trawling the WordPress Codex trying to find a solution, I luckily found this post by Andy Fletcher &#8211; <a href="http://www.tomcatuk.net/how-to-use-a-php-include-with-wordpress/">How to use a PHP include with WordPress</a></p>
<p>ABSPATH is your friend and the answer to your prayers.   For example, assume your PHP files are in a folder off your web root called &#8220;thefolder&#8221;, you would include them using:</p>
<p><code>&lt;?php include(ABSPATH . '/thefolder/thefile.php'); ?&gt;</code></p>
<p>Simple when you know how.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2010/08/how-to-include-external-php-file-in-wordpress/' addthis:title='How to: Include external PHP file in WordPress '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div> <div class="google-plus-1"><!--http://blog.jofftastic.co.uk/2010/08/how-to-include-external-php-file-in-wordpress/--></div>]]></content:encoded>
			<wfw:commentRss>http://blog.jofftastic.co.uk/2010/08/how-to-include-external-php-file-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CMS Made Simple WYSIWYG table outlines</title>
		<link>http://blog.jofftastic.co.uk/2008/10/cms-made-simple-wysiwyg-table-outlines/</link>
		<comments>http://blog.jofftastic.co.uk/2008/10/cms-made-simple-wysiwyg-table-outlines/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 11:47:13 +0000</pubDate>
		<dc:creator>Joff</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[CMS Made Simple]]></category>

		<guid isPermaLink="false">http://blog.jofftastic.co.uk/?p=479</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/10/cms-made-simple-wysiwyg-table-outlines/' addthis:title='CMS Made Simple WYSIWYG table outlines ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>CMS Made Simple is a great content management system.  It&#8217;s free, easy to get to grips with, quite powerful and the forums are fairly helpful when you need help. There are obviously quirks with it (as there is with all off the shelf software) such as tables inserted within the WYSIWYG editor lacking any outlines, [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/10/cms-made-simple-wysiwyg-table-outlines/' addthis:title='CMS Made Simple WYSIWYG table outlines '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/10/cms-made-simple-wysiwyg-table-outlines/' addthis:title='CMS Made Simple WYSIWYG table outlines ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div><p>CMS Made Simple is a great content management system.  It&#8217;s free, easy to get to grips with, quite powerful and the forums are fairly helpful when you need help.</p>
<p>There are obviously quirks with it (as there is with all off the shelf software) such as tables inserted within the WYSIWYG editor lacking any outlines, making placement quite problematic (think &#8220;invisible table&#8221;).</p>
<p>Thankfully there is an answer with at least the current versions of CMS Made Simple (1.4.1 at the time of writing this) having an option to turn table outline borders  on and off.</p>
<h3>Method</h3>
<p>From within the CMS Made Simple admin control panel, go to: Extensions &gt; TinyMCE WYSIWYG &gt; Advanced (tab)</p>
<p>There you should see a checkbox for the option &#8220;Include only screen CSS&#8221;.  Tick that, update the settings and give the WYSIWYG editor a whirl.</p>
<p>If all has gone well, you should now see the outline borders when editing page contents.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/10/cms-made-simple-wysiwyg-table-outlines/' addthis:title='CMS Made Simple WYSIWYG table outlines '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div> <div class="google-plus-1"><!--http://blog.jofftastic.co.uk/2008/10/cms-made-simple-wysiwyg-table-outlines/--></div>]]></content:encoded>
			<wfw:commentRss>http://blog.jofftastic.co.uk/2008/10/cms-made-simple-wysiwyg-table-outlines/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Page redirect with CMS Made Simple</title>
		<link>http://blog.jofftastic.co.uk/2008/09/page-redirect-with-cms-made-simple/</link>
		<comments>http://blog.jofftastic.co.uk/2008/09/page-redirect-with-cms-made-simple/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 09:16:06 +0000</pubDate>
		<dc:creator>Joff</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[CMS Made Simple]]></category>

		<guid isPermaLink="false">http://blog.jofftastic.co.uk/?p=434</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/09/page-redirect-with-cms-made-simple/' addthis:title='Page redirect with CMS Made Simple ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>If you&#8217;re scratching your head on how to get an HTTP redirect with CMS Made Simple, then save your scalp and scratch no longer! All you need to do is create a User Defined Tag (UDT) within your CMS MS admin (Extensions &#62; User Defined Tags), call the tag &#8220;redirect&#8221; and paste the following code: [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/09/page-redirect-with-cms-made-simple/' addthis:title='Page redirect with CMS Made Simple '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/09/page-redirect-with-cms-made-simple/' addthis:title='Page redirect with CMS Made Simple ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div><p>If you&#8217;re scratching your head on how to get an HTTP redirect with CMS Made Simple, then save your scalp and scratch no longer!</p>
<p>All you need to do is create a User Defined Tag (UDT) within your CMS MS admin (Extensions &gt; User Defined Tags), call the tag &#8220;redirect&#8221; and paste the following code:</p>
<pre>if( isset( $params['to'] ) )
  {
    global $gCms;
    $manager =&amp; $gCms-&gt;GetHierarchyManager();
    $node =&amp; $manager-&gt;sureGetNodeByAlias($params['to']);
    $content =&amp; $node-&gt;GetContent();
    if (isset($content) &amp;&amp; is_object($content))
       {
         if ($content-&gt;GetURL() != '')
         {
            redirect($content-&gt;GetURL());
         }
       }
    else return '&lt;!-- redirect udt - page not found: '.$params['to'].' --&gt;';
  }</pre>
<p>To use, add <strong>{redirect to=&#8221;page_alias&#8221;}</strong> into one of your pages, or somewhere intelligently placed in your template.  If it&#8217;s going into a template then you should have an if statement around this, or you&#8217;ll get some nasty redirection loops!</p>
<p><span style="text-decoration: underline;">Credit to calguy1000 for writing the function.</span></p>
<p>Further reading:</p>
<ul>
<li><a rel="nofollow" href="http://wiki.cmsmadesimple.org/index.php/Share_your_tags_here#A_Redirect_UDT">http://wiki.cmsmadesimple.org/index.php/Share_your_tags_here#A_Redirect_UDT</a></li>
<li><a rel="nofollow" href="http://forum.cmsmadesimple.org/index.php/topic,14440.0.html">http://forum.cmsmadesimple.org/index.php/topic,14440.0.html</a></li>
</ul>
<p><strong>Update</strong></p>
<p>I don&#8217;t know if they have always been there but I&#8217;ve since noticed the CMS Made Simple tags <code>redirect_url</code> and <code>redirect_page</code></p>
<p>To use, insert into your page or template:</p>
<p><code>{redirect_page page="some-page-alias"}</code></p>
<p>or</p>
<p><code>{redirect_url to="www.cmsmadesimple.org"}</code></p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/09/page-redirect-with-cms-made-simple/' addthis:title='Page redirect with CMS Made Simple '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div> <div class="google-plus-1"><!--http://blog.jofftastic.co.uk/2008/09/page-redirect-with-cms-made-simple/--></div>]]></content:encoded>
			<wfw:commentRss>http://blog.jofftastic.co.uk/2008/09/page-redirect-with-cms-made-simple/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordPress is NOT a CMS</title>
		<link>http://blog.jofftastic.co.uk/2008/08/wordpress-is-not-a-cms/</link>
		<comments>http://blog.jofftastic.co.uk/2008/08/wordpress-is-not-a-cms/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 17:42:28 +0000</pubDate>
		<dc:creator>Joff</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.jofftastic.co.uk/?p=426</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/08/wordpress-is-not-a-cms/' addthis:title='WordPress is NOT a CMS ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>According to a recent poll by CSS-Tricks, 40% of those in the survey said WordPress their favourite content management system. Now I&#8217;m no expert when it comes to CMS platforms, but I&#8217;ve developed with a few, tested out a few others (before uninstalling and running away) and even use one (WordPress to be exact) for [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/08/wordpress-is-not-a-cms/' addthis:title='WordPress is NOT a CMS '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/08/wordpress-is-not-a-cms/' addthis:title='WordPress is NOT a CMS ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div><p>According to a <a href="http://css-tricks.com/poll-results-what-is-your-favorite-cms/">recent poll by CSS-Tricks</a>, 40% of those in the survey said WordPress their favourite content management system.</p>
<p>Now I&#8217;m no expert when it comes to CMS platforms, but I&#8217;ve developed with a few, tested out a few others (before uninstalling and running away) and even use one (WordPress to be exact) for this blog, and I&#8217;m quite happy to put my neck firmly on the line and say WordPress isn&#8217;t a <strong>proper </strong>CMS by my standards.</p>
<p><span id="more-426"></span></p>
<p>That&#8217;s not to say WordPress doesn&#8217;t do a fantastic job at what it does best and that in my opinion is to be a blogging platform.  Yes it can behave in a similar fashion to a more familiar CMS layout but I can&#8217;t help but feel it&#8217;s being forced into it.  I&#8217;ve even seen WordPress used for eCommerce solutions and again, it can work for some but it&#8217;s not really going to compete with an Amazon clone.</p>
<p>My preference for a CMS would follow along a similar vein to CMS Made Simple, Joomla or MODx where everything just feels better designed with a tagging system that can integrate quickly into most designs and when you need to get into the code to do some hacking, they are a lot more forgiving.  As I write this, I&#8217;m actually trying to come up with an example of how my idea of a CMS differs to what WordPress is offering me right now as I type&#8230;</p>
<p>I suppose it probably comes down to not giving WordPress a chance outside of the blog remit but for 40% of people to say it&#8217;s their favourite CMS does make me wonder what their reason behind the choice would be.</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/08/wordpress-is-not-a-cms/' addthis:title='WordPress is NOT a CMS '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div> <div class="google-plus-1"><!--http://blog.jofftastic.co.uk/2008/08/wordpress-is-not-a-cms/--></div>]]></content:encoded>
			<wfw:commentRss>http://blog.jofftastic.co.uk/2008/08/wordpress-is-not-a-cms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get Cubecart 4 friendly URLs on a Windows server</title>
		<link>http://blog.jofftastic.co.uk/2008/07/how-to-get-cubecart-4-friendly-urls-on-a-windows-server/</link>
		<comments>http://blog.jofftastic.co.uk/2008/07/how-to-get-cubecart-4-friendly-urls-on-a-windows-server/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 20:54:42 +0000</pubDate>
		<dc:creator>Joff</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.jofftastic.co.uk/?p=393</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/07/how-to-get-cubecart-4-friendly-urls-on-a-windows-server/' addthis:title='How to get Cubecart 4 friendly URLs on a Windows server ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>Cubecart 4 includes the option to rewrite the standard URL structure into &#8220;search engine friendly&#8221; URLs. This means that instead of a product in your shop having the pretty awful address of http://www.domain.co.uk/index.php?_a=viewProd&#38;productId=1 you can have it rewritten into something like http://www.domain.co.uk/test-category/test-product2/prod_1.html Much easier for humans I&#8217;m sure you&#8217;ll agree and hopefully search engines will [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/07/how-to-get-cubecart-4-friendly-urls-on-a-windows-server/' addthis:title='How to get Cubecart 4 friendly URLs on a Windows server '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/07/how-to-get-cubecart-4-friendly-urls-on-a-windows-server/' addthis:title='How to get Cubecart 4 friendly URLs on a Windows server ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div><p><a title="Cubecart 4" href="http://www.cubecart.com/">Cubecart 4</a> includes the option to rewrite the standard URL structure into &#8220;search engine friendly&#8221; URLs.</p>
<p>This means that instead of a product in your shop having the pretty awful address of</p>
<pre><span style="color: #808080;">http://www.domain.co.uk/index.php?_a=viewProd&amp;productId=1</span></pre>
<p>you can have it rewritten into something like</p>
<pre><span style="color: #808080;">http://www.domain.co.uk/test-category/test-product2/prod_1.html</span></pre>
<p>Much easier for humans I&#8217;m sure you&#8217;ll agree and hopefully search engines will love your keyword-packed URLs too.</p>
<p><span id="more-393"></span></p>
<p>Activating the  search engine friendly URL&#8217;s is nice and easy if you have Unix/Linux hosting as it all works out of the box with Cubecart, but if (like me) you&#8217;re using a Windows server you need a different solution&#8230; and Helicon&#8217;s <a href="http://www.helicontech.com/isapi_rewrite/">ISAPI_Rewrite</a> is just that solution.</p>
<p>Installed onto your Windows server (if you&#8217;re on shared hosting, speak to your hosts about making it available), ISAPI_Rewrite uses a single file (httpd.ini) in the root folder of your domain to process whatever rewriting rule you need.</p>
<p>Within the Cubecart admin system, you are given a few lines of code to paste into your (Unix/Linux) .htaccess file:</p>
<p><code>## Activate the mod_rewrite Engine<br />
RewriteEngine On<br />
RewriteCond %{QUERY_STRING} (.*)$<br />
RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$	index.php?_a=viewCat&amp;catId=$1&amp;%1 [NC]<br />
RewriteCond %{QUERY_STRING} (.*)$<br />
RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$		index.php?_a=viewProd&amp;productId=$1&amp;%1 [NC]<br />
RewriteCond %{QUERY_STRING} (.*)$<br />
RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$		index.php?_a=viewDoc&amp;docId=$1&amp;%1 [NC]<br />
RewriteCond %{QUERY_STRING} (.*)$<br />
RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$		index.php?_a=tellafriend&amp;productId=$1&amp;%1 [NC]<br />
RewriteCond %{QUERY_STRING} (.*)$<br />
RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$<br />
</code></p>
<p>Unfortunately, I couldn&#8217;t get these to translate directly into my httpd.ini file, but I found this solution on the Helicon forums:</p>
<p><code><br />
[ISAPI_Rewrite]<br />
RewriteRule .*?/cat_(\d+)(?:\.[a-z]{3,4})?([^?]*)(?:\?(.*))? /index.php\?_a=viewCat&amp;catId=$1?2&amp;$2 [I,L]<br />
RewriteRule .*?/prod_(\d+)(?:\.[a-z]{3,4})?(?:\?(.*))? /index.php\?_a=viewProd&amp;productId=$1?2&amp;$2 [I,L]<br />
RewriteRule .*?/info_(\d+)(?:\.[a-z]{3,4})?(?:\?(.*))? /index.php\?_a=viewDoc&amp;docId=$1?2&amp;$2 [I,L]<br />
RewriteRule .*?/tell_(\d+)(?:\.[a-z]{3,4})?(?:\?(.*))? /index.php\?_a=tellafriend&amp;productId=$1?2&amp;$2 [I,L]<br />
RewriteRule .*?/_saleItems(?:\.[a-z]+)?(\?(.*))? /index.php\?_a=viewCat&amp;catId=saleItems?1&amp;$1 [I,L]<br />
</code></p>
<p>Just put the code above into your httpd.ini file, upload it and the changes should take effect immediately with no server reboot required.</p>
<p>Happy Cubecarting!</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/07/how-to-get-cubecart-4-friendly-urls-on-a-windows-server/' addthis:title='How to get Cubecart 4 friendly URLs on a Windows server '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div> <div class="google-plus-1"><!--http://blog.jofftastic.co.uk/2008/07/how-to-get-cubecart-4-friendly-urls-on-a-windows-server/--></div>]]></content:encoded>
			<wfw:commentRss>http://blog.jofftastic.co.uk/2008/07/how-to-get-cubecart-4-friendly-urls-on-a-windows-server/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MySQL search and replace</title>
		<link>http://blog.jofftastic.co.uk/2008/06/mysql-search-and-replace/</link>
		<comments>http://blog.jofftastic.co.uk/2008/06/mysql-search-and-replace/#comments</comments>
		<pubDate>Fri, 20 Jun 2008 13:44:46 +0000</pubDate>
		<dc:creator>Joff</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.jofftastic.co.uk/?p=391</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/06/mysql-search-and-replace/' addthis:title='MySQL search and replace ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>It&#8217;s something that can have you pulling your hair out in frustration but the solution is so simple. Finding (and replacing) text in your MySQL database tables has almost become a past time of mine recently, converting a foreign database into reading something a bit closer to the English language. If you use a frontend [...]<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/06/mysql-search-and-replace/' addthis:title='MySQL search and replace '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://blog.jofftastic.co.uk/2008/06/mysql-search-and-replace/' addthis:title='MySQL search and replace ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div><p>It&#8217;s something that can have you pulling your hair out in frustration but the solution is so simple.</p>
<p>Finding (and replacing) text in your MySQL database tables has almost become a past time of mine recently, converting a foreign database into reading something a bit closer to the English language.</p>
<p>If you use a frontend to your MySQL database (like phpMyAdmin or SQLyog, Navicat, etc) then go to create a new query and enter the following (replacing the table and field names as required of course!):</p>
<p><code>UPDATE tablename SET tablefield = replace(tablefield, "findstring", "replacestring");</code></p>
<p>It&#8217;s <a href="http://www.zimmertech.com">Brian Zimmer</a> I have to thank for that, so please view the <a href="http://www.zimmertech.com/tutorials/php/60/mysql-search-replace-phpmyadmin.php">example on his website</a> for including more search options.  Also worth a mention is <a href="http://mybesinformatik.com/content/phpmyadmin-search-and-replace">MybesInformatik</a> who&#8217;s site I stumbled on when I couldn&#8217;t remember the URL for Brian&#8217;s site!</p>
<div class="addthis_toolbox addthis_default_style " addthis:url='http://blog.jofftastic.co.uk/2008/06/mysql-search-and-replace/' addthis:title='MySQL search and replace '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_button_google_plusone" g:plusone:size="medium"></a><a class="addthis_counter addthis_pill_style"></a></div> <div class="google-plus-1"><!--http://blog.jofftastic.co.uk/2008/06/mysql-search-and-replace/--></div>]]></content:encoded>
			<wfw:commentRss>http://blog.jofftastic.co.uk/2008/06/mysql-search-and-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

