- Add Code Before Render
- Add Code Before Search
- Add Code Before Store
- Add Code After Store
- Add Code CSS
- Add Code JS
- Joomla! 3.x
- Joomla! 4.x
Creates a Code field to add some custom code.
The Code Before Render plugin field allows you to add some custom PHP code which will be executed just before render a content. If you assign this field on admin or site form this code will be executed before to render the form. If you assign this field on intro or content view this code will be executed before to render the content.
The Code Before Store plugin field allows you to add some custom PHP code which will be executed just before to store a content. It concerns only admin and site form view.
The Code After Store plugin field allows you to add some custom PHP code which will be executed just after to store a content. It concerns only admin and site form view.
Code Before Render, Code Before Store and Code After Store have an option to add code directly in a textarea or to call any PHP file. In this last case you must fill the relative path of the PHP file such as "plugins/cck_field/upload_image/includes/image_validation.php".
Example of PHP code:
<p>if( trim( $fields['seb_ge_image_map_code']->value ) ){</p><p>$fields['art_title']->typo = '';</p><p>$fields['art_title']->value = '';</p><p>}</p>
Concerning Code CSS and JS plugin fields just add your custom code in the textarea of the field. Working on any SEBLOD views.
Of course all this field plugins don't have any storage. So the storage is set to none.
Business Clubs:
- Lifetime License
- Unlimited Domains
Single purchase:
- Free Updates
- Lifetime License
- Unlimited Domains
Details:
Requires:
Latest SEBLODScreenshots
Downloads
Changelog | File | Version | Date |
---|---|---|---|
! SEBLOD 4 ready | Sign In | 1.8.0 | 2023-02-09 |
^ Improvements | Sign In | 1.7.0 | 2023-02-09 |
! SEBLOD 3.17 ready. | Sign In | 1.6.0 | 2018-12-03 |
! Default value updated. | Sign In | 1.5.1 | 2018-06-27 |
+ Custom Priority added. | Sign In | 1.5.0 | 2017-08-30 |
# Restriction applied on CSS field. | Sign In | 1.4.0 | 2017-07-31 |
^ Copyright updated. | Sign In | 1.3.0 | 2017-05-10 |
^ Languages files updated. | Sign In | 1.2.2 | 2016-12-12 |
^ Copyright updated. | Sign In | 1.2.1 | 2016-05-04 |
+ "Behaviour" mode added (JS). | Sign In | 1.2.0 | 2015-07-20 |
+ "Behaviour" mode added (JS). | Sign In | 1.1.0 | 2015-05-09 |
# Notices removed. | Sign In | 1.0.3 | 2014-10-17 |
# PHP notices removed. | Sign In | 1.0.2 | 2014-05-13 |
# "include_once" issue fixed. | Sign In | 1.0.1 | 2013-11-13 |
Initial Release. | Sign In | 1.0.0 | 2013-05-31 |
Best!
Great plugin but is it 100% functionnal ?
My only concern is whether the AFTER and Before save methods are functional since I see no effect.
may be there is some plugin order or an external setting to set ?
cyril