Solved

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

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article shows how a content item can be identified directly or through translation of a navigation type. It then shows how this information can be used to create a menu for further navigation.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

706 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

21 Experts available now in Live!

Get 1:1 Help Now