Problem with "Search function"

Display all the news, reviews announcements from music word with this professional Joomla template.
GK User
Sun Apr 19, 2009 4:39 pm
hi guys, I just bought a template "music tube" and I installed on the local server (xampp) and web server. I have a strange problem, as on the internet when I do a search return on the home page without viewing any page of results.
If I directly go to the page "search" this works.

I noticed that in the url after the local search is this:

/index.php?Searchword=test&ordering=&searchphrase=all&option=com_search

while on.line is this:

/index.php?Searchword=test&ordering=&searchphrase=all&Itemid=1&option=com_search

As you can see there is a "&Itemid=1" more. By removing this from string, the search works.

May depend on what?

Thank u for help.

ps: sorry for my english.


---- UPDATE ----

I tried to disable "Show mainbody on frontpage", and set all the "Articles" not in "Frontpage" and now when I do a search works, but the results are displayed under the module "mod_news_pro_gk1"

It's corret ?
User avatar
Fresh Boarder

GK User
Tue Apr 21, 2009 1:02 am
Disabling showing mainbody frontpage causes problem with showing search results - you have to enable it to show results.
User avatar
Administrator

GK User
Tue Apr 21, 2009 9:49 pm
I TRY SPEAK ENGLISH: !!!!!



open (modules/mod_search/tmpl/default.php)


in line 3
<form action="index.php" method="POST">

change for
<form action="index.php?searchword='.$text.'&ordering=&searchphrase=all&option=com_search" method="POST">


:woohoo:
GOOD LOOK FROM CHILE!! :laugh:
User avatar
Fresh Boarder

GK User
Wed Apr 22, 2009 8:07 pm
Thank u all !

I try showing mainbody enabled and not, but the results
remain displayed under the module "news_pro_gk_1".


let me show how it is

Image
User avatar
Fresh Boarder

GK User
Thu Apr 23, 2009 12:44 am
virtual wrote:
I TRY SPEAK ENGLISH: !!!!!



open (modules/mod_search/tmpl/default.php)


in line 3
<form action="index.php" method="POST">

change for
<form action="index.php?searchword='.$text.'&ordering=&searchphrase=all&option=com_search" method="POST">


:woohoo:
GOOD LOOK FROM CHILE!! :laugh:


Nice play!
Simple and effective.
Thank you for your contribution.

Cheers ;)
User avatar
Platinum Boarder

GK User
Thu Apr 23, 2009 12:51 am
smokepm wrote:
Thank u all !

I try showing mainbody enabled and not, but the results
remain displayed under the module "news_pro_gk_1".


let me show how it is

Image


Try the solution pointed from Virtual User.
It's a good suggestion.

Cheers
User avatar
Platinum Boarder

GK User
Thu Apr 23, 2009 1:01 am
Take advance of the Virtual nice suggestion, you can also upload this files attach to ../templates/gk_musictube/html/

This way, you don't have to change the original search module.



Cheers
User avatar
Platinum Boarder

GK User
Thu Apr 23, 2009 7:24 pm
i try both ways (and again ... big thanks from italy :D)

1) adding virtual "way" the search works fine, but i have the problem that the module with result appear down in the page after the module news

2) adding "mod_search" provided by Seichinha, finally search works awesome .... but with mod_search added in the homepage without any search done special character goes crazy as in the screen

IMG

i'm trying now to understand why the "mod_search" have this effect.

See u soon with "news" about ...
User avatar
Fresh Boarder

GK User
Mon Dec 07, 2009 4:45 pm
I too have problems with my search results appearing down the page after news show when I enable show body on mainpage. :(
User avatar
Senior Boarder

GK User
Mon Jan 18, 2010 1:01 pm
skiesofryan wrote:
I too have problems with my search results appearing down the page after news show when I enable show body on mainpage. :(


I have the same problem and both solutions don't work for me :(
Did you find any solution?

I also find this post - http://www.gavick.com/forum/64-news-sho ... sults.html
and this one - http://www.gavick.com/forum/42-aumi/236 ... uldnt.html

Am I missing something? My settings:
- Show mainbody on frontpage - Enabled
- Menu Assignment is homepage for both modules that i use in position user1&2
I still get the search results under modules in position user1&2 :(
User avatar
Fresh Boarder

GK User
Tue Jan 19, 2010 10:34 pm
Yes, but could you give exact URL and what you write so I can check it?
And best would be second link where it works ok.
That will help me identify your exact problem.
User avatar
Senior Boarder

GK User
Tue Jan 19, 2010 11:03 pm
Martajz wrote:
Yes, but could you give exact URL and what you write so I can check it?
And best would be second link where it works ok.
That will help me identify your exact problem.


Sorry, i don't use the modules in position "user 1&2" anymore on my live website, so you can't check it at the moment.

I had the exact problem that smokepm had. Search result were shown under the modules which were published in position user1&2

Image

On demo, these modules are "Popular News" and "Top Stars News". Whenever i search something, both modules are shown on top of the results.

Regards,
User avatar
Fresh Boarder

GK User
Wed Jan 20, 2010 10:40 pm
Well, for old joomla 1.0 I use trick inside index.php...using php if code when was used com_search I was able to kill some parts of code. I do not know exactly how to write it now for Joomla 1.5 but maybe if you ask inside Joomla official forum they will be able to help you. With this code it will be easy to solve that.
User avatar
Senior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.