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 ?
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 ?
-
- 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.
-
- 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">
GOOD LOOK FROM CHILE!!
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">
GOOD LOOK FROM CHILE!!
-
- Fresh Boarder
- GK User
- Wed Apr 22, 2009 8:07 pm
-
- Fresh Boarder
- GK User
- Thu Apr 23, 2009 12:44 am
virtual wrote:
Nice play!
Simple and effective.
Thank you for your contribution.
Cheers
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">
GOOD LOOK FROM CHILE!!
Nice play!
Simple and effective.
Thank you for your contribution.
Cheers
-
- Platinum Boarder
- GK User
- Thu Apr 23, 2009 12:51 am
-
- 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
This way, you don't have to change the original search module.
Cheers
-
- Platinum Boarder
- GK User
- Thu Apr 23, 2009 7:24 pm
i try both ways (and again ... big thanks from italy )
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 ...
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 ...
-
- 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.
-
- Senior Boarder
- GK User
- Mon Jan 18, 2010 1:01 pm
skiesofryan wrote:
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
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
-
- 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.
And best would be second link where it works ok.
That will help me identify your exact problem.
-
- Senior Boarder
- GK User
- Tue Jan 19, 2010 11:03 pm
Martajz wrote:
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
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,
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
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,
-
- 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.
-
- Senior Boarder
13 posts
• Page 1 of 1