(SOLVED) How can I change fields on edit content?

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
kris29
Forum Members
Forum Members
Posts: 53
Joined: Wed Dec 10, 2008 10:56 pm

(SOLVED) How can I change fields on edit content?

Post by kris29 »

Hi everyone,

On Edit Content in the backend I would like to make slight changes to some fields for the sake of usability.

Here is my question: Is it possible to move fields like "Active" and "Page Alias" from the Main tab to the Options tab and is there a way to change the width for certain input fields, e.g. "Title" ?

I use CMSMS 1.6.6

Any hint is appreciated.
Last edited by kris29 on Sun Feb 14, 2010 9:54 am, edited 1 time in total.
kris29
Forum Members
Forum Members
Posts: 53
Joined: Wed Dec 10, 2008 10:56 pm

Re: How can I change fields on edit content?

Post by kris29 »

Half solved.

In lib/classes/class.content.inc.php (from line 1917) I found all fields and I could change the input size.
But I still have no idea how these fields get assigned to the tabs 'Main' and 'Options' and where to change this.

Still hoping for help. Thank you.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: How can I change fields on edit content?

Post by jmcgin51 »

you're not likely to get help for this, as this would involve hacking the core, which makes your site unsupportable and is not recommended.

In general, if you're comfortable hacking the source code, you should be prepared to support all of the changes and any side-effects.

However, in this case, I'm not sure what you're asking, as by default the "Active" and "Page Alias" properties are already on the Options tab.  If they are on the "Main" tab on your site, check the Basic Properties settings in Global Settings > Advanced Setup.
kris29
Forum Members
Forum Members
Posts: 53
Joined: Wed Dec 10, 2008 10:56 pm

Re: How can I change fields on edit content?

Post by kris29 »

jmcgin51 wrote:check the Basic Properties settings in Global Settings > Advanced Setup.
Arrgh. I totally forgot about this. Thanks jmcgin51!
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: How can I change fields on edit content?

Post by jmcgin51 »

no problem.  please mark this topic as solved by adding (SOLVED) to the subject line of your original post.
Post Reply

Return to “Developers Discussion”