<?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>PHPkitchen &#187; navigation</title>
	<atom:link href="http://phpkitchen.com/tag/navigation/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpkitchen.com</link>
	<description>PHP and Web Development News and Tips</description>
	<lastBuildDate>Fri, 20 Aug 2010 15:00:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating Navigation Widgets with PHP Seagull</title>
		<link>http://phpkitchen.com/2003/06/creating-navigation-widgets-with-phpseagull/</link>
		<comments>http://phpkitchen.com/2003/06/creating-navigation-widgets-with-phpseagull/#comments</comments>
		<pubDate>Thu, 05 Jun 2003 17:23:13 +0000</pubDate>
		<dc:creator>Demian Turner</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[seagull]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=361</guid>
		<description><![CDATA[ 
This tutorial presumes you&#8217;ve had a look at the PHP Seagull app framework.
At the moment the PHP Seagull offers a fairly simple API for creating a range of navigation widgets.  The three main approaches are as follows:

Using a wrapper for PEAR&#8217;s HTML_Treemenu:To create a menu like the one used in the admin section under Publisher you [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>This tutorial presumes you&#8217;ve had a look at the <a href="http://seagullproject.rog/">PHP Seagull </a>app framework.</p>
<p>At the moment the PHP Seagull offers a fairly simple API for creating a range of navigation widgets.  The three main approaches are as follows:</p>
<ol>
<li><strong>Using a wrapper for PEAR&#8217;s HTML_Treemenu:</strong>To create a menu like the one used in the admin section under <strong>Publisher</strong> you can use the wrapper method <strong>getGuruTree()</strong> in the CategoryManager class.  You can customise the defaults set in the method, basically the data is grabbed from the category table which follows an id-parent id structure and is simple to build.  Of course you can use <strong>Publisher</strong>,<strong> </strong>hit the categories button and use the web API to build up the tree, so far it does everything you&#8217;ll need except node ordering, this is coming soon.
<p>The main reason for using <strong>getGuruTree() </strong>should be when you need to constantly update the category information, like in an admin role updating the nodes, so there&#8217;ll be quite a big DB call for each request (depending on how many nodes are in  your table) and obviously no caching.</li>
</ol>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://phpkitchen.com/2003/06/creating-navigation-widgets-with-phpseagull/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
