Jaanus
Super Moderator
My little testing shows that such thing as footer text area or "outro" (as Hugh said in another thread) is possible and generalli works. I tested it firsr with form/details using tabs template.
One error still occurred in form.php
There I created a new function - public function getOutro()
copied under this all code from public function getIntro()
and changed all intros against outros. Everything else remained the same.
It worked but with a warning message:
// Warning: preg_replace_callback() [function.preg-replace-callback0]: Requires argument 2, 'FabrikFEModelForm::_getOutro', to be a valid callback in /home/.../components/com_fabrik/models/form.php on line 3665
Then I commented out this line:
$outro = preg_replace_callback($match, array($this, '_getOutro'), $outro);
and message disappeared. But perhaps I miss now some feature from there that the intro has? What I did wrong?
One error still occurred in form.php
There I created a new function - public function getOutro()
copied under this all code from public function getIntro()
and changed all intros against outros. Everything else remained the same.
It worked but with a warning message:
// Warning: preg_replace_callback() [function.preg-replace-callback0]: Requires argument 2, 'FabrikFEModelForm::_getOutro', to be a valid callback in /home/.../components/com_fabrik/models/form.php on line 3665
Then I commented out this line:
$outro = preg_replace_callback($match, array($this, '_getOutro'), $outro);
and message disappeared. But perhaps I miss now some feature from there that the intro has? What I did wrong?