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: 107  
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

My FREE plugins: List Tab, Conditions, Extended Selects, ReadPDF, Consolidated Tab, Privacy Policy, CB Tab Wrapper Module, CB List Wrapper Module, Simple Sort, Filter Columns, Super Search, Advanced Search, Template Switcher. More info and downloads.

Check out a demo of super search and sortable lists.

My commercial plugins: Advanced Profile Control (1.0.6 stable released)

Click here to see the profile of this user The topic has been locked.


      Topics Author Date
    thread link
First version of consolidated tab-plugin
mikko 2006/09/19 18:00
    thread link
thread linkthread link Re:First version of consolidated tab-plugin
mikko 2006/09/20 23:14
    thread link
thread linkthread linkthread link Re:First version of consolidated tab-plugin
mikko 2007/02/18 01:05

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

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 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login