• opening tag: {'qltab title="Tab title"}
  • new opening tag: {'qltab title="Another tab title"}
  • end tag: {'/qltabs}
  • Activate special tab via url

add tab ids in url as follows

http://yourlink.com/index.php/some-link?qltab=qltab0-1

http://yourlink.com/index.php/some-link?qltab=qltab0-2,qltab1-3

find out id of tab:

        either via firebug
        or via sourcecode
        or via thinking
            qltab0-1 means first tab cluster (1=0+1), therein the first tab (1)
            qltab1-3 means second tab cluster (2=1+1), therein the third tab (3)
            so counting of first number starts with 0, maybe I fix that someday:-)

qltab generates tabs within an article.

The plugin uses either the internal styles (if "use plugin style" set to "yes"). Then you can set background and font colors via the plugin. Otherwise it will use the templates' stylings (if "use plugin style" set to "no").

PS: I wrote this extension for Joomla! 3.x; for a nice extension I used to use in J! 2.5 wouldn't work here. So I helped myself. Hope you like it.

Example:

Enterprise
Star trek in general
Picard vs. Kirk
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.
Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac,

enim. 

Code (without ' of course):

{'qltab title="Enterprise"}Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.{'qltab title="Star trek in general"} Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. {'qltab title="Picard vs. Kirk"}Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac,

enim. {'/qltabs}

Hey
Yeah
Wow
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.
Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac,

enim. 

Editor button