<?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>Group 3 Solutions &#187; Tabs</title>
	<atom:link href="http://www.group3solutions.com/blog/tag/tabs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.group3solutions.com/blog</link>
	<description>Kanas City Digital Marketing and Search Optimization</description>
	<lastBuildDate>Wed, 08 Sep 2010 15:08:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Joomla Plugin: Tabs &amp; Slides</title>
		<link>http://www.group3solutions.com/blog/joomla-plugin-tabs-slides/</link>
		<comments>http://www.group3solutions.com/blog/joomla-plugin-tabs-slides/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 14:09:28 +0000</pubDate>
		<dc:creator>Brad Kelley</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Slides]]></category>
		<category><![CDATA[Tabs]]></category>
		<category><![CDATA[Website Design]]></category>

		<guid isPermaLink="false">http://www.group3solutions.com/blog/?p=8372</guid>
		<description><![CDATA[A stock Joomla 1.5 install has no built-in facility to display page content in tabs or slides, and so developers must either cobble something together from scratch or use a third party plugin. And that's what takes us to our first plugin of the series... Joomla Tabs and Slides (in content items).]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-9147" title="Joomla Logo" src="http://www.group3solutions.com/blog/wp-content/uploads/2009/11/joomla_logo_by_wikipedia_joomla_2_2798f5729e4aefe212206d7ee6684454_490x350-100x71.png" alt="Joomla Logo" width="100" height="71" /><a href="http://www.joomla.org/" target="_blank">Joomla</a> is one of the world&#8217;s most popular and widely deployed <a href="http://en.wikipedia.org/wiki/Web_content_management_system" target="_blank">content management systems</a>&#8230; and for good reason. Its <a href="http://en.wikipedia.org/wiki/Open_source" target="_blank">open source distribution model</a> and <a href="http://community.joomla.org/" target="_blank">large developer community</a> ensure that new and innovative features and add-ons keep coming. With so many useful <a href="http://extensions.joomla.org/" target="_blank">plugins</a> available, we thought we&#8217;d start a new series detailing some of our favorite.</p>
<p><img class="size-full wp-image-9141 alignright" title="Example of Tabs" src="http://www.group3solutions.com/blog/wp-content/uploads/2009/11/tabs.jpg" alt="Example of Tabs" width="250" height="161" />But first, a little background&#8230; Web designers are always looking for new and better methods to present content in more efficient and user-friendly ways, and two of the best practices borrowed from desktop applications are &#8220;tabs&#8221; and &#8220;slides.&#8221; <a href="http://en.wikipedia.org/wiki/Tab_(GUI)" target="_blank">Tabs</a> allow for multiple content items to be displayed in the same document window, while slides allow portions of the page to expand/collapse on demand. Both provide the designer with a method of allowing the user to quickly get to additional (i.e. supplemental) information without requiring a page load. This idea is pretty common in <a href="http://www.milbankpowergen.com/models/7kw-10kw" target="_blank">sites</a> where there is an initial product description above a series of tabs for technical data, comparison charts, related items, etc.; clicking one of the tabs changes the content below the tab set while keeping the product description above. With the advent of freely available JavaScript frameworks like <a href="http://jquery.com/" target="_blank">jQuery</a> and <a href="http://www.mootools.net/" target="_blank">MooTools</a>, the bad old days of programatically cumbersome and SEO-belligerent tabs and slides are gone, replaced with elegant <a href="http://en.wikipedia.org/wiki/Document_object_model" target="_blank">DOM</a>- and <a href="http://en.wikipedia.org/wiki/Css" target="_blank">CSS</a>-based solutions.</p>
<p><img class="alignright size-full wp-image-9148" title="Joomla Plugin Manager" src="http://www.group3solutions.com/blog/wp-content/uploads/2009/11/joomla_plugin_manager.jpg" alt="Joomla Plugin Manager" width="250" height="154" />A stock Joomla 1.5 install has no built-in facility to display page content in tabs or slides, and so developers must either cobble something together from scratch or use a third party plugin. And that&#8217;s what takes us to our first plugin of the series&#8230; <a href="http://extensions.joomla.org/extensions/style-a-design/tabs-a-slides/1046" target="_blank">Joomla Tabs and Slides (in content items)</a>. Like most plugins, Joomla Tabs and Slides provides a non-invasive method of adding its functionality without the developer having to add any code to his or her templates or touch the core Joomla code at all. As with most well-written plugins, simply install the <a href="http://extensions.joomla.org/extensions/style-a-design/tabs-a-slides/1046" target="_blank">Joomla Tabs and Slides</a> ZIP archive in the Joomla Control Panel (Extensions &gt; Install/Uninstall) and then make sure it&#8217;s activated in the Plugin Manager (Extensions &gt; Plugin Manager). At this point, you need only add some simple inline tags to your articles, so let&#8217;s talk about those.</p>
<p><img style="border: 0px initial initial;" title="Joomla Tabs and Slides Code" src="http://www.group3solutions.com/blog/wp-content/uploads/2009/11/tabs_and_slides_code.gif" alt="Joomla Tabs and Slides Code" width="503" height="283" /></p>
<p>When Joomla renders your site&#8217;s content, it passes through the filters of a number of plugins, each getting the opportunity to do something to the content. Joomla Tabs and Slides simply takes its turn at your content, looks for its special &#8220;tab&#8221; tags (see example above), and outputs the CSS and JavaScript necessary to turn them into tabs. To begin a tab set, simply add a new paragraph in the Joomla article editor and type &#8220;{tab=xxxx}&#8221; replacing xxxx with the name of your tab (don&#8217;t type the quotes; spaces and special characters are allowed). As you can see, the tab tags begin and end with braces. Then type the content of your tab. It can be just about any properly formatted content (tables, paragraphs, images, etc.). When you&#8217;re ready to close your tab and begin the next one (assuming there is more than one), simply create a new paragraph and type &#8220;{tab=xxxx}&#8221; again, replacing xxxx with the name of your next tab (no quotes). Continue this until you have finished the content of your final tab. Then, create a new paragraph and type &#8221;{/tabs}&#8221; (no quotes). This tells the plugin to close up the tab set. In the example above you can see how this looks in the WYSIWYG and source editors, as well as final page render. <em>Note: In the source editor, it&#8217;s possible to use wrapper tags other than paragraphs (e.g. h1, h2, h3) but paragraphs seem to be the easiest for content authors to manage.</em></p>
<p>Hopefully this paints a clear picture of what the plugin can do and how to do it. You can see it in action at <a href="http://www.milbankpowergen.com/models/12kw-20kw" target="_blank">one of our sites</a> and also at the <a href="http://extensions.joomla.org/extensions/style-a-design/tabs-a-slides/1046" target="_blank">Joomla Tabs and Slides</a> plugin page itself. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.group3solutions.com/blog/joomla-plugin-tabs-slides/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
