Jump to content

generate view to controller


Recommended Posts

hi there to all.... :D i wanna make the follow : in the backoffice


i generate that url using


class AdminSendController extends ModuleAdminController {
public function __construct() {

            'href' => 'index.php?controller=AdminSend' . AdminControllerCore::$currentIndex . '&view' . $this->table . '&token=' . Tools::getAdminTokenLite('AdminSend')
//on the tpl
<a href="{$href}" class="btn btn-primary btn-lg"><i class="icon icon-search"></i>CLICKME</a> 

and how i can trigger a new view o how i set the view to that url. or another solution how i can create a custom button, when i clicked that load a tpl or view thk a lot.. 

pd.. sorry to the english.... :$

Edited by gajofe (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...