Change Access level when button is clicked!

More
11 years 6 months ago #37708 by ggppdk
Hello,
if there is a way ?

it is possible to implement,
but to support it is not trivial , it would a feature that people will complain it is incomplete or ... or ...

Implementation
1. (very easy) make sure jQuery is loaded
2. (very easy) call onDisplayField() function to create the 'edit' form field(s) of the field
3. (very easy) output the field inside a basic form with a submit button (the alternative is to alter the code of the field)
4. (easy) create a PHP script that will call onBeforeSaveField() of the and then it will update th field in the DB (2 tables the (a) field-values table and the version-field-values table of latest 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.

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