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.
How can you alter core features with a custom module?
- goldleader
- New Member
- Posts: 8
- Joined: Mon Sep 28, 2009 8:22 am
How can you alter core features with a custom module?
Last edited by Anonymous on Fri Aug 20, 2010 12:04 am, edited 1 time in total.
Re: How can you alter core features with a custom module?
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
Nullig
Last edited by Nullig on Fri Aug 20, 2010 4:10 am, edited 1 time in total.
Re: How can you alter core features with a custom module?
You could also register an additional content type like the ones in the Cataloger module..
Green Sheep Design Ltd. - www.greensheep.co.uk