Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Parts and Products table schema in mysql 6 44
Form not operating correctly. 1 23
Automated testing suggestions? 2 26
How to count in a table in php 22 14
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
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.

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now