Maldicore / Admin

CakePHP Plugin for automagic admin using Twitter Bootstrap for CakePHP 2.x
52 stars 34 forks source link

Collision with debug_kit plugin #5

Closed eldad87 closed 11 years ago

eldad87 commented 11 years ago

After few hours of debug, I've found that your plugin is incompatible with debug_kit - which is one of the most common plugins for Cake.

To fix that issue:

  1. I change the 'Form' into 'BSForm' in AdminAppController.php :
public $helpers = array(
        'BSForm' => array(
            'className' => 'Admin.BootstrapForm'
        ),
        'Html',
        'Session' => array(
            'className' => 'Admin.BootstrapSession'
        ),
        'Paginator' => array(
            'className' => 'Admin.BootstrapPaginator'
        )
    );
  1. in form.ctp and login_form.ctp I search and replaced ->Form-> into ->BSForm->

Good Luck with your plugin!