• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

How to direct the search results to a specific page within joomla

Hi,
This site here http://qsma.org.au/  is a joomla site using the search module in the top right corner.

When you hit GO, I would like the search results to be displayed on a blank page, rather than on the bottom of the home page.


How can I do this?

This question is asking the same but its neglected - surely it can't be that undoable?

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_26435546.html
0
Amanda Watson
Asked:
Amanda Watson
  • 3
  • 2
1 Solution
 
Allan NisbetOwner at Storm IT Solutions LTDCommented:
Ah its relatively easy, really its an illusion

add &tp=1 to the end of your search URL and you will see

http://qsma.org.au/index.php?searchword=&ordering=&searchphrase=all&Itemid=1&option=com_search&tp=1

you will see that there is a user7 and user8 above your main content. The box with welcome and the search the online resources both of these are modules sitting above the main content where your articles will display

If you set the items in user7 and user8 to not show on all pages (using the selective and add the to all pages except the search you will solve this) within there own module setting the search will be at the top and displayed on a page by itselfs remember all joomla is one page its just differnt things are dispayed on the page creating an illusion of multiple pages.

Storm
0
 
Allan NisbetOwner at Storm IT Solutions LTDCommented:
Hey snowball i replied on your other thread as well, didnt see it was you before i posted that newbie how joomla works comment lol

You can do as above, or you can add in if statements that if the page is the search result dont display x,y & z modules, to give appearance of its own page

To add a new template for search only

in the search creation php file where it out puts the link add

&template=(newtemplatename) without the brackets and this will add in any assigned template to the search result page.
We did this alot for a client who wanted various templates on different products in VM so we added this in the php file

works a charm

Storm

0
 
Amanda WatsonAuthor Commented:
Im  lost

I just created a menu item call search and now all the search results are applying on the right page.

However I don't want a a menu item for the search, so if I disable it, all searches go back to that page with the modules you want me to disable, but I can't disable them on that home page.?

Maybe I will just put a search button on the footer and then it will work?
0
 
Amanda WatsonAuthor Commented:
I get it now.
Thanks Storm,
Thanks for all your help this morning...I should shout you a bottle of wine from the hunter ;-)
0
 
Allan NisbetOwner at Storm IT Solutions LTDCommented:
Next time im over ill drop you a line : )

I used to do joomla work for Reconco in Newcastle, NSW when i lived there a few years back
I still have a few clients in NSW, might be good to have a chat sometime

Storm
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now