简体   繁体   中英

Smart search results override not working joomla 3.2

I am trying to change some things on the smart search results page using overrides. It seems to me that my overrides are not working as I don't see any change when I change the code.

I tried various things, just taking out the relevant code, removing the whole code of the override as well as just removing random bits of code that should surely create some errors.

The file I am trying to override is the default_results.php file.

What I am trying to do (I don't know if this is relevant, I'll just post it anyway):

  • remove the 'examples of how you can use the search feature' text
  • remove the 'search by author', 'search by category' and 'search by type' text and dropdown menu
  • and the link that appears below every search result

Sounds like didn't set the override correctly. The default_results.php should be located in

\templates\YOURTEMPLATE\html\

And make sure you did it for the right domain, since that's what happened to me today, wondering why override wasn't working, while all the time I was editing the file under a wrong domain...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM