| 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.
Make a new text input , you can make it hidden or normal, read only or normal.
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. ![]() |
| Zuletzt aktualisiert am Dienstag, 15. Dezember 2009 um 20:23 Uhr Read : 3672 times |

Make a new text input , you can make it hidden or normal, read only or normal.























