Users can add tabs, rearrange tabs and delete tabs from their dashboard and/or profile.
The tabs can each have the following characters "< X >" to carry out the following actions:
< : move the tab left (this is only possible if it is after the second tab, you wouldn't be able to move it left otherwise)
X : remove the tab and all the widgets on it (will prompt for confirmation)
> : move the tab right (this is only possible it it is not the last tab, you wouldn't be able to move it past the last tab)
The "Dashboard tab" and "Profile tab" cannot be moved or removed, this is the standard dashboard/profile which is shipped with and your users already have. Therefore all the tabs other than the one named "Dashboard" or "Profile" have the "X".
To change the name of a tab, select the edit page. For the profile you can also set the access control for each tab.
The currently selected dashboard is marked in bold.
There is a maximum number of tabs set, the default is 6, it can be changed by the administrator using the tool properties.
Best used with "View enhancements", but it is not required. All it does is provide a hover over title for the delete area.
For developers and theme makers, there should be ample opportunity to change the look and feel using the CSS and view files. I hope that the structure is clear, if there is anything not clear, leave a comment.
UPDATED:
0.1: 24 March, 2009; baseline package
0.3: 3 March, 2009; added support for tabbed profiles, there is now an admin option to set the maximum number of dashboard and profile pages to 1 which will in effect make the dashboard or the profile behave the way it does in default Elgg. Thereby allowing you to have either multiple dashboard pages and/or multiple profile pages. Note this has not had as much testing as 0.1
View Sam's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Hi Sam, i unzipped and enabled it..and i cant see what to do to add tabs on my dashboard .... do i miss something ?
@Fab: You may have to clear out your CSS. I've just updated the description of the plugin. Tell me how you get on. Cheers.
Am also considering allowing the option for the user to specify two or three column widget layout. Initial trials look good.
great stuff mate but would like to have an add page sign how can i do?
also i think i would like my users to have 2 or 3 pages max
great work!
thanks
wayne
Sam, is there anyway to change the tab dashbord so it work with the riverdashboard installed on the dashboard. This will really enhance the current 1.5 elgg
@wayne: change the language file located in languages/en.php
"tabbed_dashboard:add:char" => " ",
change the " " to "+" or anything else.
@ash: I haven't had a chance to look at 1.5, expect to do so next week. I suspect this will integrate, but need to work on the look and feel as 1.5 is much nicer than the clunky tabs in this mod. Will keep you posted.
Thanks Sam. Yes 1.5 is much nicer for sure.. very excited about it.
Thankyou Sam, very easy to do ;p
work with 1.5 ?
All: With respect to this working with 1.5. As part of our project we are taking a slightly different (considerably better) approach to tabs with our migration to 1.5.
The 1.5 look and feel is much better and we are attempting to take an iGoogle approach to the UI layout. I suspect this will either be published by Milan or come out as part of a 1.5 patch from CurveRider. We will see how the backwards compatability works, at worst I'll prepare a db migration script to this better package.
hmmm i get 404 error while trying to add a new tab:
Not Found
The requested URL /actions/tabs/add was not found on this server.
and this file isnt in the zip archive either?!
@Enno: I'm surprised about that. You are right the file doesn't exist but it is registered as an action in the start.php file which is how it should be resolved.
register_action('tabs/add', false, $CONFIG->pluginspath . "tabbed_dashboard/actions/tabs/savetabs.php");
The actions/tabs/savetabs.php file definately exists. Is the tab being created at all. What happens if it is created is that it forwards onto that tab URL which could be the problem. No idea why but that could be it.
I haven't tried this with 1.5, which Elgg version are you using?
Cheers.
@Sam: I got the same behavior then Enno, on a 1.5 install. I get the same 404 error. By the way, the link displayed to add a new tab points to http://localhost/elgg15/actions/tabs/add?context=dashboard&newtab=
Is this the expected link?
Cheers.
@nicolas: The URL looks fine but I guess it doesn't work with 1.5 I'll have a look at today or tomorrow.
Yes, sorry i am using 1.5 as well. If you don't find anything i'll have a look on it the next week
We Are Waiting !!!
Please check the new version. I haven't had time to support this.