Deepan Posted November 19, 2012 Share Posted November 19, 2012 Hi, i want to override default module ex: blockuserinfo i just override tpl files but i cant override php files in this module. purpose: i want to add hook for footer. i want userinfo in displayFooter hook. so i added the hook in appropriate php file. /modules/blockuserinfo/blockuserinfo.php it`s working. but themes/mycustomtheme/modules/blockuserinfo/blockuserinfo.php not working. can anyone help on this. Link to comment Share on other sites More sharing options...
AppleEater Posted November 20, 2012 Share Posted November 20, 2012 According to the developer's guide , try put it in: /themes/mycustomtheme/modules/blockuserinfo/views/templates/front/blockuserinfo.php Link to comment Share on other sites More sharing options...
Deepan Posted November 21, 2012 Author Share Posted November 21, 2012 According to the developer's guide , try put it in: /themes/mycustomtheme/modules/blockuserinfo/views/templates/front/blockuserinfo.php Thanks, I will try and back you soon Link to comment Share on other sites More sharing options...
Deepan Posted November 23, 2012 Author Share Posted November 23, 2012 Thanks, I will try and back you soon Apple Eater , Not working: /themes/mycustomtheme/modules/blockuserinfo/views/templates/front/blockuserinfo.php any help to override modules php files. Link to comment Share on other sites More sharing options...
webplus Posted November 26, 2012 Share Posted November 26, 2012 Hi Deepan, as far as I know, it is only possible to override module's tpl, css and js files WITHIN THEME not php file. I was trying to do the same here: http://www.prestashop.com/forums/topic/181774-override-module-controller-in-theme-in-prestashop-15/page__p__1016687#entry1016687 Jiri Link to comment Share on other sites More sharing options...
Deepan Posted November 27, 2012 Author Share Posted November 27, 2012 Hi Deepan, as far as I know, it is only possible to override module's tpl, css and js files WITHIN THEME not php file. I was trying to do the same here: http://www.prestasho...87#entry1016687 Jiri Thanks,... 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