Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
admin control panel button
musiccreatures



Joined: 20 Jun 2009
Posts: 344
Location: Portland Oregon

Posted: 09/13/09 11:04 
The developers guide mentions that there can be more than one php file in the cp folder. I want to create a menu option for both artists and members, as well as separate menu option in the admin control panel. I created a php file: all_modulenameMenu.php that creates a new cp option for both artists and members. I tried to create another php file called admin_modulenameMenu.php but wasn't able to get a cp button in the admin control. Any ideas how to get a seperate menu in the admin cp?

Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 09/13/09 12:38 
Your functions will need to be named differently - if you've done that it should show.

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
musiccreatures



Joined: 20 Jun 2009
Posts: 344
Location: Portland Oregon

Posted: 09/13/09 21:30 
I looked at how the jrBattle module did it. The all_moduleNameMenu.php and admin_moduleNameMenu.php should have the same function name and section name inside. I had different function names and different section names. It works now. Thanks for the help Smile

Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 09/14/09 14:35 
Ahh, my mistake!

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.