helios-ag / FMBbCodeBundle

:capital_abcd: BBCode bundle for Symfony projects
Other
57 stars 35 forks source link

Bundle installation #8

Closed GillesRasigade closed 12 years ago

GillesRasigade commented 12 years ago

Procedure given in the help appears to be wrong.

I'm trying to install this bundle but without any success. Case sensitive commands are present.

I cannot success in loading the bundle and their configuration parameters.

Regards.

GillesRasigade commented 12 years ago

I need to replace :

new FM\BBCodeBundle\FMBBCodeBundle(),

by

new FM\BBCodeBundle\FMBbcodeBundle(),

or rename FMBbcodeBundle.php in FMBBCodeBundle.php (and also the corresponding class).

GillesRasigade commented 12 years ago

Finally, I got the error :

InvalidArgumentException: There is no extension able to load the configuration for "fm_bbcode" (in .../app/config/config.yml). Looked for namespace "fm_bbcode", found "framework", "security", "twig", "monolog", ...
helios-ag commented 12 years ago

My bad, i didn't update beginning of the README file to reflect changes, installation part should be [php-decoda] git=http://github.com/milesj/php-decoda.git

[FMBbcodeBundle] git=http://github.com/helios-ag/FMBbCodeBundle.git target=bundles/FM/BbcodeBundle

and you have to register bundle with: new FM\BbcodeBundle\FMBbcodeBundle(),

GillesRasigade commented 12 years ago

Great ! Thank you so much. It works now like a charm.