Create New Tabs? [SOLVED]

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
marshy

Create New Tabs? [SOLVED]

Post by marshy »

I am a new developer to CMS Made Simple and have a question regarding the tabs in content pages.
Is it possible to create a module that adds a new tab to the 'Add New Content' pages?
Ie, instead of the images tab, I want a new tab called 'Other Settings'.
Is this possible or does this require hacking the core?
Sorry if this seems a newb question but I am only just getting to grips with CMSMS.
Thanksin advance.
Last edited by marshy on Thu Mar 22, 2007 4:58 pm, edited 1 time in total.
cyberman

Re: Create New Tabs?

Post by cyberman »

marshy wrote: does this require hacking the core?
Right.
marshy

Re: Create New Tabs?

Post by marshy »

Thanks for the reponse.
marshy

Re: Create New Tabs?

Post by marshy »

I have just noticed something interesting, the cataloger module adds a tab called Images.
I'm hunting through the module now to try and find how it is implemented, and have come across a function called TabNames.
Does anyone have any info on this function?

Thanks.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Create New Tabs?

Post by Elijah Lofgren »

I'm not sure about TabNames, but modules can add New Content Types. Album, News, and Cataloger already do this. Take a look at those ContentTypes for examples of how to add your own.

The core content types are in: lib/classes/contenttypes

Come to the #cms channel on irc.freenode.net and we can help you along. :)

Welcome to the wonderful world of CMSMS development.

- Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Post Reply

Return to “Developers Discussion”