Sunday, October 30, 2011

Re: DebugKit in 2.0

Hi,

I just want to share, I have no luck trying to get DebugKit working in
CakePhp version 2.0, its does not properly route to the DebugKit's css
and js files. I don't want to manually copy the files to webroot. :)

But after I upgraded to Cakephp version 2.1, it worked like a charm.
Just follow the instruction in the readme file, no need to adjust
anything.

Zhaff


On Oct 30, 7:01 pm, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> Worked perfectly thanks (although I had also commented the component out of my AppController, which stumped me for a few moments):
>
> public $components = array('DebugKit.Toolbar');
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 30 Oct 2011, at 06:04, LunarDraco wrote:
>
>
>
>
>
>
>
> > I was able to get DebugKit working by
> > cd to Plugins
> > git clonehttps://github.com/cakephp/debug_kit.gitDebugKit
> > After I had a copy I cd into the DebugKit folder then I switched to
> > the 2.0 via
> > git checkout 2.0
> > Updating bootstrap.php to load the plugin (new CakePHP 2.0
> > requirement):
> > CakePlugin::load('DebugKit');
>
> > Modified the View/Layouts/default.ctp by commenting out the following
> > line
> > <?php //echo $this->element('sql_dump'); ?>
>
> > I've got DebugKit working but I'm struggling with DebugKit.FireCake
> > I'm sure it something to do with the changes to App::Import vs
> > App::uses and the App::build paths.
>
> > Morgan
>
> > On Oct 29, 11:16 pm, Jeremy Burns <jeremybu...@classoutfit.com> wrote:
> >> Anyone got any tips for getting DebugKit working in 2.0? I've run the
> >> upgrade script over it and am loading it in bootstrap.
>
> > --
> > Our newest site for the community: CakePHP Video Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd 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 athttp://groups.google.com/group/cake-php

--
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: