Where to store a module/content whenn i create it for advanced_search_results

Open to all! Ask other shopowners for help.
Post Reply
loop
Contributor
Posts: 253
Joined: Thu Mar 25, 2021 12:26 pm
Phoenix Version:
Has thanked: 7 times
Been thanked: 3 times

Where to store a module/content whenn i create it for advanced_search_results

Post by loop »

Hi all
I creata a module which i need to include for advanced_search_results.php and i do not know where to store the file. in /ext it's not so good, but where is the correct place?

and one other thing: whenn i need to change the advanced_results.php is there a overwrite for it? the template/override, overrride the template, but not the basic file...

thanks for the help


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Where to store a module/content when I create it for advanced_search_results

Post by ecartz »

/ext is intended for files that are directly accessed themselves. If your file is actually a content module called from the page advanced_search.php, then put it in includes/modules/content/advanced_search

It would be better to not change advanced_search.php -- either use a hook to make the modification, make the change in the template file, create a new page, or something else.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply