Solved

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

Posted on 2010-09-01
5
393 Views
Last Modified: 2012-05-10
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
Comment
Question by:Amanda Watson
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:StormITSolutions
ID: 33581630
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
 
LVL 13

Accepted Solution

by:
StormITSolutions earned 500 total points
ID: 33581807
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
 
LVL 11

Author Comment

by:Amanda Watson
ID: 33581858
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
 
LVL 11

Author Comment

by:Amanda Watson
ID: 33581879
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
 
LVL 13

Expert Comment

by:StormITSolutions
ID: 33581893
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question