Page 1 of 1

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

Posted: Mon May 02, 2022 6:27 am
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

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

Posted: Mon May 02, 2022 6:44 am
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.