Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


First version of consolidated tab-plugin
Date: 2006/09/19 18:00 By: mikko Status: Moderator  
Karma: 106  
Moderator

Posts: 2230
graphgraph
I just coded a tab taht can view the content of several other tabs inside it.

An example of where I use this probably demonstrates the idea better:
I have an alumni site. For each alumnus (cb member), there is a tab career. This tab is required to show details of the current job and list of all previous jobs with less details. I first make a normal tab that contains the details of the current job. Then I make a list tab that shows all the previous jobs. Finally, I use the consolidated tab to show this information under one tab.

As usual for most of my codings, there is no administrative UI. You configure this thing by dong the following:
-unpublish the tabs that you wish to consolidate
-install the plugin
-create a new tab and publish it
-goto your database and edit the pluginclass and pluginid of the consolidated tab (in comprofiler_tabs) to match the class and id of the newly installed plugin
-goto your database and edit the parameters of the consolidated tab plugin (in comprofiler_plugins) to the following format
{id of the consolidating tab}={comma separated list of the ids of the tabs to be consolidated}

You can have several different tabs as consolidating tabs, just add more lines to the parameters column and modify the comprofiler_tabs.

mikko
File Attachment:
File name: consolidatedtab.zip
File size:4881 bytes
Click here to see the profile of this user The topic has been locked.

Re:First version of consolidated tab-plugin
Date: 2006/09/20 23:14 By: mikko Status: Moderator  
Karma: 106  
Moderator

Posts: 2230
graphgraph
A new version of the php file. This is actually a pretty cool plugin Really enhances the tabs.

The attached image shows three tabs consolidated as one. Teh first one is a normal one, after which come two tabs modified with listtab plugin.

mikko
File Attachment:
File name: consolidatedtab-ef4c2467bade476e2697fca1cc17211c.zip
File size:4414 bytes


Post edited by: mikko, at: 2006/09/20 23:16
Click here to see the profile of this user The topic has been locked.

Re:First version of consolidated tab-plugin
Date: 2007/02/18 01:05 By: mikko Status: Moderator  
Karma: 106  
Moderator

Posts: 2230
graphgraph
New version with right readme.

mikko
File Attachment:
File name: consolidatedtab-a09812ee3b96815ae47d49136c4b0234.zip
File size:3418 bytes
Click here to see the profile of this user The topic has been locked.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login