The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Fri Jun 11, 2010 9:42 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Nov 10, 2009 4:09 pm
Posts: 38
Thanks alot for the quick reply. I will be waiting for it.


Top
 Profile  
 
PostPosted: Thu Jun 17, 2010 2:07 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jun 17, 2010 11:01 am
Posts: 3
hello freerider

you posted some attachments on wed Thu Oct 15, 2009 8:35 am. i have changed the files as instructed. but nothing changed to search function kindly guide me so that i could complete this task


Top
 Profile  
 
PostPosted: Wed Oct 13, 2010 1:02 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Jan 03, 2009 2:20 pm
Posts: 191
Location: Hyderabad-India
Please help...

Even I am looking for something similar for the new versions of Joomla.
Currently working with Joomla 1.5.20

_________________
Thanks & Warm Regards
Syed
http://MyBloggingHelp.com/


Top
 Profile  
 
PostPosted: Sat Apr 02, 2011 8:54 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 10, 2008 7:30 pm
Posts: 9
Any way of getting this module for Joomla 1.5 without activating the Legacy mode?

Greetings.


Top
 Profile  
 
PostPosted: Wed Oct 26, 2011 10:34 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jan 13, 2009 4:32 pm
Posts: 27
Location: Sacramento, California
So I decided not to invest the effort to make this plugable as I am no longer interested in supporting Joomla projects, but I did validate the hack for Joomla 1.5.23 and updated the component model and content search plugin to exclude other search plugins that might get called and appended to your section search.

Just extract the archive to your site root and you should be good to go.


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Sun Jan 22, 2012 10:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Apr 17, 2011 7:03 am
Posts: 13
hi

thanks for education

but Error occurred search result
this error:
Warning: Invalid argument supplied for foreach() in F:\xammp4\xampplite\htdocs\joomla10\plugins\search\content.php on line 189

please check again...


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 1:55 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jan 13, 2009 4:32 pm
Posts: 27
Location: Sacramento, California
What version of Joomla are you using? Did you set a section search ID in the module?

Could you add print_r($row); on line 188 and tell me what you get?


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 9:22 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Apr 17, 2011 7:03 am
Posts: 13
my joomla version is 1.5.24
I set section search id 1

add $print_r($row); but Does not work...


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 4:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jan 13, 2009 4:32 pm
Posts: 27
Location: Sacramento, California
It's
Code:
print_r($row);
not
Code:
$print_r($row);
. You should see the output in your browser when you search using your section search module. It should be some sort of Joomla content/article object.

I've only tested this for Joomla 1.5.23 - but I doubt a minor version change would make a difference. Do you have articles related to section 1?

If
Code:
print_r($row);
doesn't give you any output then just add
Quote:
exit;
on the next line. That should give you a blank page when you search. Then at least we know the code is being called.


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 6:14 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Apr 17, 2011 7:03 am
Posts: 13
I'm sorry

I Write a mistake

Is correct:
print_r($row);

add this code,but does not work!

when add this code: exit;
displaye blank page

I have in this section many article...

please check again


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 6:29 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jan 13, 2009 4:32 pm
Posts: 27
Location: Sacramento, California
That doesn't sound right. Could you post your plugins/search/content.php file?


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 7:42 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Apr 17, 2011 7:03 am
Posts: 13
I replace all attached file, but not work

this my content.php file:


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Tue Jan 24, 2012 5:59 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jan 13, 2009 4:32 pm
Posts: 27
Location: Sacramento, California
Hm, the file looks right. I'll have to do a fresh install of 1.5.24 to try to duplicate the problem you are having. Probably wont get to it till the end of the week, though.


Top
 Profile  
 
PostPosted: Wed Feb 01, 2012 6:14 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Feb 01, 2012 3:37 pm
Posts: 2
Location: Chile
freerider wrote:
Thank you!!! a milion!!!
...
I allso tried to implement to limit search by category. And it all went without problem.
Now I have option of limiting search by categories or sections... Yeeaj!!! 8)
If you need solution, see my attached file (it is tested on Joomla 1.5.10!!!!!)

Yekibud thanks again!!!


Hi.

It works fine, but when you do a second search with the searchbox on the resultpage (not the module), he searches the complete site again. The parameter section_id is shown in the url, but the value remains empty.

How can be fixed?

Regards,


Top
 Profile  
 
PostPosted: Wed Feb 01, 2012 9:04 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Jan 13, 2009 4:32 pm
Posts: 27
Location: Sacramento, California
@macastillo:

Glad to hear it's working for you (at least on the first search). That's how it works for me, too. It's probably just not a popular feature on my site, since nobody has complained for two years. But, it's still a bug, so I should probably fix it. I'll see if I can at least take a peak at it in the next couple days.

What version of Joomla are you using, btw?


Top
 Profile  
 
PostPosted: Thu Feb 02, 2012 3:52 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Feb 01, 2012 3:37 pm
Posts: 2
Location: Chile
Hi @yekibud:

Thanks for your answer!
yekibud wrote:
@macastillo:

Glad to hear it's working for you (at least on the first search). That's how it works for me, too. It's probably just not a popular feature on my site, since nobody has complained for two years.

People usually don't complain, just says at their mind "this doesn't work..." ;-)
yekibud wrote:
But, it's still a bug, so I should probably fix it. I'll see if I can at least take a peak at it in the next couple days.

What version of Joomla are you using, btw?

I'm using Joomla v1.5.17. I don't know about PHP... I was a programmer 15 years ago, so I can read code but I can't fix it :-(

I also tried with hidding searchForm, but it only shows the results, not how many results do you have (if you have 0 results, it only shows an empty page).

Regards.


Top
 Profile  
 
PostPosted: Fri Feb 03, 2012 9:37 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Apr 17, 2011 7:03 am
Posts: 13
yekibud wrote:
Hm, the file looks right. I'll have to do a fresh install of 1.5.24 to try to duplicate the problem you are having. Probably wont get to it till the end of the week, though.

hi yekibud

I'm wait, but still not answer for problem

please check it...
I need a solution...


Top
 Profile  
 
PostPosted: Sun Feb 09, 2014 12:04 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 01, 2014 2:10 pm
Posts: 8
@Yekibud

Thank you!!! I really appreciate your post in this forum !!!

I apply your coding to limit my category search for my joomla 3.x.

And it is still work :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group