Welcome Guest, Not a member yet? Register   Sign In
CI Developer's Toolbar - Released!
#21

[eluser]Devon Lambert[/eluser]
Hi Luis,

Found a minor bug/error in the script and I made the following update.

Error: undefined index 'class' was being thrown at line 918.

The code:
Code:
foreach($loaded_hooks[$point] as $hook)
                    {
                        $hooks[] = array(
                            'class'     => $hook['class'],
                            'function'     => $hook['function'],
                            'filename'     => $hook['filename'],
                            'filepath'     => $hook['filepath']
                        );
                    }

However, I have a loaded hook that does not specify a 'class'.

Instead I used this code:
Code:
foreach($loaded_hooks[$point] as $hook)
                    {
                        $hooks[] = array(
                            'class'     => isset($hook['class']) ? $hook['class'] : '',
                            'function'     => $hook['function'],
                            'filename'     => $hook['filename'],
                            'filepath'     => $hook['filepath']
                        );
                    }

Hope this helps. :-)
#22

[eluser]TWP Marketing[/eluser]
Installed and running, I see one glitch. Using Linux, Firefox 4, CI 2.0.2, the main pulldown does not drop far enough to display the whole list of items. For instance; methods in a class (controller info) or the list of queries executed (Database). Any scrollable list tends to be too long for the window.

Nice Tool! Thanks

[edit] I solved this problem by changing the size of a segment of the pulldown panel to be slightly longer.
In file dev_tool_slide.css

Code:
...
#dev_tool #panel {
    width: 100%;
    height: 400px; // originally 270px, increased to allow display of full scrolling text
    color: #999999;
    background: #272727;
    overflow: hidden;
    position: relative;
    z-index: 3;
    display: none;
    font: Arial, Helvetica, sans-serif;
}
...
#23

[eluser]txomin[/eluser]
Thanks for making the work available.

Did the wiki ever made it?
#24

[eluser]Luis ACE[/eluser]
Hey,

Glad you like it. I been super busy, but I have set sometime today to work on the wiki.
Thanks you to everyone that downloaded my toolbar.

Thanks to Devon Lambert & TWP Marketing for the fixes. I'll be updating the files today as well.
I have a to-do list for new features (I'll add it to the wiki). Hopefully I have more available time to work on the toolbar.
#25

[eluser]txomin[/eluser]
Great news. Thanks for the quick reply.
#26

[eluser]Unknown[/eluser]
Hi,

Thanks, great tool!!

Just a little adjustment to the "Controller Info" section

line :789
Code:
$link = base_url().$this->CI->router->fetch_class().'/'.index_page();
Should be change to:
Code:
$link = base_url().index_page().'/'.$this->CI->router->fetch_class();
To show the index page before the controller

Same for line 800:
Code:
$link = base_url().$this->CI->router->fetch_class().'/'.index_page().'/'.$method_name;
Should be change to:
Code:
$link = base_url().index_page().'/'.$this->CI->router->fetch_class().'/'.$method_name;
#27

[eluser]Luis ACE[/eluser]
Hey Salain,

Its a pleasure, glad its been useful to you.
Great spotting, I will fix that & upload the new changes.

For those who think I have forgotten about the tool, I haven't forgotten about it. I just been extremely busy with work. The minute I have some free time, I will be adding new features.
#28

[eluser]blinger2008[/eluser]
I downloaded it and installed it as directed, it shows up but it doesn't drop down when I hit open.
#29

[eluser]Irfan Cikoglu[/eluser]
WOW! I luv this
#30

[eluser]marcogmonteiro[/eluser]
Dude! I love you right now =)
Amazing plugin... helps a lot =)




Theme © iAndrew 2016 - Forum software by © MyBB