Solved

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

Posted on 2010-09-01
5
391 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

803 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