Jump to content

Override default modules file in themes

Recommended Posts



i want to override default module ex: blockuserinfo


i just override tpl files but i cant override php files in this module.




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.




themes/mycustomtheme/modules/blockuserinfo/blockuserinfo.php not working.


can anyone help on this.

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More