How to pass a Joomla variable to a Plugin Breezing Forms / FacileForms Form |
It is often useful to have dynamic information in your Breezing Forms / FacileForms form especially when you reuse on different pages via the Breezing Forms / FacileForms Plugin. Here is how to pass the Joomla Page Title to a text field. ![]() In the value box paste the following code - <?php $id = ff_getParam('ff_contentid'); if (is_numeric($id)) return ff_selectValue("select title from #__content where id=$id"); else return "No value available."; ?> You can of course change the select parameter to any field that is available in the #__content table. ![]() |
Last Updated on Tuesday, 15 December 2009 20:23 |