Suggestion: Trigger plugin on data post

More
10 years 2 months ago #49737 by jrodgar
Hi!

I made a little plugin but I had some problems because I didn´t found the way to modify the post sent to the controller before saving.

The existing hooks are all after saving in a local variable the data post, so I can' t for example, modify the sent value

In my case I solved the issue implementing a new field and modifying the onbeforesaveField, which allowed me to modify the value before saving but it would have been easier if I had the other option.

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
10 years 2 months ago #49741 by ggppdk
Hello

e.g.
see weblink.php

you can modify sent with flexicontent field function:

onBeforeSaveFieldValue(...) {...}


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