Need to customize Admin/edit page

Need to customize Admin/edit page , a forum discussion on Jojo CMS. Join us for more discussions on Need to customize Admin/edit page on our Plugin Support forum.

Back to Forum Index : Back to Plugin Support   RSS
simarbehl

11 Oct 2008
Posts: 3

Hi,

I have created a new page in edit pages under admin/content. All the database table fields associated with this page are coming on this page. Everything is working fine, add/edit/delete etc.

But now i need to customize the functionality.
e.g there is one field status. Now when i update this field value, i need to send an email.

But i dont know how and where to add this functionality to this page.

Please help me out.

Thanks & Regards,
Simar
Harvey

Core Developer

Harvey

13 Oct 2008
Posts: 327

Hi Simar,

I have attached a plugin called jojo_example_field. It demonstrates how to create a new field type.

It sounds like your status field needs to be of a new field type. Depending whether your field is a radio or text or readonly etc, you will need to copy-paste parts of the code from the existing fields to get the behaviour you are wanting.
Modify the setValue() function to include your email sending code.

Let me know if this helps.

Harvey.
simarbehl

13 Oct 2008
Posts: 3

Hello Harvey,

Thanks for replying me back.

As you have mentioned in ur post to download the attachment of example plugin, but i didnt find the attachment or link to download the same.

Please help me out.

Thanks& regards,
Simar
Back to Forum Index : Back to Plugin Support   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.