Page 1 of 1

How can you alter core features with a custom module?

Posted: Fri Aug 20, 2010 12:02 am
by goldleader
I would like to create a module which would add some extra functions when a new page is made. So I would like to make the module add a checkbox to the page edit form which would run a bit of my own code when submit or apply is pressed. But I don't know where to start.

I searched all over but couldn't find anything besides a bit in the faq about modifying language files with modules but it was a bit implicit.

I don't want to alter the hard code directly as it would become an issue when the site needed updating.

Any help would be appreciated.

Re: How can you alter core features with a custom module?

Posted: Fri Aug 20, 2010 4:05 am
by Nullig
You could use the AdvancedContent module to add a checkbox, and then use the Event Manager to run your code (UDT), if the proper entry is in the block.

Nullig

Re: How can you alter core features with a custom module?

Posted: Fri Aug 20, 2010 10:41 am
by tomgsd
You could also register an additional content type like the ones in the Cataloger module..