Jump to content

how can i link to the module admin controller


langziyang

Recommended Posts

i have a module,on the .tpl file if i use {$link->getModuleLink('modulename','controllername')}. the i can link to the modulename/controllers/front/controllername.php . but how can i link to the  modulename/controllers/admin/controllername.php?

Link to comment
Share on other sites

  • 3 years later...

 i realise this is an old thread, but i am still trtying to find a way to generate a link to my module's admin controller... 

@cristic i tried your suggestion, but getAdminLink() seems to only work for Core Prestashop Admin controllers, how can i generate a link to the controller i have created in

/modules/mymodule/controllers/admin/callback.php ?

  • Like 1
Link to comment
Share on other sites

  • 4 years later...
On 9/26/2018 at 12:56 PM, acorn said:

 i realise this is an old thread, but i am still trtying to find a way to generate a link to my module's admin controller... 

@cristic i tried your suggestion, but getAdminLink() seems to only work for Core Prestashop Admin controllers, how can i generate a link to the controller i have created in

/modules/mymodule/controllers/admin/callback.php ?

I still have the same problem any ideas??

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...