NAVIGATION
This is an old revision of the document!
better translate
Since the release of r282 it is possible to process an own PHP function between the action “submit” and “sending the E-Mail”. This function can read all the form input, modify, and return it. See: PHP function include
However, the changed data is not recorded in the database, since these data have been written into it before. If we need this possibility, we have to switch over to another method.
A simple script in “template/inc_script/frontend_init/” -folder is processed before the PHP function call of the form.
Processing order:
<note important> Scripts in the /frontend_init/ -folder should be used with consideration, as this is an early intervention in the system process. These scripts should differentiate the site compared to the edited excerpt in order to avoid side effects. E.g. at least query the category or article. </note>