<?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>Codeistry blog &#187; wayfinder</title>
	<atom:link href="http://codeistry.com/blog/tag/wayfinder/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeistry.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 19 Apr 2011 21:59:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>MODx Snippet: New version of Wayfinder</title>
		<link>http://codeistry.com/blog/2009/01/modx-snippet-new-version-of-wayfinder/</link>
		<comments>http://codeistry.com/blog/2009/01/modx-snippet-new-version-of-wayfinder/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 00:21:51 +0000</pubDate>
		<dc:creator>Duncan Lock</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[modx]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[wayfinder]]></category>

		<guid isPermaLink="false">http://www.codeistry.com/blog/?p=215</guid>
		<description><![CDATA[Good news everyone! During my development travails, I&#8217;ve created an updated version of Wayfinder that fixes two issues and adds two handy new features! Fixes I&#8217;ve incorporated this fix which makes the hereClass work properly with weblinks in the menu and I&#8217;ve fixed the SQL query to work around the MySQL 5.0.51 sorting bug. New [...]]]></description>
			<content:encoded><![CDATA[<p>Good news everyone! During my development travails, I&#8217;ve created an updated version of Wayfinder that <strong>fixes two issues</strong> and <strong>adds two handy new features</strong>!</p>
<h3>Fixes</h3>
<p>I&#8217;ve incorporated <a href="http://modxcms.com/forums/index.php/topic,28461.0.html">this fix</a> which makes the hereClass work properly with weblinks in the menu and I&#8217;ve fixed the SQL query to work around the MySQL 5.0.51 sorting bug.</p>
<h3>New Features</h3>
<h4>lastRowTpl</h4>
<p>I&#8217;ve also added a new parameter called <strong>lastRowTpl</strong> which allows you specify a chunk to be used for the last menu item output. It works the same way as all the other wayfinder tpl&#8217;s and defaults to using rowTpl is it isn&#8217;t specified.</p>
<p>It&#8217;s very useful for little menu&#8217;s that currently look like this if you do them with Wayfinder:</p>
<pre>item1 | item2 | item3 | lastitem |</pre>
<p>and should look like this:</p>
<pre>item1 | item2 | item3 | lastitem</pre>
<h4>Odd &amp; Even classes</h4>
<p>Finally, I&#8217;ve added support for even &amp; odd classes on rows. These work like all the other wayfinder classes &#8211; you specify a class name in the parameter and this will be added to the wf.classes placeholder. These ones are only output on the appropriate rows, though &#8211; and you don&#8217;t have to specify both if you don&#8217;t want to &#8211; it&#8217;ll still work with just one.</p>
<p>These are really useful for menu&#8217;s which are supposed to be stripey, with every other item a different colour.</p>
<p>To implement this, I&#8217;ve modified both Wayfinder files. You can download the new versions from <a href="http://www.codeistry.com/assets/files/wayfinder-201.zip">here (.zip)</a> or <a href="http://www.codeistry.com/assets/files/wayfinder-201.tar.gz">here (.tar.gz)</a>.</p>
<p>I&#8217;m using these on live sites, because I&#8217;m a crazy fool, but if we can get some more testing from everyone, maybe this can be added to the repository as a new version and maybe then into the main MODx distribution, so that everyone can share the love.</p>
<p>What do you think &#8211; <a href="http://modxcms.com/forums/index.php/topic,31895.0.html">let me know in the MODx forum thread</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://codeistry.com/blog/2009/01/modx-snippet-new-version-of-wayfinder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

