Hi
I try to use Chosen plugin (https://github.com/paulredmond/chosen-cakephp)
in my CakePHP project. What i've done is:
1)Download package and extract to '*Chosen*' folder inside ...app/plugin
folder
2)Load the plugin on bootstrap.php file: *CakePlugin::load('Chosen');*
3)insert the public helper at AppController file: *public $helpers =
array('Chosen.Chosen',);*
4)Test my input file with:
*echo $this->Chosen->select(*
* 'Article.category_id',*
* array(1 => 'Category 1', 2 => 'Category 2'),*
* array('data-placeholder' => 'Pick categories...', 'multiple' => true)*
*);*
But nothing happen. the output still the same cakephp standard list. I'm
sure it is not complete yet since in the documentation, its tell about
composer.phar and composer.json etc. can anyone help me to implement the
composer properly or maybe other things that affect the Chosen plugin to
work appropriately.
I'm using CakePHP version 2.3.1 (a bit outdated)
Thank you :)
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.