siuda Posted May 17, 2012 Share Posted May 17, 2012 Hi All, I'm trying to develop new search module which needs to override search.php class. Is there any nice way to copy override search.php file to override folder during module installation process, or it has to be done manually after installation? Ps. I spot that some modules have override directory inside of themselves, but this way doesn't work. Regards, Luke Link to comment Share on other sites More sharing options...
bellini13 Posted May 18, 2012 Share Posted May 18, 2012 some people just do a file copy during the module installation. you can check to see if the Search.php class was already overriden first. you could also search the contents of the Search.php file in the override folder to ensure it has your override code, and disable the module if it does not. 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