# sfJoomla15Bridge `sfJoomla15Bridge` is the same idea of sfJoomlaBridgePlugin but for Joomla 1.5: a symfony plugin that provides a bridge between a Joomla and a Symfony application. It allows to display symfony pages into Joomla. It adds a new helper class: *Joomla* with 2 main functions : * **link_to_joomla**($module_action), to make a link to another symfony page (action/module) but in the Joomla application context. * **form_tag_joomla**($internal_uri = ' ', $options = array()), to declare a form that will be submitted to Symfony in Joomla context. ## Installation * Install the plugin symfony plugin-install http://plugins.symfony-project.com/sfJoomla15BridgePlugin or download it and unzip in your /plugins directory * Copy the files in **/sfJoomla15Bridge/web** directly to your application **/web** directory (com_symfony folder should be now in the web/components/ directory of Joomla) * Clear your cache symfony cc ## Configuration * Curl must be installed on your web server. ## Usage * 1 - You need to declare the following helper (or use the default helpers loaded parameter in you settings.yml) : <?php use_helper('Joomla'); ?> * 2 - To make a link to another symfony page, in this case to the module **index** and the **users** action. <?php echo link_to_joomla('Users list', 'index/users'); ?> * 3 - To declare a form that will be handled by Symfony, in this case form will be submitted to **validateCreate** action of **users** module <?php echo form_tag_joomla('users/validateCreate', array( 'id' => 'sf_admin_create_form', 'name' => 'sf_admin_create_form', )) ?> ## Changelog ### 0.1.0-beta * Initial public release. This is very beta, please be careful.