web design, England, Britain, UK, belgium
 

How to pass a Joomla variable to a Plugin Breezing Forms / FacileForms Form - Breezing Forms / FacileForms how to's

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.

Home Joomla - VirtueMart Breezing Forms / FacileForms How to pass a Joomla variable to a Plugin Breezing Forms / FacileForms Form
How to pass a Joomla variable to a Plugin Breezing Forms / FacileForms Form
  • Joomla 1.5
  • Breezing Forms/
    FacileForms

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.



Breezing Forms / FacileForms dynamic Joomla parameter insert 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.

Breezing Forms / FacileForms dynamic Joomla parameter insert
Last Updated on Tuesday, 15 December 2009 20:23
 



How to pass a Joomla variable to a Plugin Breezing Forms / FacileForms Form|Breezing Forms / FacileForms how to's



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.


facileforms, forms, breezing, field, normal, text, joomla, following, paste, box, read, value, code, change, content, table, available, parameter, select, course, hidden, different, pages, reuse, especially, form, plugin, pass, useful, input, dynamic, title, page, information

|

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.