josegonzalez / rad-cakephp-2

Issue Tracker for the "Rapid Application Development with CakePHP 2" BOOK
http://josediazgonzalez.com/cakephp-book/
3 stars 1 forks source link

Minor type and issue on the DebugKit ConfigurePanel #12

Closed mikemack closed 10 years ago

mikemack commented 10 years ago

On creating ConfigurePanel plugin:

1 mkdir -p /vagrant/app/app/Plugin/ConfigurePanel 2 mkdir -p /vagrant/app/app/Plugin/ConfigurePanel/Lib/Panel 3 touch /vagrant/app/app/Plugin/ConfigurePanel/Lib/Panel/ConfigurePanel.php -- mkdir -p /vagrant/app/app/Plugin/ConfigurePanel/View/Elements -- (missing) 4 touch /vagrant/app/app/Plugin/ConfigurePanel/View/Elements/configure_panel.ctp

It missing 1 more directory, throw error: No such file or directory

Another thing that throw an error (on the view configure_panel.ctp): 11 echo $toolbar->makeNeatArray($content);

Result: Neat Array Notice (8): Undefined variable: toolbar [ROOT/Plugin/ConfigurePanel/View/Elements/configure_panel.ctp, line 11]

josegonzalez commented 10 years ago