[Added 1392] onBeforeDeleteField

More
11 years 9 months ago #26979 by yaK2manD
hi,

It could be interesting to add a function in field like onBeforeDeleteField.

Just an example, if you fill an extra database table through (e.g.) onBeforeSaveField, it could be good to delete some records on deleting item.

What do you think about it ?

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #27000 by ggppdk
Yes this would be useful for developers, i have added this event method in r1392, it will be triggered for all fields just before item is deleted

... for all fields that have the method:
Code:
function onBeforeDeleteField(&field, &item) { ... }


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.558 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline