<?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>Windmill Web Work</title>
	<atom:link href="http://www.windmillwebwork.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.windmillwebwork.com</link>
	<description>A small web design agency in Hudson, Ohio</description>
	<lastBuildDate>Fri, 03 Sep 2010 02:15:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Adding custom entry types to PivotX</title>
		<link>http://www.windmillwebwork.com/pivotx/adding-custom-entry-types-to-pivotx</link>
		<comments>http://www.windmillwebwork.com/pivotx/adding-custom-entry-types-to-pivotx#comments</comments>
		<pubDate>Thu, 02 Sep 2010 18:44:16 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[PivotX]]></category>

		<guid isPermaLink="false">http://www.windmillwebwork.com/?p=328</guid>
		<description><![CDATA[A big advantage of WordPress over PivotX is the availability of custom entry types in WordPress. PivotX doesn&#8217;t have this (and here I should probably insert the word &#8216;yet&#8217;). However, as always, nothing is impossible! We can make PivotX do what we want it to do with a little hacking in the core, and the [...]]]></description>
			<content:encoded><![CDATA[<p>A big advantage of WordPress over PivotX is the availability of custom entry types in WordPress. PivotX doesn&#8217;t have this (and here I should probably insert the word &#8216;yet&#8217;).</p>
<p>However, as always, nothing is impossible! We can make PivotX do what we want it to do with a little hacking in the core, and the help of the &#8216;Bonus Fields&#8217; extension.</p>
<p><span id="more-328"></span>First of all we want to do some modifications to the PivotX backend. Of course this is not recommended, because when you upgrade to a newer version of PivotX, your mods will be overwritten. However, because the modifications are small, and only in one place, it should be fairly easy to make the modifications again after an upgrade.</p>
<p>In this example, we&#8217;re going to make a custom entry type called &#8216;Custom Entry&#8217;.  To get a menu option for creating &#8216;Custom Entries&#8217; in the backend, we need to edit the menu structure that is in the <em>data.php</em> file in the PivotX directory.</p>
<p>Around line 73 in this file, we have the following code:</p>
<pre class="brush:php">                    array(
                        'sortorder' =&gt; 1000,
                        'uri' =&gt; 'entries',
                        'name' =&gt; __('Entries'),
                        'description' =&gt; __('Overview of Entries')
                    ),
                    array(
                        'sortorder' =&gt; 2000,
                        'uri' =&gt; 'entry',
                        'name' =&gt; __('New Entry'),
                        'description' =&gt; __('Write and Publish a new Entry')
                    ),
                    array(
                        'sortorder' =&gt; 3000,
                        'is_divider' =&gt; true
                    ),
                    array(
                        'sortorder' =&gt; 4000,
                        'uri' =&gt; 'pagesoverview',
                        'name' =&gt; __('Pages'),
                        'description' =&gt; __('Overview of Pages')
                    ),
                    array(
                        'sortorder' =&gt; 5000,
                        'uri' =&gt; 'page',
                        'name' =&gt; __('New Page'),
                        'description' =&gt; __('Write and Publish a new Page')
                    ),</pre>
<p>To create a menu entry for our &#8216;Custom Entry&#8217;, we have to add the following code right after the array for a &#8216;New Entry&#8217;, like so:</p>
<pre class="brush:php">                    array(
                        'sortorder' =&gt; 2000,
                        'uri' =&gt; 'entry',
                        'name' =&gt; __('New Entry'),
                        'description' =&gt; __('Write and Publish a new Entry')
                    ),
					// create custom entry menu item
					array(
                        'sortorder' =&gt; 2500,
                        'uri' =&gt; 'entry&amp;entry_type=custom',
                        'name' =&gt; __('New Custom Entry'),
                        'description' =&gt; __('Write and Publish a new Custom Entry')
                    ),
					//end of custom entry menu item
                    array(
                        'sortorder' =&gt; 3000,
                        'is_divider' =&gt; true
                    ),</pre>
<p>For clarity: the new code is between <em>&#8220;// create custom entry menu item&#8221; </em>and <em>&#8220;//end of custom entry menu item&#8221;</em>.</p>
<p>To see if it works, let&#8217;s go to the PivotX backend, and look at the menu:</p>
<div id="attachment_331" class="wp-caption aligncenter" style="width: 503px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/09/menu_backend.jpg" rel="shadowbox[post-328];player=img;" title="PivotX back-end menu"><img class="size-full wp-image-331" title="PivotX back-end menu" src="http://www.windmillwebwork.com/wp-content/uploads/2010/09/menu_backend.jpg" alt="PivotX back-end menu" width="493" height="139" /></a><p class="wp-caption-text">The modified back-end menu</p></div>
<p>There you go: a brand new menu item!<br />
Now of course this menu item needs to do something as well. In order to make this work, we need to make sure the &#8216;<a title="Bonus Fields extension" href="http://extensions.pivotx.net/entry/17/bonusfields" target="_blank">Bonus Fields</a>&#8216; extension is installed first. After installing the extension, we need to create ourselves a bonus field called &#8216;entry_type&#8217;. For this you have to go to &#8216;Extensions -&gt; Configure Extensions -&gt; Bonus Fields&#8217;, and enter the data as shown in this screenshot:</p>
<div id="attachment_335" class="wp-caption aligncenter" style="width: 545px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/09/edit_bonus_field1.jpg" rel="shadowbox[post-328];player=img;" title="Edit Bonus Field"><img class="size-full wp-image-335" title="Edit Bonus Field" src="http://www.windmillwebwork.com/wp-content/uploads/2010/09/edit_bonus_field1.jpg" alt="Edit Bonus Field" width="535" height="432" /></a><p class="wp-caption-text">The &#39;Entry Type&#39; bonus field</p></div>
<p>The field can be &#8216;hidden&#8217;, because we don&#8217;t actually have to see it in the back-end. For testing purposes, you could make it a normal field, but if you don&#8217;t want users to get confused, you should probably hide it.</p>
<p>At this point we should also create a new category just for this type of entry. You&#8217;ll have to go to &#8216;Administration&#8217; -&gt; &#8216;Categories&#8217; and click the &#8216;Create new Category&#8217; button. We&#8217;ll call the category &#8216;custom&#8217;.</p>
<div id="attachment_337" class="wp-caption aligncenter" style="width: 473px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/09/category_add.jpg" rel="shadowbox[post-328];player=img;" title="Add a category"><img class="size-full wp-image-337" title="Add a category" src="http://www.windmillwebwork.com/wp-content/uploads/2010/09/category_add.jpg" alt="Add a category" width="463" height="444" /></a><p class="wp-caption-text">Add a category</p></div>
<p>Next, we&#8217;re going to write a little hook-extension, that will do the following:</p>
<ul>
<li>Assign the category &#8216;Custom&#8217; to our &#8216;Custom Entry&#8217;</li>
<li>Add custom fields to our &#8216;Custom Entry&#8217;.</li>
</ul>
<p>Create a file called <em>&#8216;hook_customtype.php&#8217;</em> in the &#8216;extensions&#8217; directory. The first part of the extension consists of comments, to identify the extension. I used the following code here, but you&#8217;re welcome to insert your own information (to be honest, I copied most of this from <a title="Follow him!" href="http://twitter.com/jadwigo" target="_blank">@Jadwigo</a> anyway)</p>
<pre class="brush:php">&lt;?php
// - Extension: Customtype extrafields
// - Version: 0.1
// - Author: John Schop
// - Email: john.schop at gmail.com
// - Site: http://www.windmillwebwork.com
// - Description: Add bonus fields to custom type entries.
// - Date: 2010-09-02</pre>
<p>The first thing to do is add a hook, so we can call a function when somebody edits an entry:</p>
<pre class="brush:php">$this-&gt;addHook(
    'entry_edit_beforeedit',
    'callback',
	'extraCustomCategory'
    );</pre>
<p>All this does is tell PivotX to call the function &#8216;extraCustomCategory&#8217; as soon as somebody creates or edits an entry, and it will call the function <em>before</em> the entry is edited.</p>
<p>Now we need to create the function itself. The function will assign the value &#8216;custom&#8217;  to our &#8216;Entry Type&#8217; custom field when you click the &#8216;New Custom Entry&#8217; button in the top menu (the item we created when we started all this). It will also assign the &#8216;Custom&#8217; category to these entries:</p>
<pre class="brush:php">function extraCustomCategory(&amp;$entry) {
	global $PIVOTX;

	//var_dump($entry);

	if(isset($_REQUEST['entry_type']) &amp;&amp; $_REQUEST['entry_type']=='custom') {
		$entry['extrafields']['entry_type'] = 'custom';
	}
	// exit if not a custom entry
	if($entry['extrafields']['entry_type'] != 'custom') { return; }

	// add custom category
	if(!in_array('custom', $entry['category'])){
		$entry['category'][] = 'custom';
	};
}</pre>
<p>Remember, we are still adding all this code to our <em>hook_customtype.php</em> file!</p>
<p>Next, we are going to make sure that &#8216;Custom Entries&#8217; actually have something unique that normal entries don&#8217;t have: some extra information!</p>
<p>If you&#8217;re still wondering how you can use this, consider the possibility that you want to add products to your website, with custom fields like &#8216;Price&#8217;, &#8216;Size&#8217; and a picture of the product.</p>
<p>First, the hook, so PivotX knows where to put this extra stuff:</p>
<pre class="brush:php">$this-&gt;addHook(
    'in_pivotx_template',
    'entry-introduction-before',
    array('callback' =&gt; 'extraCustomFields' )
    );</pre>
<p>The above code makes sure that PivotX is going to execute whatever we write in the function <em>&#8216;extraCustomFields&#8217;</em> before the &#8216;introduction&#8217; part of our custom entry.</p>
<p>Assuming you wanted to add &#8216;Price&#8217;, &#8216;Size&#8217; and a picture to your entry, the <em>&#8216;extraCustomFields&#8217; </em>function should look like this:</p>
<pre class="brush:php">function extraCustomFields($item) {
	// exit if a not a custom entry
	if($item['extrafields']['entry_type'] != 'custom') { return; }

    $output = &lt;&lt;&lt; EOM
    &lt;table class="formclass" border="0" cellspacing="0" width="650"&gt;
        &lt;tbody&gt;
			&lt;tr&gt;&lt;td colspan="3"&gt;&lt;hr size="1" noshade="noshade" /&gt;&lt;/td&gt;&lt;/tr&gt;
			&lt;tr&gt;
				&lt;td width="140"&gt;
                    &lt;label for="extrafield-price"&gt;&lt;strong&gt;Price:&lt;/strong&gt;&lt;/label&gt;
                &lt;/td&gt;
                &lt;td width="510" colspan="2"&gt;
                    &lt;input id="extrafield-price" name="extrafields[price]" value="%price%" type="text" /&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
			&lt;tr&gt;
				&lt;td width="140"&gt;
                    &lt;label for="extrafield-size"&gt;&lt;strong&gt;Available sizes:&lt;/strong&gt;&lt;/label&gt;
                &lt;/td&gt;
                &lt;td width="510" colspan="2"&gt;
                    &lt;input id="extrafield-size" name="extrafields[size]" value="%size%" type="text" /&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
			&lt;tr&gt;
                &lt;td width="150"&gt;
                    &lt;label for="extrafield-image"&gt;&lt;strong&gt;Product Image:&lt;/strong&gt;&lt;/label&gt;
                &lt;/td&gt;
                &lt;td width="400"&gt;
                    &lt;input id="extrafield-image" name="extrafields[image]" value="%image%" type="text" style="width: 400px;"/&gt;
                &lt;/td&gt;
                &lt;td width="100" class="buttons_small"&gt;
                    &lt;a href="javascript:;" onclick="openUploadWindow('%label1%', $('#extrafield-image'), 'gif,jpg,png');"&gt;
                        &lt;img src='pics/page_lightning.png' alt='' /&gt; %label2%
                    &lt;/a&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
			&lt;tr&gt;&lt;td colspan="3"&gt;&lt;hr size="1" noshade="noshade" /&gt;&lt;/td&gt;&lt;/tr&gt;
        &lt;/tbody&gt;
    &lt;/table&gt;
EOM;
    // For ease of use, just try to replace everything in $entry here:
    foreach($item as $key=&gt;$value) {
        $output = str_replace("%".$key."%", $value, $output);
    }
    foreach($item['extrafields'] as $key=&gt;$value) {
        $output = str_replace("%".$key."%", $value, $output);
    }
    // Don't keep any %whatever%'s hanging around..
    $output = preg_replace("/%([a-z0-9_-]+)%/i", "", $output);

    return $output;
}</pre>
<p>That is basically all the programming we have to do, but there is one important thing left: at the very end of our <em>hook_customtype.php</em> file, we need to type &#8220;?&gt;&#8221; (of course without the quotes).</p>
<p>Now, in your backend, you should find a new extension in the list, that you of course will have to activate:</p>
<div id="attachment_340" class="wp-caption aligncenter" style="width: 615px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/09/extensions_back-end.jpg" rel="shadowbox[post-328];player=img;" title="Extensions"><img class="size-full wp-image-340" title="Extensions" src="http://www.windmillwebwork.com/wp-content/uploads/2010/09/extensions_back-end.jpg" alt="Extensions" width="605" height="155" /></a><p class="wp-caption-text">Activate the extension</p></div>
<p>Now, to check if everything works, let&#8217;s create a new &#8216;Custom Entry&#8217;:</p>
<div id="attachment_342" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/09/custom_entry.jpg" rel="shadowbox[post-328];player=img;" title="Custom Entry"><img class="size-large wp-image-342" title="Custom Entry" src="http://www.windmillwebwork.com/wp-content/uploads/2010/09/custom_entry-600x304.jpg" alt="Custom Entry" width="600" height="304" /></a><p class="wp-caption-text">Our Custom Entry</p></div>
<p>Ha! Apparently it works. Now if we save this entry, it should show up on the front page of our website (I used the Wichita template here):</p>
<div id="attachment_344" class="wp-caption aligncenter" style="width: 536px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/09/bummer.jpg" rel="shadowbox[post-328];player=img;" title="Bummer"><img class="size-full wp-image-344" title="Bummer" src="http://www.windmillwebwork.com/wp-content/uploads/2010/09/bummer.jpg" alt="Where's my custom fields?" width="526" height="181" /></a><p class="wp-caption-text">Where are the custom fields?</p></div>
<p>Bummer&#8230;no custom fields anywhere. Of course not, because we need to add the custom stuff to our template! In your template, you could add something like this:</p>
<pre class="brush:xml">[[if $entry.extrafields.entry_type=='custom']]
	[[if $entry.extrafields.price!=""]]
		&lt;div class="price"&gt;Price: [[ $entry.extrafields.price ]]&lt;/div&gt;
	[[/if]]
	[[if $entry.extrafields.size!=""]]
		&lt;div class="size"&gt;Sizes: [[ $entry.extrafields.size ]]&lt;/div&gt;
	[[/if]]
	[[if $entry.extrafields.image!=""]]
		&lt;div&gt;&lt;img src="images/[[ $entry.extrafields.image ]]" /&gt;&lt;/div&gt;
	[[/if]]
[[/if]]</pre>
<p>And that should do the trick:</p>
<div id="attachment_345" class="wp-caption aligncenter" style="width: 530px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/09/w00t.jpg" rel="shadowbox[post-328];player=img;" title="Success"><img class="size-full wp-image-345" title="Success" src="http://www.windmillwebwork.com/wp-content/uploads/2010/09/w00t.jpg" alt="The custom entry in all its glory" width="520" height="603" /></a><p class="wp-caption-text">The custom entry in all its glory</p></div>
<p>Awesome!</p>
<p>If you want to create your own custom types of entries, feel free to use <a href="http://www.windmillwebwork.com/wp-content/uploads/2010/09/code.zip">the source code</a>.</p>
<p>Some additional notes and remarks:</p>
<p>- If the entry doesn&#8217;t show up on your frontpage at all, you probably forgot to add the &#8216;custom&#8217; category to your weblog. You need to do this in &#8216;Administration&#8217; -&gt; &#8216;Weblogs&#8217;, then click &#8216;Edit&#8217;, choose the &#8216;Subweblogs&#8217; tab, and add the &#8216;Custom&#8217; category to the list of categories linked to your weblog. This is probably the most counter-intuitive thing in the PivotX backend, but it looks like <a title="Support forum post on this..." href="http://forum.pivotx.net/viewtopic.php?f=2&amp;t=1626&amp;p=8576&amp;hilit=category#p8576" target="_blank">we&#8217;ll have to live with it</a>.</p>
<p>- Again, be careful when upgrading after you&#8217;ve done these mods. Everything will continue to work, but you will loose your &#8216;New Custom Entry&#8217; menu item after an upgrade, unless you make the changes to <em>data.php</em> again.</p>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fadding-custom-entry-types-to-pivotx&amp;linkname=Adding%20custom%20entry%20types%20to%20PivotX" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fadding-custom-entry-types-to-pivotx&amp;linkname=Adding%20custom%20entry%20types%20to%20PivotX" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fadding-custom-entry-types-to-pivotx&amp;linkname=Adding%20custom%20entry%20types%20to%20PivotX" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fadding-custom-entry-types-to-pivotx&amp;linkname=Adding%20custom%20entry%20types%20to%20PivotX" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/pivotx/adding-custom-entry-types-to-pivotx/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PivotX Sandbox opened</title>
		<link>http://www.windmillwebwork.com/pivotx/pivotx-sandbox-opened</link>
		<comments>http://www.windmillwebwork.com/pivotx/pivotx-sandbox-opened#comments</comments>
		<pubDate>Fri, 27 Aug 2010 19:34:19 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[PivotX]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://www.windmillwebwork.com/?p=323</guid>
		<description><![CDATA[Although I use WordPress for this website &#38; blog, I still think PivotX is actually a way better blogging tool. In the past, I&#8217;ve made a bunch of  &#8217;Themes&#8217; for PivotX. All of those are available on the PivotX Themes Website. The problem with that website is that it doesn&#8217;t display a lot of features [...]]]></description>
			<content:encoded><![CDATA[<p>Although I use WordPress for this website &amp; blog, I still think <a title="PivotX website" href="http://pivotx.net" target="_blank">PivotX</a> is actually a way better blogging tool.</p>
<p>In the past, I&#8217;ve made a bunch of  &#8217;Themes&#8217; for PivotX. All of those are available on the <a title="PivotX Themes" href="http://themes.pivotx.net" target="_blank">PivotX Themes Website</a>. The problem with that website is that it doesn&#8217;t display a lot of features for each theme.</p>
<p>But from now on, I will also present my themes in my newly opened <a title="PivotX Sandbox - A test place for themes" href="http://www.windmillwebwork.com/sandbox/" target="_self">PivotX Sandbox</a>. Feel free to browse around!</p>
<p>Of course, the PivotX Themes website is the place to go if you want to download the themes&#8230;</p>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fpivotx-sandbox-opened&amp;linkname=PivotX%20Sandbox%20opened" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fpivotx-sandbox-opened&amp;linkname=PivotX%20Sandbox%20opened" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fpivotx-sandbox-opened&amp;linkname=PivotX%20Sandbox%20opened" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fpivotx-sandbox-opened&amp;linkname=PivotX%20Sandbox%20opened" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/pivotx/pivotx-sandbox-opened/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New PivotX theme: Wichita</title>
		<link>http://www.windmillwebwork.com/pivotx/new-pivotx-theme-wichita</link>
		<comments>http://www.windmillwebwork.com/pivotx/new-pivotx-theme-wichita#comments</comments>
		<pubDate>Thu, 12 Aug 2010 18:22:22 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[PivotX]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[templates]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.windmillwebwork.com/?p=284</guid>
		<description><![CDATA[To celebrate the upcoming release of PivotX 2.1.0, Windmill Web work has released a new theme for PivotX, called &#8216;Wichita&#8217;. After &#8216;Philadelphia&#8217; and &#8216;Baltimore&#8217;, this is the third theme named after a US city (once you&#8217;ve started a tradition, you should stick with it). This time, the theme is red, black and white, with some [...]]]></description>
			<content:encoded><![CDATA[<p>To celebrate the upcoming release of PivotX 2.1.0, Windmill Web work has released a new theme for PivotX, called &#8216;Wichita&#8217;. After &#8216;Philadelphia&#8217; and &#8216;Baltimore&#8217;, this is the third theme named after a US city (once you&#8217;ve started a tradition, you should stick with it). This time, the theme is red, black and white, with some gradients here and there. There is a tabbed interface in the sidebar, that shows the most popular entries (if you have the magnificent <a title="WZUP Extension" href="http://extensions.pivotx.net/entry/18/wzup" target="_blank">WZUP extension</a> installed), the most recent entries and the most recent comments.</p>
<p><span id="more-284"></span><br />
Download <a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/wichita.zip">Wichita Theme</a>.</p>
<hr />
Of course, the theme is available from <a title="PivotX Themes website" href="http://themes.pivotx.net" target="_blank">http://themes.pivotx.net</a>, but the theme previewer does not show all the options, so here are a couple of screenshots:</p>
<p>The frontpage</p>
<div id="attachment_287" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/wichita_front.jpg" rel="shadowbox[post-284];player=img;" title="wichita_front"><img class="size-large wp-image-287" title="wichita_front" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/wichita_front-600x513.jpg" alt="Wichita Front Page" width="600" height="513" /></a><p class="wp-caption-text">Wichita Front Page</p></div>
<p style="text-align: left;">A detail of the navigation bar at the top:</p>
<div id="attachment_288" class="wp-caption aligncenter" style="width: 389px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/navigation_detail.jpg" rel="shadowbox[post-284];player=img;" title="navigation_detail"><img class="size-full wp-image-288" title="navigation_detail" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/navigation_detail.jpg" alt="Navigation detail" width="379" height="148" /></a><p class="wp-caption-text">Navigation detail</p></div>
<p>A detail of the sidebar (with WZUP extension):</p>
<div id="attachment_289" class="wp-caption aligncenter" style="width: 452px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/sidebar_detail.jpg" rel="shadowbox[post-284];player=img;" title="sidebar_detail"><img class="size-full wp-image-289" title="sidebar_detail" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/sidebar_detail.jpg" alt="Sidebar detail" width="442" height="449" /></a><p class="wp-caption-text">Sidebar detail</p></div>
<p>A screenshot of an entry page (with comments):</p>
<div id="attachment_290" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/entry_page.jpg" rel="shadowbox[post-284];player=img;" title="entry_page"><img class="size-large wp-image-290" title="entry_page" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/entry_page-600x529.jpg" alt="Entry Page" width="600" height="529" /></a><p class="wp-caption-text">Entry Page</p></div>
<p>And a screenshot of the search results page:</p>
<div id="attachment_291" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/search_results.jpg" rel="shadowbox[post-284];player=img;" title="search_results"><img class="size-large wp-image-291" title="search_results" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/search_results-600x336.jpg" alt="Search results" width="600" height="336" /></a><p class="wp-caption-text">Search results</p></div>
<p>Like I said, the theme previewer on the official PivotX website has its limitations. Pretty soon, Windmill Web Work will have its own Theme Previewer for all our themes, so all the bells and whistles can be showed, and previewed in a &#8216;real&#8217; environment. More news about that soon, stay tuned!</p>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fnew-pivotx-theme-wichita&amp;linkname=New%20PivotX%20theme%3A%20Wichita" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fnew-pivotx-theme-wichita&amp;linkname=New%20PivotX%20theme%3A%20Wichita" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fnew-pivotx-theme-wichita&amp;linkname=New%20PivotX%20theme%3A%20Wichita" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fnew-pivotx-theme-wichita&amp;linkname=New%20PivotX%20theme%3A%20Wichita" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/pivotx/new-pivotx-theme-wichita/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Showcase of discount supermarket websites in the USA</title>
		<link>http://www.windmillwebwork.com/webdesign/showcase-of-discount-supermarket-websites-in-the-usa</link>
		<comments>http://www.windmillwebwork.com/webdesign/showcase-of-discount-supermarket-websites-in-the-usa#comments</comments>
		<pubDate>Wed, 11 Aug 2010 03:32:50 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://www.windmillwebwork.com/?p=256</guid>
		<description><![CDATA[Supermarkets (or: grocery stores) need a website too. These days, people like to look up online what&#8217;s on sale this week. Personally, I really appreciate it if a grocery store has a website that I can easily navigate. For one, I would like to find the important information without having to search for it. Opening [...]]]></description>
			<content:encoded><![CDATA[<p>Supermarkets (or: <em>grocery stores</em>) need a website too. These days, people like to look up online what&#8217;s on sale this week. Personally, I really appreciate it if a grocery store has a website that I can easily navigate. For one, I would like to find the important information without having to search for it. Opening hours, address, what&#8217;s on sale.  As we will see, there are lot&#8217;s of different approaches to this.</p>
<p>Let&#8217;s dive into the &#8220;Deep Discount and Limited Assortment&#8221; segment of supermarkets. Walking around in those establishments is not a nice shopping experience to start with, but the prices are low, and that is their priority. We can only imagine where &#8216;web design&#8217; is on their list of priorities. Let&#8217;s take a look:</p>
<p>First, we have <strong>Aldi</strong>, a chain based in Germany, that has about 1000 stores in the USA. Aldi specializes in own-brand staple items, and does not decorate their stores. The website of <a title="ALDI Home Page" href="http://aldi.us/index_ENU_HTML.htm" target="_blank">Aldi USA</a> looks surprisingly pleasant:</p>
<div id="attachment_258" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/aldi.png" rel="shadowbox[post-256];player=img;" title="aldi"><img class="size-large wp-image-258" title="aldi" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/aldi-600x562.png" alt="Aldi" width="600" height="562" /></a><p class="wp-caption-text">Aldi USA Website</p></div>
<p style="text-align: left;">The main section actually looks really nice. I&#8217;m a bit disappointed by the header and the top navigation. The navigation does not jump out at you, and that is mainly what you&#8217;ll be looking for once you enter the website. The same goes for the little blocks on the right, where you can find a store locator, something a lot of people will be looking for if they&#8217;ve never been to your store. SEO wise, the site is <a title="Woorank report for ALDI" href="http://www.woorank.com/en/www/aldi.us" target="_blank">not all that bad</a>, but <a title="W3C Validator results for ALDI" href="http://validator.w3.org/check?uri=http://aldi.us/index_ENU_HTML.htm&amp;charset=(detect+automatically)&amp;doctype=Inline&amp;group=0" target="_blank">the XHTML is not valid</a>.</p>
<p style="text-align: left;">Next up is <strong>Food 4 Less</strong>, a smaller chain. I&#8217;ve never been to their stores, but if <a title="Food 4 Less website" href="http://www.food4less.com/" target="_blank">their website</a> is an example of what the store looks like, I wouldn&#8217;t mind shopping there:</p>
<div id="attachment_259" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/food4less.png" rel="shadowbox[post-256];player=img;" title="Food 4 Less"><img class="size-large wp-image-259" title="Food 4 Less" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/food4less-600x533.png" alt="Food 4 Less" width="600" height="533" /></a><p class="wp-caption-text">Food 4 Less Website</p></div>
<p>The quick navigation at the very top right is nice, and has the most sought after navigation items right there. The whole website uses a color scheme that&#8217;s easy on the eye, with subtle gradients here and there. The logo could use a little updating, but that&#8217;s just a personal preference, and changing that could get very expensive, because they would have to change the signs on the stores too of course.</p>
<p>The website is missing a meta description, which does not seem very smart if you look at SEO. The source code <a title="W3C Validator for Food4Less" href="http://validator.w3.org/check?uri=http://www.food4less.com/Pages/default.aspx" target="_blank">doesn&#8217;t validate</a> either, which may or may not be a result of using Microsoft Sharepoint.</p>
<p>For the next one in this category, I&#8217;d like to take you to <strong><a title="Marc's Website" href="http://www.marcs.com/" target="_blank">Marc&#8217;s</a></strong>, a small chain that&#8217;s local to my area. If you think this website looks bad, you&#8217;ve probably never been in an actual Marc&#8217;s store.</p>
<div id="attachment_264" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/marcs.png" rel="shadowbox[post-256];player=img;" title="marcs"><img class="size-large wp-image-264" title="marcs" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/marcs-600x503.png" alt="Marc's" width="600" height="503" /></a><p class="wp-caption-text">Marc&#39;s</p></div>
<p>Again, I&#8217;m surprised by the website. At first sight, there is not much wrong with it. The navigation is somewhat messed up, because apparently the menu items &#8220;What&#8217;s New&#8221; and &#8220;Health &amp; Beauty&#8221; do not fit in the allocated space, which is just plain ugly. I&#8217;m also glad I said &#8216;at first sight&#8217; because upon inspection of the source code, we find out it is made with HTML tables. Now don&#8217;t get me wrong, I don&#8217;t mind a good table, if it&#8217;s used for actually displaying data that belongs in a table. And why a supermarket website needs a picture of the CEO in the header is a mystery to me.</p>
<p>There is also a lot of work left to do on the search engine optimization, and of course the page does not validate, as seems to be the standard in this business.</p>
<p>The last, and in this case the least of this showcase would be <strong><a title="Discount Drug Mart website" href="http://www.discount-drugmart.com/" target="_blank">Discount Drug Mart</a></strong>, which is also a local chain in Ohio. Although their stores do not look as bad as Marc&#8217;s, their website is definitely the ugliest:</p>
<div id="attachment_265" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/discount_drug_mart.png" rel="shadowbox[post-256];player=img;" title="Discount Drug Mart"><img class="size-large wp-image-265" title="Discount Drug Mart" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/discount_drug_mart-600x643.png" alt="Discount Drug Mart" width="600" height="643" /></a><p class="wp-caption-text">Discount Drug Mart</p></div>
<p>You don&#8217;t even have to look at the source code to see that his is just one big HTML table. Looking at the site, you feel overwhelmed by the amount of information on one page. If you follow the links on the left, you are shown a variety of different lay-outs and fonts. Of course, <a title="Comic Sans, really?" href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/comic_sans_really.png" rel="shadowbox[post-256];player=img;">Comic Sans</a> belongs on a website like this, including the occasional spelling error (&#8216;Heathcare&#8217; instead of &#8216;Healthcare&#8217;). Looks really professional.</p>
<p>I didn&#8217;t really want to test the validity f this website, but out of some kind of morbid curiosity i did. The score is 75 errors on the &#8216;Home&#8217; page, but on some of the other pages it gets closer to the magic number 100. Also interesting (by lack of a different term) is the <a title="SEO report for Dicount Drug Mart" href="http://www.woorank.com/en/www/discount-drugmart.com" target="_blank">SEO report</a>. Luckily, you can find them on Facebook and Twitter. That should help.</p>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fshowcase-of-discount-supermarket-websites-in-the-usa&amp;linkname=Showcase%20of%20discount%20supermarket%20websites%20in%20the%20USA" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fshowcase-of-discount-supermarket-websites-in-the-usa&amp;linkname=Showcase%20of%20discount%20supermarket%20websites%20in%20the%20USA" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fshowcase-of-discount-supermarket-websites-in-the-usa&amp;linkname=Showcase%20of%20discount%20supermarket%20websites%20in%20the%20USA" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fshowcase-of-discount-supermarket-websites-in-the-usa&amp;linkname=Showcase%20of%20discount%20supermarket%20websites%20in%20the%20USA" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/webdesign/showcase-of-discount-supermarket-websites-in-the-usa/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sprucing up the comments section in PivotX</title>
		<link>http://www.windmillwebwork.com/pivotx/sprucing-up-the-comments-section-in-pivotx</link>
		<comments>http://www.windmillwebwork.com/pivotx/sprucing-up-the-comments-section-in-pivotx#comments</comments>
		<pubDate>Mon, 02 Aug 2010 06:28:12 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[PivotX]]></category>
		<category><![CDATA[PivotX tutorial]]></category>

		<guid isPermaLink="false">http://www.windmillwebwork.com/?p=226</guid>
		<description><![CDATA[Template tags in PivotX often come with a lot of &#8216;extra features&#8217; that you can use to your advantage when you&#8217;re making a template. A good source of information is the PivotX documentation, and then in particular &#8216;Appendix B&#8216;, which describes all the template tags. A good example is the [[ comments ]] template tag. This tag [...]]]></description>
			<content:encoded><![CDATA[<p>Template tags in PivotX often come with a lot of &#8216;extra features&#8217; that you can use to your advantage when you&#8217;re making a template. A good source of information is the <a title="PivotX Book" href="http://book.pivotx.net" target="_blank">PivotX documentation</a>, and then in particular &#8216;<a title="Appendix B, All template tags" href="http://book.pivotx.net/index.php?page=app-b" target="_blank">Appendix B</a>&#8216;, which describes all the template tags.<span id="more-226"></span><br />
A good example is the [[ comments ]] template tag. This tag has a lot of extra formatting tags built-in, as you can see <a title="The [[ comments ]] tag" href="http://book.pivotx.net/index.php?page=app-b#anchor-comments" target="_blank">here</a>.</p>
<p>Now let&#8217;s take a fresh PivotX install, which comes with the &#8216;Skinny&#8217; theme. A typical comments section would look like this:</p>
<div id="attachment_228" class="wp-caption aligncenter" style="width: 498px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/comments_skinny.png" rel="shadowbox[post-226];player=img;" title="comments_skinny"><img class="size-full wp-image-228" title="comments_skinny" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/comments_skinny.png" alt="Comments section of the Skinny theme" width="488" height="510" /></a><p class="wp-caption-text">Skinny</p></div>
<p>I must say, it looks good &#8216;out-of-the-box&#8217;. However, a lot of blogs these days have a slightly different lay-out for each next comment, just to make a little visual difference between one comment and the next. You can see an example below, from the <a title="Designm.ag" href="http://designm.ag/" target="_blank">Designm.ag</a> website:</p>
<div id="attachment_231" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/designm_ag.png" rel="shadowbox[post-226];player=img;" title="designm_ag"><img class="size-large wp-image-231" title="designm_ag" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/designm_ag-600x693.png" alt="Designm.ag" width="600" height="693" /></a><p class="wp-caption-text">Designm.ag</p></div>
<p>As you can see, there is a little difference in the shade of grey they use for the background color. Can PivotX do that? Yes, it can.</p>
<p>Let&#8217;s take another close look at the documentation, and you&#8217;ll find the %even-odd% templating tag, which returns &#8216;even&#8217; or &#8216;odd&#8217;, depending on the number of the current comment.</p>
<p>Now, if we take the code for the comments section of the Skinny template file &#8216;entry_template.html&#8217;, we find the comments section around line number 25:</p>
<pre class="brush:xml">&lt;div class="commentblock"&gt;    

	&lt;p&gt;[[ commcount ]]&lt;/p&gt;
	[[ comments]]
	&lt;div class="comment"&gt;
		%anchor%
		&lt;img class="gravatar" src="%gravatar%" alt="%name%" /&gt;
		&lt;div class="comment-text"&gt;
		 %comment%
		 &lt;div class="meta"&gt;%name%, %email% %url% - %date% %editlink%&lt;/div&gt;
		 &lt;/div&gt;
	&lt;/div&gt;

	[[ /comments ]]
&lt;/div&gt;&lt;!-- .commentblock --&gt;</pre>
<p>Ok, that&#8217;s nothing to get scared of. Pay attention to the part between [[ comments ]] and [[ /comments ]], because that is where PivotX loops through all the comments for an entry. You can see that every comment is wrapped in a &lt;div&gt; with the class &#8220;comment&#8221;. Now, if we make use of the %even-odd% formatting tag, we can give each comment an extra class. Look at the following code, and look especially at the 5th  line:</p>
<pre class="brush:xml">&lt;div class="commentblock"&gt;    

	&lt;p&gt;[[ commcount ]]&lt;/p&gt;
	[[ comments]]
	&lt;div class="comment %even-odd%"&gt;
		%anchor%
		&lt;img class="gravatar" src="%gravatar%" alt="%name%" /&gt;
		&lt;div class="comment-text"&gt;
		 %comment%
		 &lt;div class="meta"&gt;%name%, %email% %url% - %date% %editlink%&lt;/div&gt;
		 &lt;/div&gt;
	&lt;/div&gt;

	[[ /comments ]]
&lt;/div&gt;&lt;!-- .commentblock --&gt;</pre>
<p>See what I did there? Now every comment will not only get the class &#8220;comment&#8221;, but also a class &#8220;odd&#8221; or &#8220;even&#8221;, depending on the number of the comment we are currently looping through. That&#8217;s great, because now, we can style those comments separately. If you look in the style.css file that comes with the Skinny theme, you&#8217;ll even find there is no styling for the &#8220;comment&#8221; class. Apparently that class was only added for semantic reasons.</p>
<p>Now we add the following code to the style.css file:</p>
<pre class="brush:css">.comment {
margin:5px 0;
padding:5px;
}

.even {
border:1px solid #888;
}</pre>
<p>Let&#8217;s look at that entry again, and see what effect that has:</p>
<div id="attachment_237" class="wp-caption aligncenter" style="width: 503px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/comment_modified.png" rel="shadowbox[post-226];player=img;" title="comment_modified"><img class="size-full wp-image-237" title="comment_modified" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/comment_modified.png" alt="" width="493" height="490" /></a><p class="wp-caption-text">The modified comments section</p></div>
<p>Of course I could have done a lot more there, with background colors and other bells and whistles, but the subtle border doesn&#8217;t disturb the otherwise very simple lay-out of &#8216;Skinny&#8217; too much I think.</p>
<h4>Important note:</h4>
<p>If you do want to modify the Skinny template files, it&#8217;s better to copy the whole directory <em>/</em><em>pivotx</em><em>/templates/skinny</em> first, and rename it to something else. Then go into the PivotX back-end, and set the templates for your weblog to those files. If you don&#8217;t do that, you will loose all your changes when you upgrade to a newer version of PivotX, because the &#8216;Skinny&#8217; directory would be overwritten with the original that comes with PivotX.</p>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fsprucing-up-the-comments-section-in-pivotx&amp;linkname=Sprucing%20up%20the%20comments%20section%20in%20PivotX" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fsprucing-up-the-comments-section-in-pivotx&amp;linkname=Sprucing%20up%20the%20comments%20section%20in%20PivotX" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fsprucing-up-the-comments-section-in-pivotx&amp;linkname=Sprucing%20up%20the%20comments%20section%20in%20PivotX" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fsprucing-up-the-comments-section-in-pivotx&amp;linkname=Sprucing%20up%20the%20comments%20section%20in%20PivotX" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/pivotx/sprucing-up-the-comments-section-in-pivotx/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Examples of minimalistic web design</title>
		<link>http://www.windmillwebwork.com/webdesign/examples-of-minimalistic-web-design</link>
		<comments>http://www.windmillwebwork.com/webdesign/examples-of-minimalistic-web-design#comments</comments>
		<pubDate>Sun, 01 Aug 2010 08:00:01 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://www.windmillwebwork.com/?p=190</guid>
		<description><![CDATA[A often heard phrase is &#8216;less is more&#8217; when it comes to web design. This means that (most of the) unnecessary design elements can be stripped from a web page, and it can still look well-designed and beautiful. These web pages are then referred to as &#8216;minimalistic&#8217;. If you look up &#8216;minimalism&#8217; in a dictionary, [...]]]></description>
			<content:encoded><![CDATA[<p>A often heard phrase is &#8216;less is more&#8217; when it comes to web design. This means that (most of the) unnecessary design elements can be stripped from a web page, and it can still look well-designed and beautiful.</p>
<p>These web pages are then referred to as &#8216;minimalistic&#8217;. If you look up &#8216;minimalism&#8217; in a dictionary, you&#8217;ll find something like:</p>
<blockquote><p>design or style in which the simplest and fewest elements are used to create the maximum effect</p></blockquote>
<p>Examples of minimalism in art are for example <a title="Composition no. 10, Piet Mondrian" href="http://www.ibiblio.org/wm/paint/auth/mondrian/comp-10.jpg" rel="shadowbox[post-190];player=img;">the paintings of Piet Mondrian</a>. I&#8217;m not going to give an opinion of minimalism in art here, but I must say that for web design, minimalism usually works really well.</p>
<p><span id="more-190"></span></p>
<p>Let&#8217;s look at some examples that I personally really appreciate:</p>
<p><a title="Finch" href="http://getfinch.com/" target="_blank">Finch</a></p>
<div id="attachment_193" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/finch.png" rel="shadowbox[post-190];player=img;" title="Finch"><img class="size-large wp-image-193" title="Finch" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/finch-600x497.png" alt="Finch" width="600" height="497" /></a><p class="wp-caption-text">Finch</p></div>
<p><a title="Sleepover, San Francisco" href="http://www.sleepoversf.com/" target="_blank">Sleepover, San Fransisco</a></p>
<div id="attachment_195" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/sleepover.png" rel="shadowbox[post-190];player=img;" title="Sleepover, San Francisco"><img class="size-large wp-image-195" title="Sleepover, San Francisco" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/sleepover-600x269.png" alt="Sleepover, San Francisco" width="600" height="269" /></a><p class="wp-caption-text">Sleepover, San Francisco</p></div>
<p><a title="Hot Meteor" href="http://www.hotmeteor.com/" target="_blank">Hot Meteor</a></p>
<div id="attachment_196" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/hot_meteor.png" rel="shadowbox[post-190];player=img;" title="Hot Meteor"><img class="size-large wp-image-196" title="Hot Meteor" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/hot_meteor-600x296.png" alt="Hot Meteor" width="600" height="296" /></a><p class="wp-caption-text">Hot Meteor</p></div>
<p><a title="Being Wicked" href="http://beingwicked.com/" target="_blank">Being Wicked</a></p>
<div id="attachment_198" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/being_wicked.png" rel="shadowbox[post-190];player=img;" title="Being Wicked"><img class="size-large wp-image-198" title="Being Wicked" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/being_wicked-600x300.png" alt="Being Wicked" width="600" height="300" /></a><p class="wp-caption-text">Being Wicked</p></div>
<p><a title="Design Intellection" href="http://designintellection.com/" target="_blank">Design Intellection</a></p>
<div id="attachment_200" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/design_intellection.png" rel="shadowbox[post-190];player=img;" title="Design Intellection"><img class="size-large wp-image-200" title="Design Intellection" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/design_intellection-600x294.png" alt="Design Intellection" width="600" height="294" /></a><p class="wp-caption-text">Design Intellection</p></div>
<p><a title="Full Cream Milk" href="http://www.fullcreammilk.co.uk/" target="_blank">Full Cream Milk</a>, one of my all time favorites.</p>
<div id="attachment_201" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/full_cream_milk.png" rel="shadowbox[post-190];player=img;" title="Full Cream Milk"><img class="size-large wp-image-201" title="Full Cream Milk" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/full_cream_milk-600x313.png" alt="Full Cream Milk" width="600" height="313" /></a><p class="wp-caption-text">Full Cream Milk</p></div>
<p>Of course, let&#8217;s not forget my own attempt at a minimalistc web design, for <a title="Keller Rigging &amp; Construction" href="http://www.kellerrigging.com/" target="_blank">Keller Rigging &amp; Construction</a></p>
<div id="attachment_209" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/08/keller_rigging.png" rel="shadowbox[post-190];player=img;" title="Keller Rigging &amp; Construction"><img class="size-large wp-image-209" title="Keller Rigging &amp; Construction" src="http://www.windmillwebwork.com/wp-content/uploads/2010/08/keller_rigging-600x343.png" alt="Keller Rigging &amp; Construction" width="600" height="343" /></a><p class="wp-caption-text">Keller Rigging &amp; Construction</p></div>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fexamples-of-minimalistic-web-design&amp;linkname=Examples%20of%20minimalistic%20web%20design" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fexamples-of-minimalistic-web-design&amp;linkname=Examples%20of%20minimalistic%20web%20design" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fexamples-of-minimalistic-web-design&amp;linkname=Examples%20of%20minimalistic%20web%20design" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fexamples-of-minimalistic-web-design&amp;linkname=Examples%20of%20minimalistic%20web%20design" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/webdesign/examples-of-minimalistic-web-design/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make an intelligent ‘read more’ link in PivotX</title>
		<link>http://www.windmillwebwork.com/pivotx/how-to-make-an-intelligent-read-more-link-in-pivotx</link>
		<comments>http://www.windmillwebwork.com/pivotx/how-to-make-an-intelligent-read-more-link-in-pivotx#comments</comments>
		<pubDate>Sat, 31 Jul 2010 12:50:21 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[PivotX]]></category>
		<category><![CDATA[PivotX tutorial]]></category>

		<guid isPermaLink="false">http://www.windmillwebwork.com/?p=158</guid>
		<description><![CDATA[If you read a blog, a lot of times you&#8217;ll see the introduction of a blog entry on the front page of the blog, followed by a &#8216;Read more&#8217; link. That link will take you to the full text on the entry. In a PivotX template, you can place that &#8216;Read more&#8217; link in a [...]]]></description>
			<content:encoded><![CDATA[<p>If you read a blog, a lot of times you&#8217;ll see the introduction of a blog entry on the front page of the blog, followed by a &#8216;Read more&#8217; link. That link will take you to the full text on the entry.</p>
<p>In a PivotX template, you can place that &#8216;Read more&#8217; link in a template with <a title="PivotX documentation" href="http://book.pivotx.net/index.php?page=app-b#anchor-more" target="_blank">the [[ more ]] template tag</a>. You can even control what the link looks like with the parameter &#8216;text&#8217;, like so: [[more text="Continue reading..." ]]. There is a problem with this template tag though&#8230;<span id="more-158"></span></p>
<p>Let me explain what the issue is before we look at solving it:</p>
<p>The automagically generated link will contain &#8216;#bodyanchor&#8217; at the end of the link url, so you can actually let the reader jump to the body text. I don&#8217;t like that, because in a lot of layouts it&#8217;s confusing, and the user ends up scrolling up, to then realize he&#8217;s already read that part, and he was redirected to the actual body. Also, there is no way of giving the link a separate class.</p>
<p>The solution is simple: just make a link to the blog entry (the &#8216;permalink&#8217;):</p>
<pre class="brush:xml">&lt;a class="more-link" href="[[ link hrefonly=1 ]]"&gt;Read More »&lt;/a&gt;</pre>
<p>This will display something like &#8216;Read more »&#8217;, and now the link has a class called &#8216;more-link&#8217; that you can use to style it.</p>
<p>However, sometimes you write blog posts that are not very long, and those entries might not have more text to display than just the introduction. Normally, the [[ more ]] tag would not output anything in that case. The above code will, and this can be quite dissapointing for visitors to your blog, and confusing too. After clicking the &#8216;read more&#8217; link, it turns out there&#8217;s nothing more to read!</p>
<p>Thanks to the power of <a title="Smarty template engine" href="http://smarty.net" target="_blank">Smarty</a>, there&#8217;s always a solution. Just program some intelligence in your template, and you can make the &#8216;read more&#8217; link disappear when there is nothing after the introduction.</p>
<p>The solution is to use an [[ if ]] statement that looks if there&#8217;s more to read first:</p>
<pre class="brush:xml">    [[ if $entry.body != "" ]]
         &lt;a class="more-link" href="[[ link hrefonly=1 ]]"&gt;Read More »&lt;/a&gt;
    [[ /if ]]</pre>
<p>If you wrap your link like this, it will only show up if the body of the entry actually contains any text.</p>
<p><em>Note: I edited this post after publishing. I&#8217;ve been using the permalink for so long, I didn&#8217;t realize the [[ more ]] tag actually doesn&#8217;t display when there is no text in the body. Still I like to use the &#8216;permalink&#8217; method for the &#8216;Read more&#8217; link, and then you need the [[ if ]] statement&#8230;</em></p>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fhow-to-make-an-intelligent-read-more-link-in-pivotx&amp;linkname=How%20to%20make%20an%20intelligent%20%E2%80%98read%20more%E2%80%99%20link%20in%20PivotX" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fhow-to-make-an-intelligent-read-more-link-in-pivotx&amp;linkname=How%20to%20make%20an%20intelligent%20%E2%80%98read%20more%E2%80%99%20link%20in%20PivotX" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fhow-to-make-an-intelligent-read-more-link-in-pivotx&amp;linkname=How%20to%20make%20an%20intelligent%20%E2%80%98read%20more%E2%80%99%20link%20in%20PivotX" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fhow-to-make-an-intelligent-read-more-link-in-pivotx&amp;linkname=How%20to%20make%20an%20intelligent%20%E2%80%98read%20more%E2%80%99%20link%20in%20PivotX" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/pivotx/how-to-make-an-intelligent-read-more-link-in-pivotx/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A short history of webdesign in The Netherlands</title>
		<link>http://www.windmillwebwork.com/webdesign/a-short-history-of-webdesign-in-the-netherlands</link>
		<comments>http://www.windmillwebwork.com/webdesign/a-short-history-of-webdesign-in-the-netherlands#comments</comments>
		<pubDate>Fri, 30 Jul 2010 03:47:18 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://localhost/windmill2010/?p=108</guid>
		<description><![CDATA[The Netherlands have a long history in web design. Back in 1693, when it became a law that every windmill should have a name, the Dutch thought it would be fun if every windmill had its own &#8216;home page&#8217; as well. So they started designing. Most home pages back in the day were made with [...]]]></description>
			<content:encoded><![CDATA[<p>The Netherlands have a long history in web design. Back in 1693, when it became a law that every windmill should have a name, the Dutch thought it would be fun if every windmill had its own &#8216;home page&#8217; as well. So they started <a title="Homepage of a Windmill (1703)" href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/8122795_8122792.jpg" rel="shadowbox[post-108];player=img;">designing</a>. Most home pages back in the day were made with quill pens on a piece of paper. Of course Google and Yahoo didn&#8217;t exist yet, so the amount of visitors was still low, also because you actually had to go to the windmill to see its home page. And once you arrived at the site, there was so much more stuff to see, that most people didn&#8217;t really care about the home page. After all, it&#8217;s more exciting to see a real windmill than to see one on paper&#8230;<span id="more-108"></span></p>
<p>Because all those &#8216;home page makers&#8217; had to wait until 1989 before <a title="He works at W3C now" href="http://www.w3.org/People/Berners-Lee/" target="_blank">Tim Berners-Lee</a> finally invented the World Wide Web, most of those early designs got lost, you know how that works with home pages and stuff.</p>
<p>But, just like wooden shoes, the art of making &#8216;home pages&#8217; never really got forgotten. It was one of the trades that you see at a fair or when you visit a farmers market or something. There would always be an old guy sitting on a stool somewhere, drafting pages with a set of old quill pens and a bunch of different colors of ink. Of course, hyperlinks and &#8216;back&#8217; buttons were not invented yet, so browsing a corporate website of let&#8217;s say the Dutch East India Company required a lot of patience and concentration. Luckily, there were no animated GIFs either.</p>
<p>Anyway, after HTML was invented, everything went really fast. All of a sudden, all those weird guys that used to still work as a &#8216;home page maker&#8217; at fairs and such, suddenly had a real job! They started calling themselves webdesigners, and within no time they were driving around in Ferrari&#8217;s. That didn&#8217;t last long, because apparently Ferrari&#8217;s are not made to be driven while you are wearing wooden shoes. The few webdesigners that survived, started wearing Italian shoes, and from that moment on things really got going.</p>
<p>We all know where it went from there. If it wasn&#8217;t for those early webdesigners, you wouldn&#8217;t be looking at this website! Of course, something like the AOL &#8211; Time Warner disaster or Internet Explorer 6 wouldn&#8217;t have happened either, but that&#8217;s just a minor detail in history.</p>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fa-short-history-of-webdesign-in-the-netherlands&amp;linkname=A%20short%20history%20of%20webdesign%20in%20The%20Netherlands" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fa-short-history-of-webdesign-in-the-netherlands&amp;linkname=A%20short%20history%20of%20webdesign%20in%20The%20Netherlands" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fa-short-history-of-webdesign-in-the-netherlands&amp;linkname=A%20short%20history%20of%20webdesign%20in%20The%20Netherlands" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fwebdesign%2Fa-short-history-of-webdesign-in-the-netherlands&amp;linkname=A%20short%20history%20of%20webdesign%20in%20The%20Netherlands" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/webdesign/a-short-history-of-webdesign-in-the-netherlands/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching from PivotX to WordPress</title>
		<link>http://www.windmillwebwork.com/pivotx/switching-from-pivotx-to-wordpress</link>
		<comments>http://www.windmillwebwork.com/pivotx/switching-from-pivotx-to-wordpress#comments</comments>
		<pubDate>Thu, 29 Jul 2010 04:17:23 +0000</pubDate>
		<dc:creator>schop</dc:creator>
				<category><![CDATA[PivotX]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[PivotX WordPress]]></category>

		<guid isPermaLink="false">http://localhost/windmill2010/?p=117</guid>
		<description><![CDATA[After years of using Pivot and &#8211; more recently &#8211; PivotX blogging software, I have moved the Windmill Web Work website to WordPress. Although I love PivotX as a blogging tool, it is not very widely used. WordPress on the other hand, has a huge following, and is used by millions of professional and amateur [...]]]></description>
			<content:encoded><![CDATA[<p>After years of using <a title="Pivot, the old version.." href="http://www.pivotlog.net/" target="_blank">Pivot</a> and &#8211; more recently &#8211; <a title="PivotX, the coolest blogging tool in the world" href="http://pivotx.net" target="_blank">PivotX</a> blogging software, I have moved the Windmill Web Work website to <a title="WordPress (capital P, yes)" href="http://wordpress.org/" target="_blank">WordPress</a>. Although I love PivotX as a blogging tool, it is not very widely used. WordPress on the other hand, has a huge following, and is used by millions of <a title="Yes, he's a pro" href="http://perezhilton.com/" target="_blank">professional</a> and amateur bloggers, and by a lot of <a title="Pepsi, for example" href="http://www.refresheverything.com/blog/" target="_blank">corporate websites</a> as well.<span id="more-117"></span></p>
<p>For a small webdesign agency like Windmill Web Work, it is nice to have experience with a niche blogging tool like PivotX, but it is also very useful to know stuff about WordPress, just because everybody assumes you do. Of course WordPress has its downsides as well, especially when it comes to the templating system. PivotX uses the template engine &#8216;<a title="Smarty Template Engine" href="http://www.smarty.net/" target="_blank">Smarty</a>&#8216;, which means that you don&#8217;t have to be a programmer to be able to create a nice lay-out for your blog.</p>
<p>In fact, I was really disappointed with the way WordPress handles templates. Just compare the two screenshots  below of  the code to loop through the blog-entries, and you understand what I mean.</p>
<div id="attachment_125" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/pivotx_loop.jpg" rel="shadowbox[post-117];player=img;" title="PivotX loop"><img class="size-medium wp-image-125   " title="PivotX loop" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/pivotx_loop-300x182.jpg" alt="PivotX loop" width="300" height="182" /></a><p class="wp-caption-text">PivotX loop</p></div>
<div id="attachment_126" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/wp_loop.jpg" rel="shadowbox[post-117];player=img;" title="WordPress Loop"><img class="size-medium wp-image-126  " title="WordPress Loop" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/wp_loop-300x113.jpg" alt="WordPress Loop" width="300" height="113" /></a><p class="wp-caption-text">WordPress Loop</p></div>
<p>On the other hand, the <a title="WordPress Codex" href="http://codex.wordpress.org/Main_Page" target="_blank">documentation for WordPress</a> is so well written and organized, that anybody with a little PHP knowledge can learn how to deal with it pretty quick.</p>
<p>Since I have no experience with earlier versions of WordPress than 3.0, I can&#8217;t really make a good comparison for pre-3.0 installations of &#8216;WP&#8217;, but I was pleasantly surprised by how easy it was to install.</p>
<div id="attachment_123" class="wp-caption alignright" style="width: 310px"><a href="http://www.windmillwebwork.com/wp-content/uploads/2010/07/install_plugins.jpg" rel="shadowbox[post-117];player=img;" title="Install plug-ins from the back-end"><img class="size-medium wp-image-123   " title="Install plug-ins from the back-end" src="http://www.windmillwebwork.com/wp-content/uploads/2010/07/install_plugins-300x166.jpg" alt="Install plug-ins from the back-end" width="300" height="166" /></a><p class="wp-caption-text">Install plug-ins from the back-end</p></div>
<p>Also, installation of plug-ins is a breeze, because you never even have to leave your WordPress back-end to install and activate them.</p>
<p>A big improvement, if I may believe <a href="http://ezinearticles.com/?WordPress-Review---Is-WordPress-3.0-a-Killer-CMS,-Or-a-CMS-Killer?&amp;id=4502807" target="_blank">people</a> that have <a title="PC Pro review" href="http://www.pcpro.co.uk/reviews/software/359392/wordpress-3" target="_blank">reviewed WordPress 3.0</a>, is the increased ability to use it as a full-blown CMS. Now, truth be told, you can pretty much do the same with PivotX, but that requires more work.</p>
<p>Another big advantage of WordPress is the amount of plug-ins that are available for it. Of course there is a lot of junk and pieces of code that are incompatible with version 3.0, but still there are a lot of add-ons available. PivotX has only a small amount of (high quality) &#8216;<a title="PivotX Extensions website" href="http://extensions.pivotx.net/" target="_blank">extensions</a>&#8216; available, and the number is growing every day, but I think it is safe to say that it will never get to the level of WordPress. It&#8217;s not hard to write your own extensions for it, but of course it does require some programming knowledge.</p>
<p>A pro of PivotX is the <a title="PivotX Forum" href="http://forum.pivotx.net/" target="_blank">support community</a>. The community is very small, but that has its advantages. If you have a problem, you can pretty much contact the lead developers directly (through the support forum), and it is almost guaranteed that your problem will be solved within the next 24 hours. Even requests for new extensions and functionalities are looked at on a daily basis, and if your request makes sense, there is a good chance it will be included in the core, or somebody will take the time to write an extension for you.</p>
<p>Where PivotX is especially lacking, is in the <a title="PivotX Documentation" href="http://book.pivotx.net/" target="_blank">documentation department</a> (although that&#8217;s being worked on as well). The basics are there though, and for most users that will be enough. The WordPress Codex is very well organized, and there are thousands of tutorials available online with advanced tips &amp; tricks.</p>
<p>As a conclusion, I think it is safe to say that PivotX is the perfect choice if you want to start a blog. There is not a lot of choices in <a title="PivotX Themes Website" href="http://themes.pivotx.net/" target="_blank">available themes</a> and extensions (&#8216;plug-ins&#8217;), so if you want something unique, you&#8217;ll have to do that yourself. The good thing is, thanks to Smarty, it&#8217;s easy to do. It is also very lightweight, and has native support for mod-rewrite (&#8216;pretty links&#8217;) and other important things. For small websites with limited functionality, like <a title="Yes, I have a blog, but I don't use it" href="http://johnschop.nl" target="_blank">my personal blog</a>, PivotX will always be my first choice.</p>
<p>PivotX has just reached version 2.1.0RC (Release Candidate), and is being improved every day.</p>
<p>If you want to start a more complex website, and you don&#8217;t have any experience with programming, WordPress is probably the right choice. Although it is somewhat &#8216;bloated&#8217; with features, a lot of people don&#8217;t mind that. If you don&#8217;t know what it is, don&#8217;t use it, and it will work out-of-the-box. Everybody can install nifty little additions without even using an FTP client or other scary things.</p>
<p>And oh, for people looking for the GIMP tutorials I had on my &#8216;old&#8217; blog: they&#8217;re gone. I did not want to go through the trouble of converting the PivotX entries to WordPress, although I&#8217;m sure it wouldn&#8217;t be that hard. The good news is, in the future I will be publishing tutorials again, so just come back on a regular basis! (ever heard of <a title="Learn about RSS" href="http://en.wikipedia.org/wiki/RSS" target="_blank">RSS feeds</a>? You can s<a title="RSS Feed" href="http://www.windmillwebwork.com/comments/feed" target="_blank">ubscribe to the feed</a>, so you&#8217;ll stay updated&#8230;</p>
<p><a href="http://www.addtoany.com/add_to/printfriendly?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fswitching-from-pivotx-to-wordpress&amp;linkname=Switching%20from%20PivotX%20to%20WordPress" title="PrintFriendly" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/printfriendly.png" width="16" height="16" alt="PrintFriendly"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fswitching-from-pivotx-to-wordpress&amp;linkname=Switching%20from%20PivotX%20to%20WordPress" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fswitching-from-pivotx-to-wordpress&amp;linkname=Switching%20from%20PivotX%20to%20WordPress" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwww.windmillwebwork.com%2Fpivotx%2Fswitching-from-pivotx-to-wordpress&amp;linkname=Switching%20from%20PivotX%20to%20WordPress" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://www.windmillwebwork.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Bookmark</a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.windmillwebwork.com/pivotx/switching-from-pivotx-to-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/36 queries in 0.106 seconds using disk
Object Caching 850/926 objects using disk

Served from: www.windmillwebwork.com @ 2010-09-05 08:47:16 -->