Shopping Cart

The cart is empty

Pure Tabs Documentation

Important Notice: The name of this plugin was changed from "Easy Tabs" to "Pure Tabs" due to a naming conflict with an existing plugin registered with JED.

Installation:

This plugin is designed for Joomla 2.5. To install go to the Extension Manager - Install page of Joomla Administrator and upload the package file.

Usage:

To use this plugin as content in an article, first enable the plugin and configure the default parameters in the Plugin Manager.

To use the plugin in an article, you utilize the two tag expressions, each with a different set of attributes. They are used very similar to xhtml, with the exception that they surrounded by curly brackets.

The first tag expression is {puretabs}{/puretabs}. Notice that it has a start tag and an end tag. It has 6 attributes as follows:

puretabs Attribute default value possible values
theme basic-blue.css [any css file in the themes folder]
position top bottom, left, right, top
headerfullnone, list, full
selected1[number relating to one of the tabs]
centered01, 0
height500[any integer number]

The second tag expression is {tab}{/tab}. Notice that this also has a start and end tag. In addition, this expression exists inside of {puretabs}{/puretabs}, one or more times. It has 3 attributes and 4 possible modes. Here are the 3 attributes:

tab attributedefault valuepossible values
titleTab[the text for the tab button]
modetexttext, article, module, position
iconurl-[optional url to an image prepended to the tab text]

There 4 possible modes:

modedescription
text[type text between start and end tag]
article[specify the article id between start and end tag]
module[specify the module name between start and end tag]
position[specify the module position between start and end tag]

There are also various formats for the module mode and the position mode. For the module mode, you can specify the module name, its title and its style; each separated by a comma. There are 5 module styles:

  1. none (No wrapping - Raw)
  2. table (Wrapped by Table - Column)
  3. horz (Wrapped by Table - Horizontal)
  4. xhtml (Wrapped by Divs)
  5. rounded (Wrapped by Multiple Divs)

Thus, the possible formats for the module mode are (using the example of mod_login):

  1. {tab mode="module"}mod_login{/tab}
  2. {tab mode="module"}mod_login, Login Form{/tab}
  3. {tab mode="module"}mod_login, Login Form, rounded{/tab}

For the position mode, you can specify the module style in addition to the module position; each separated by a comma. The possible formats (using the example of user1 position) are:

  1. {tab mode="position"}user1{/tab}
  2. {tab mode="position"}user1, table{/tab}

For a full example of how to use Easy Tabs, type the following code:

{puretabs position=top theme=gray-pitch.css centered=0  selected='3' height=200}
  {tab title="One Thing" mode="text"}This is a sentence.{/tab}
  {tab title="Two" mode="article"}1{/tab}
  {tab title="hello" mode="position"}left{/tab}
  {tab iconurl='images/icons/application_delete.png' title="hello2" mode="module"}mod_login{/tab}
{/puretabs}

Also note that attributes can be specified with single quotes, double quotes, or no quotes (if the value contains no spaces).

Parameters:

NameKeywordDefault ValueDescription
Default Tabs PositionpositiontopThis is the default position of tabs. This can be overridden by specific pure tabs in any article.
Tabs HeaderheaderfullThis sets how you want the header to be displayed. This can be overridden by specific pure tabs in any article.
Center the Tabscentered0This determines whether the tabs will be centered or left aligned when placed at the top or bottom. This can be overridden by specific pure tabs in any article.
Minimum Heightheight500This is the minimum height used when the position of the tabs are set to left or right.
Use Inline Stylesn/aNoThis determines whether the styles will be applied inline, or from the puretabs.css file. Use inline styles if your template styles are conflicting with the puretabs.css styles.
Default Themethemebasic-blue.cssThis is the default theme selected for all the Pure Tabs on the site. This can be overridden by specific pure tabs in any article.
Module Stylen/atableCode that will wrap Modules