gytske Posted June 11, 2014 Share Posted June 11, 2014 I'm trying to make my module more seo friendly, the module places small content block in footer/header/etc. Its has link to the module page, but its not very 'friendly' 'fc=module&module=modulename&controller=function1' Is there any way to check if friendly url exists for this path from inside the module (and then assign it to smarty)? Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted June 11, 2014 Share Posted June 11, 2014 Hi, how do you get this link? Try the Presta-way: $this->context->link->getModuleLink('moduleanme', 'controllername', array('param1' => '1', 'param2' => 2)); //php $link->getModuleLink('moduleanme', 'controllername') {*use $link variable for SMARTY*} Regards Link to comment Share on other sites More sharing options...
gytske Posted June 11, 2014 Author Share Posted June 11, 2014 Figured it out by now, but thanks anyway 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