Search plugin(Improvement)

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
MDodge
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Nov 2009, 15:35

Search plugin(Improvement)

Post by MDodge »

No doubt many in the gallery a lot of photos, with the help of Search plugin finding refers to the transition to the category where the stored picture, but there are many, and how to find the necessary ...?

Who makes the search for something, so when you click on the link in the search results, was the transition to the desired picture, without the other.
Or the desired picture stood out from all.


Does anybody that? Or how to do this ....
User avatar
alphastar
Phoca Member
Phoca Member
Posts: 10
Joined: 31 Jan 2009, 17:31
Location: Donetsk, Ukraine
Contact:

Re: Search plugin(Improvement)

Post by alphastar »

See here
Be bright and shine like alpha stars!
MDodge
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 10 Nov 2009, 15:35

Re: Search plugin(Improvement)

Post by MDodge »

1. This does not work with the new version.
2. This is not what I was looking for.
Look there is not solved this problem when, after the withdrawal of the result should go only to one of the required photographs.

View results from those who did it, but the image is displayed in the results, but after the transfer of results to the desired picture, we turn to a category with lots of photos and how to find it?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Search plugin(Improvement)

Post by Jan »

Hi, somewhere in forum there is some solution. As the search function is created and rendered by Joomla! itself, it must be customized there. It is not possible to create some external plugin for such option :-(

Jan
If you find Phoca extensions useful, please support the project
imperialWicket
Phoca Enthusiast
Phoca Enthusiast
Posts: 78
Joined: 28 Feb 2010, 15:39

Re: Search plugin(Improvement)

Post by imperialWicket »

I posted an update to load the correct page of a category here. The code references pertain to version 2.7.1 of Phoca Gallery Search Plugin. You can also update the link to load a modal popup that displays the image (and has the slideshow for the category). The particulars of these updates are nearly identical, you just need to pass a different URL in the result item's 'href' value. You can pull the appropriate URL text from your category page, then build the URL in the phocagallery.php file from the Search Plugin.

Jan is right that if you want to do much more than this you need to start editing the com_search component - you would want to override and update the default_results.php file.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Search plugin(Improvement)

Post by Jan »

Hi, yes.

First thank you for the improvement. (Maybe if you have time, will be great to add it e.g. to joomlacode.org as an alternative to current search plugin)

Second, yes - the results are displayed by the Joomla! framework, not by the plugin self :-( so this needs to be customized there. In this forum, there was a guide how to do it, maybe this:

viewtopic.php?f=33&t=3609&p17584

Jan
If you find Phoca extensions useful, please support the project
Post Reply