Features
- Adds an unlimited number of toolbar tabs to JomSocial using the easy-to-use Joomla menu system
- Allows administrator to disable built in JomSocial tabs
- GPL licensed (non-commercial as they say in Joomla land)
Overview
This JomSocial Plugin lets you add an unlimited number of toolbar tabs by simply pointing to a Joomla menu.
Usage is real simple. The plugin has a configuration option for you to tell it which Joomla menu id to use. I recommend just making a new menu for JomSocial. Once you’ve configured that just edit the menu as you normally would. Two notes to remember… First, top level menu items appear as tabs. Second, second level menu items appear under their parent tab. Pretty simple right? Have fun.
Works with JomSocial 1.6
Requirements
The requirements below represent the configuration used to develop and test the plugin.
Download
Version: 0.3
Date: 2009-05-04
Author: Patrick Jones http://www.patrickmjones.com
Download: plg_pjjsmenu-0.3.zip
Change Log
- Version 0.3 – 2010-05-04
- Better handling of unconfigured plugins and/or menus
- Version 0.2 – 2009-12-05
- Simplified system to support unlimited number of tabs
- Added ability to turn off built in tabs
- Version 0.1 – 2009-12-05
- Initial public release
If you’re not already using JomSocial, you should give it a try.








you just saved my life ! Thx a lot, and bravo for your work !
Thanks for you for such a great plugin. I was looking a few days now how to add custom menu to jomsocial and you did it. Thanks!
Vitaly
This is a wonderful addition to Jomsocial- you won’t be disappointed!
Realy great, functional plugin – not eye candy.
Thank you.
m.
P.S.
Can you explain – why do you not ask money for this? Of course, its philosophical question not recommendation of the movement, just interesting. Thanks for this surely ;>
I’m glad you like it. Yes, I’ve been wanting to write something up on this particular topic, I hope you see something from me on this soon.
Hi,
Firstly thanks for such a great plugin! This has saved me so much work.
I was just wondering if there was a setting, or some code which needs to be modified, so that the toolbar constantly remains on the page, despite what menu link is clicked?
For example, I have a menu with a link to a Joomla Ticket System. However when you click the link ‘My Tickets’ (for example), the link works but the toolbar disappears. Is there a way to keep the toolbar visible, but without going through all my Components to call the toolbar?
Many Thanks!
Dan
This was discussed on JomSocial’s forums and I learned that the JS toolbar can be called by 3rd party code in the upcoming 1.6 release. So once that’s released a module that displays the menu could be created and placed on pages outside of JS for a consistent navigation.
The JomSocial thread here: http://www.jomsocial.com/forum/index.php?f=41&t=12367&p=69992&rb_v=viewtopic#p67960
OMG u rock, was looking for something like this..THANK YOU THANK YOU!!!!!!
hi
firstly thanks alot, GoodLuck
Hello All,
Yesterday i tried to integrate Jreviews on the JomSocial menu toolbar
For this JomSocial provides multiple ways to integrate menu links as described here:
http://www.jomsocial.com/docs/Toolbar_API Hard with API
http://www.jomsocial.com/docs/Adding_To … _NonCoders Easy for Non coders
http://patrickmjones.com/blog/developme … cial-menu/ Menu Plugin (links to normal joomla menu)
I made menu items in joomla to the specific Jreviews pages i wanted and published the menu module.
Eather way (of all three mentioned above) the links keeps returning me a 404 because the ItemID’s are changed (not the same ItemID as when i click in the published joomla menu)
Differences in SEF URL’s:
Normal: http://www.skileraar.info/nl/jreviews/
With plugin: http://www.skileraar.info/nl/component/jreviews/
As you guys can see JS (or this plugin?) ads ‘community’ to the url.
Now i am wondering; are there more people facing this same issue?
I posted this question on Jreviews forum and the following answer came out:
“If the Itemids change, you need to ask JomSocial why that is. If you have a menu for JReviews and the menu link works, then you should be able to copy this url anywhere you want and it should continue working.”
Jasper
http://www.skileraar.info
Hmm, well I can tell you I used the JRoute Joomla API call in this plugin and didn’t add “community” or any other text.
What I can tell you is that I keep running into the same issue with Joomla. Maybe it’s some hard-wired URL (router?) behavior or some obscure configuration.
What they meant on the jreviews forum is create a new menu item as type “external link” and paste the url: http://www.skileraar.info/nl/jreviews/
That should work.
I have spent several days on looking into the Jomsocial code attempting to add tabs in the users’ menu but in vain. I even cannot get enough information from the Jomsocial website. My problems are totally solved when I found your valuable plugin here. You really save much of my time and I can now proceed to the other programming work. Thank you very much for your great website and plugin.
This totaly rocks, when will it be ready for JS 1.6?
Hi, actually I’ve tested this and several folks using the module have reported back that it’s working fine for them. This is compatible with JS 1.6.
Similar to Jasper:
I am getting the same 404 error with this plugin with jreviews
Nice work Patrick! Where is your donation module? I’ll buy you a pint!
This is just brilliant. It solved my problem instantly.
Awesome mate… thank you very much!!!
Patrick You ROCK!!! Thanks so much for this plugin, it just made my life easier!! I am super stoked on the this new ability that I can control.
Quick Question – Do you foresee anything in the future that would allow admin to build in some content or components into a new tab as opposed to just re-direct to a menu item?
Anyway, awesome job!
WOW, totally awesome!
Even a brain dead geezer like me was able to get it running and fast!
Thanks so much!
G
Awesome! Exactly what I needed, this was giving me SUCH a headache!
Thanks man!
Just what I was looking for, thanks Patrick! Only thing is that if I set a menu item as a category blog, the basic parameters don’t affect the default values of 1 leading, 2 columns etc. Is there an easy way to enable this or change them in the code somewhere? The Joomla article ordering function doesn’t seem to work either. I hope this is easy to change!
Best wishes, David
You are a god! I have banging my head against the wall for days and this plugin does exactly what I want it to. Thanks!
Hi Patrick,
I thought I’d give you an update on this plugin, particulary some bugs that I have found with it.
The main bug is that you cannot add individual module items to individual menu items when using this plugin.
For example:
If I had been using the default Joomla menu (as I was) I was able to make menu links to JomSocial pages like the “profile” or “inbox” etc. Lets say that I wanted the profile page to have the “Users Online” JomSocial module published to it and that I wanted the “Activity Stream” module to just be on the inbox page. I was able to do this but now that I am using your plugin and since it’s pulling the now unpublished Joomla menu referenced above, I can’t have unique module positions across menu items. What happens is that ALL pages basically have to have the ame modules applied.
Any work around for this?
Thanks Patrick!
If I understand the scenario you’re describing, that is normal expected behavior with Joomla/JomSocial. Until you create menu items to those JomSocial inner pages you won’t be able to pick and choose which of them has a particular module on them.
It sounds like what you were doing before was the workaround more or less. Alternatively, and I have not investigated this personally, you may be able to do something in the templates.
Do you have any documentation on how to enable and use this thing? This is by no means “simple” to use. I enable it and it adds a double menu of what jomsocial already uses for tabs..and the new tabs dont go to where they are supposed to go..and there’s no way to edit them….and what do you mean to go in and create a new jomsocial menu? How do I configure this menu?? I need documentation…thnx
I think formal documentation would be really overkill on this, plus I don’t really have the time. Here are the basic steps as outlined by the screenshots.
1. Create a new Joomla menu: There are plenty of guides on the internet on this. Just go to the Joomla menu editor, create a new menu and add your desired menu items. (An example here: http://patrickmjones.com/blog/wp-content/uploads/2009/12/plg_pjjsmenu-0.2_screen1.gif )
2. Install, Enable, and Configure this plugin: Again, an extremely common Joomla task. Once you are on the plugin configuration screen, simply select the menu created in step 1 from the drop down (Example config screen here: http://patrickmjones.com/blog/wp-content/uploads/2009/12/plg_pjjsmenu-0.2_screen2.gif )
That’s really all there is to it. Create a menu using the Joomla screens we’re all used to, then configure the plugin and let it do all the heavy lifting. I hope that helps.
Nevermind..I fell into it…got it workin
Hi, when I installed it at the user interface I got back this message:
Warning: Invalid argument supplied for foreach() in /home/savemax/public_html/reformatuslelkeszek.info/plugins/community/pjjsmenu.php on line 24
Peter, my first inclination is that the plugin is not actually configured yet… I can make the change necessary to hide the warning though, that’s never fun to see. If you configure the plugin and still have issues feel free to use the contact form and give me more information.
thanks !
this is a very cool plugin !
This is the most brilliant plugin – thank you and good work!
Hi Patrick.
This is a wonderful plugin. I added this functionality to my plugin at http://www.jomsocial.com/forum/index.php?f=13&t=16101&p=92858&rb_v=viewtopic
Credit has been given to you in both forum post and source code.
Thanks again.
Hi, Just want to say thanky for making such a brilliant plugin for JomSocial (ie Simple JomSocial Menu) Within 5 min of installing it i had recreated my complete members menu module & moved it over to the JomSocial menu area. The only problem i encountered was the drop down sub menu links, which were appearing in green rather than black…but after reading one of the posts above, i sorted that that out very quickly by simply making my sub menu drop down links as Joomla external links!