The template overrides works until the results page appears and that's when the "public template" default_results.php file is used.
It's in /public_html/templates/publictemplate/html/com_search/search directory and I've tagged it with some text to make sure I know were it's coming from. I thought it was coming from the public_html/components/com_search directory.
---edit ---
I've tried making the "members template" the default ... this resolves the members issue but the "public search" now has no menu at all.
--- edit ---
I checked all the modules to ensure they are assigned correctly and all as they should be.
---- edit ---
More frustration but here goes
Here's the link to the search page via the menu - note the itemid in bold
index.php?option=com_search&Itemid=87
IF I search for xxx and click the search the ouput goes to this link - note the itemid in bold
index.php?searchword=xxx&ordering=newest&searchphr ase=all&areas[0]=content&Itemid=100010&option=com_search#content
This is where the search component changes the template
Itemid=87 is the registered users template menu id for the search component
Itemid=100010 is the public users template menu id for the search component
Why is J! changing the menu id on search?
How do I force J! to do as it's told
Last edited by yerg; 12-11-2008 at 08:55 PM.
Reason: yet more clarification!!!
Create a menu (called invisible) and assign it to a position not used
Create a menu link to the Search component ... same as the existing search in the registered menu/template.
Resolved ... why adding the second menu link to the search component resolves this I really don't know
Last edited by yerg; 12-19-2008 at 12:30 AM.
Reason: Partial Solution
Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomlArt.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.
Bookmarks