Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 16 2015 20:48

    bobmulder on master

    Improve docs about adding items (compare)

  • Jul 16 2015 20:39

    bobmulder on master

    Bugfixes when not logged in + r… (compare)

  • Jul 16 2015 20:18

    bobmulder on master

    Setting options textual improve… (compare)

  • Jul 16 2015 19:19

    bobmulder on master

    Add base bar before loading (compare)

  • Jul 16 2015 18:34

    bobmulder on master

    Initial commit (compare)

Tomas Gonzalez
@Tomicapo
Hi. I'm getting an error right after installing adminbar on a new cake app
AdminBar\Controller\AdminBarController does not implement an isAuthorized() method.
Can anyone help me?
Tomas Gonzalez
@Tomicapo
For the moment I just added the method returning: true
public function isAuthorized($user = null)
{
    return true;
}
I'm new to theese plugins so I have no idea if thiat made sense.
Also, I found a problem at adminBarComponent on line 44
    if (!$controller->CakeAdmin->isLoggedIn()) {
        Configure::write('AB.Show', false);
    }
Call to a member function isLoggedIn() on boolean
I changed it to this:
    if (!$controller->CakeAdmin) {
        Configure::write('AB.Show', false);
        return;
    }
    if (!$controller || !$controller->CakeAdmin->isLoggedIn()) {
        Configure::write('AB.Show', false);
        return;
    }
And my problem disappeared.
Bob Mulder
@bobmulder
Hey @Tomicapo, this plugin is in a very early state of development. I will take a look at it asap.
Tomas Gonzalez
@Tomicapo
:+1:
Bob Mulder
@bobmulder
Hi guys! This channel is dead for about an year, and the 'Bakkerij' plugins are dead as well. I have to admit I do have enough enthusiasm to rebuild stuff, but I can't do it on my own. So, who wants to join as active developer? :)