Custom flexi content plugin update value

More
6 years 7 months ago #68758 by Ali_wdm
I have send you a PM.

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

More
6 years 7 months ago #68759 by ggppdk
Hello

why you have not update FLEXIcontent to newer version ?


-- 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.

More
6 years 7 months ago #68761 by Ali_wdm
Hi
I'll update flexicontent to a newer version later.

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

More
6 years 7 months ago #68802 by Ali_wdm
Hi ggppdk,

I am waiting for your reply.

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

More
6 years 7 months ago - 6 years 5 months ago #69044 by Ali_wdm
I found solution by myself.
Last edit: 6 years 5 months ago by Ali_wdm.

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

More
6 years 7 months ago #69048 by ggppdk
Hello

also already implemented for next version

a new plugin event for our FLEXIcontent fields:
Code:
// Method to do extra handling of field's values after all fields have validated their posted data, and are ready to be saved // $item->fields['fieldname']->postdata contains values of other fields // $item->fields['fieldname']->filedata contains files of other fields (normally this is empty due to using AJAX for file uploading) function onAllFieldsPostDataValidated( &$field, &$item ) { }

Thus you can access the validated value of all other fields , just before saving all fields to the DB
Code:
$item->fields['fieldname']->postdata contains values of other fields


-- 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...
The following user(s) said Thank You: Ali_wdm

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.311 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