Jump to content

Override default modules file in themes


Recommended Posts

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

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