Log in Register




Code Pack (5 plug-ins)

Code Pack (5 plug-ins) 1.0.2

(0 votes)

This Pack contains code field plugins to add custom PHP code on some events/triggers and custom CSS and JS.

Views 5,804 Downloads 19
Version 1.0.2 Created
System Joomla 2.5 & 3 Changed 2016-06-22
Website JED external Developer Octopoos external
License GNU/GPL external 0 EUR
  • Add Code Before Render
  • Add Code Before Store
  • Add Code After Store
  • Add Code CSS
  • Add Code JS

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.

code-pack-5-plug-ins-12 code-pack-5-plug-ins-23 code-pack-5-plug-ins-34 code-pack-5-plug-ins-45 code-pack-5-plug-ins-56
Only registered and logged in users can download this file.

Add comment

Submit