Page 1 of 1

Question about the modules/content page in admin

Posted: Mon Oct 26, 2026 2:41 pm
by cerberus
Hi all,
On the "Content" page in admin I have turned off "Search results" (advanced_search_result) as I am not using the search on site.

However I am not too sure if I should turn off the setting "Title" (advanced_search_result) again as I am not using the search.

Should I leave it on or turn off ? (I presume it is connected to the search function, but it is not too clear on that in the instructions and if it is needed or not if not using the search)

Screenshot 2026-10-26 142800.png

Thank you,
Steve

Re: Question about the modules/content page in admin

Posted: Mon Oct 26, 2026 2:57 pm
by burt
Take a look at the advanced_search_result.php page and flick these modules on/off so you can see what happens shop side when you make a change admin side (obviously when you make a change in the admin modules page, you need to reload the shop side page).

I do wonder why you would not allow customers to search.
That seems like a `bad move` ...
What's the worst that can happen if someone does make a search?

Re: Question about the modules/content page in admin

Posted: Mon Oct 26, 2026 3:35 pm
by cerberus
Hi burt,

Its because to begin with my brother will not have a lot of stock at all, it will be mainly hand built craft stuff, and not a lot of it at all to start with, so a search box is a bit over the top for now.

Also I have a bit of a issue with the buttons/links on the top row bunching up on my tablet, I tried changing the bootstrap container size but it did not help, but removing the search box helped a bit with the bunching up (see image for top row bunching up, but not as bad now with the search box gone as it will not be needed yet)

(and I switched on the search module again to check, I see now I will not need the "Title" setting at the moment)

Screenshot 2026-10-26 152414.png

Re: Question about the modules/content page in admin

Posted: Wed Oct 28, 2026 2:11 pm
by ecartz
cerberus wrote: ↑Mon Oct 26, 2026 2:41 pm On the "Content" page in admin I have turned off "Search results" (advanced_search_result) as I am not using the search on site.
I don't think this does what you hope for it to do.

Turning off the content module means that if someone is on the advanced_search_result page, it won't show any results. That makes the page useless. It doesn't stop people from reaching the page. It just means that if they do, instead of seeing search results, they'll see a blank page with just a title showing.

If you turn off the title, they'll see a blank page without a title showing.

What you presumably want to do is to remove the links to that page. Not make the page itself useless if they somehow figure out how to reach it.

It would be more productive to add a hook that redirects from advanced_search or advanced_search_results to index. The only benefit to uninstalling the content modules on the page would be to slightly reduce the configuration size. The downside is that if someone somehow gets to the page, it will be just broken.

And none of this helps with removing the search box. You do that elsewhere (presumably you already succeeded in that). Once you remove that and any other search links, you don't need to do more to get the effect that you want.

My recommendation would be to leave both modules turned on. That way, if you later decide you need search, you can just turn on the links to it and everything will work. The point of having the modules is that they allow you to replace the default functionality of the page with something else. But you don't want to do that.

Re: Question about the modules/content page in admin

Posted: Wed Oct 28, 2026 3:14 pm
by cerberus
Hi ecartz,

I don't think their any links to that page, and if I add the advanced_search_result page to the robots txt file so it does not get indexed ? (I have already added advanced_search_result.php and advanced_search.php to the robots noindex module).

I have not been able to understand how to make hooks etc yet, it is still beyond me.

I did not uninstall the modules, I just turned the search bits off (not displayed), including the search box.

This is still all new to me, its a steep learning curve, and progress is slow for me (more mistakes than successes so to speak).