gajofe Posted April 15, 2015 Share Posted April 15, 2015 (edited) hi there to all.... i wanna make the follow : in the backoffice ....../adminxxxxxx/index.php?controller=AdminSend&viewmyview&token=7.............. i generate that url using class AdminSendController extends ModuleAdminController { . . . public function __construct() { $this->context->smarty->assign(array( . . . '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 April 15, 2015 by gajofe (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now