Page 1 of 1

Create New Tabs? [SOLVED]

Posted: Tue Mar 13, 2007 4:20 pm
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.

Re: Create New Tabs?

Posted: Tue Mar 13, 2007 4:29 pm
by cyberman
marshy wrote: does this require hacking the core?
Right.

Re: Create New Tabs?

Posted: Tue Mar 13, 2007 4:32 pm
by marshy
Thanks for the reponse.

Re: Create New Tabs?

Posted: Tue Mar 13, 2007 4:57 pm
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.

Re: Create New Tabs?

Posted: Tue Mar 13, 2007 9:22 pm
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