Jump to content

New Admin controller with Ps 1.7 not work


alien74

Recommended Posts

Hello everyone,

 

i try to add new admin controller in Ps 17 but i have always error as "page not found" and I not found the voice to edit admin menu.  

 

First I wrote a class, then I wrote a frontcontroller and they are ok.

 

This is my sample code:

class AdminPrenotazioneControllerCore extends AdminController


{


    public function __construct()
    {
        $this->bootstrap = true;
        $this->table = 'prenota';
        $this->className = 'Prenota';


        parent::__construct();


        $this->fields_list = array(
            'id_prenota' => array('title' => $this->trans('ID', array(), 'Admin.Global'), 'align' => 'center', 'class' => 'fixed-width-xs'),
); 




}










}

thanks to all for any help.

Edited by alien74 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...