Monday, May 7, 2012

Error using twitter boostrap plugin on cakephp 2.0

Hi everyone!I need some help!
I'm trying to use twitterbootstrap plugin on cakephp 2.0.I was
following the tutorial from github and it says that I have to put the
plugin in "app/Plugin/TwitterBootstrap/webroot" folder.I didt it and
loaded all the plugins with "CakePlugin::loadAll()" and it also says
that I have to edit the AppController.php file and add:

public $helpers = array(
'Session', 'Html', 'Form',
'TwitterBootstrap.BootstrapHtml',
'TwitterBootstrap.BootstrapForm',
'TwitterBootstrap.BootstrapPaginator',
);

but when I finish doing that it shows that error:

"Helper class BootstrapHtmlHelper could not be found.

Error: An Internal Error Has Occurred."

Those files are located in: "Plugin/TwitterBootstrap/webroot/View/
Helper" I found them there but cakephp says they are missing!

Please someone help!
Thanks in advance!

Please excuse my english!

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: