Search This Blog

Wednesday, October 27, 2010

Steps to install a plugin in Symfony

Listing 17-15 - Installing a Plug-In from the Symfony Wiki
> cd myproject
> php symfony plugin-install http://plugins.symfony-project.com/pluginName
> php symfony cc


Listing 17-16 - Installing a Plug-In from a Downloaded PEAR Package
> cd myproject
> php symfony plugin-install /home/path/to/downloads/pluginName.tgz
> php symfony cc


Listing 17-17 - Installing a Plug-In from a PEAR Channel
> cd myproject
> php symfony plugin-install channelName/pluginName
> php symfony cc


Don't forget to enable the plugin in ProjectConfiguration.class.php
$this->enablePlugins('sfTaskExtraPlugin')

read more

No comments: