David Bucur Posted June 17, 2014 Share Posted June 17, 2014 I know there is an option in positions to remove the module from the full suppliers pages. But I just need it removed from the list of all suppliers, not from the page that shows every supplier's products. PS 1.5.6 Thanks Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2014 Share Posted June 17, 2014 im affraid that at the moment without modifications of module .tpl or .php file it will not be possible to achieve. Link to comment Share on other sites More sharing options...
David Bucur Posted June 17, 2014 Author Share Posted June 17, 2014 im affraid that at the moment without modifications of module .tpl or .php file it will not be possible to achieve. Hi Vekia, I am willing to do the modifications. Can you give me a rough idea of how should I modify it? Link to comment Share on other sites More sharing options...
David Bucur Posted June 17, 2014 Author Share Posted June 17, 2014 Fixed Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2014 Share Posted June 17, 2014 in module tpl file use code like: {if ($smarty.get.controller=="supplier" && !$smarty.get.id_supplier) || (!$smarty.get.controller=="supplier")} HERE CODE OF MODULE {/if} 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