Admin Style Tabs in Front End

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Admin Style Tabs in Front End

Post by Nullig »

Is it possible to use Admin style tabs in the front end?

I'm trying to modify the InterComm module, so front end users can PM each other and I'd like to have a tabbed style of interface, like the ones used for the Admin for modules, which would have 3 tabs - Inbox, Outbox and Compose. I tried copying the action.defaultadmin.php part of the module to an action.default.php and modifying it, but can't seem to get the tabs to work.

Is there some trick to this? or is it only possible for the Admin parts of the modules?

Nullig
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Admin Style Tabs in Front End

Post by calguy1000 »

I think if you were to look at the error console in firefox you'd see a bunch of javascript errors where it couldn't find the appropriate file.

That's because the file is in the admin section.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Developers Discussion”