ContentEditPre / protected mProperties

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
mikatchu
New Member
New Member
Posts: 9
Joined: Sun Dec 28, 2008 10:16 am

ContentEditPre / protected mProperties

Post by mikatchu »

Hi,

I use a content_module tag in a template. That module generates an array value so I have to convert into a string before saving.
The only way I found to modify this value, is to use the ContentEditPre event with my module, but the params parameter is protected, so I can't read/edit values.

Is there any way to alter page data when you edit a page, between the instant where you click on the 'save button', and the instant where the data is saved in the database ?

Thanks
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: ContentEditPre / protected mProperties

Post by Dr.CSS »

You most likely will need to be more specific as to what you are trying to do before getting help...
Post Reply

Return to “Developers Discussion”