phoca search plugin

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
Mortadelo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 29 Jun 2013, 10:19

phoca search plugin

Post by Mortadelo »

hello

On search results its display:

Category: Filename Title
(Phoca Download / Filename Title)

Jan can you please tell wich file i must modify to have only:

Category: Filename Title
(Phoca Category)

Maybe someone know how to do it!

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca search plugin

Post by Jan »

Hi, see the output files, category:

components/com_phocadownload/views/category/ ... (tmpl/....)

Jan
If you find Phoca extensions useful, please support the project
Mortadelo
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 29 Jun 2013, 10:19

Re: phoca search plugin

Post by Mortadelo »

Thank you. i found it and made the change..now is shows the category! and i also find out how to link to file not category on search! Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca search plugin

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
MarioP
Phoca Member
Phoca Member
Posts: 20
Joined: 22 Oct 2013, 15:25
Location: Poland

Re: phoca search plugin

Post by MarioP »

Hello,
Could anybody please help me to find which exactly entry I have to change in components/com_phocadownload/views/category/ ... (tmpl/....) defual.php file to gain that result?:
Category: Filename Title
(Filename Title)

Is there any possibility to change the 'Phoca Download' to another word in that search layout?
Category: Filename Title
(Phoca Download / Filename Title)
I have multilanguage site and the best option would be changing the 'Phoca Download' for each language.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca search plugin

Post by Jan »

Hi, you can change the string, it is in JText::_() method.

Here:
components/com_phocadownload/views/category/ ... (tmpl/....) you can set the output of the component

To change the search output - you need to modify standard Joomla! com_search component ...
If you find Phoca extensions useful, please support the project
MarioP
Phoca Member
Phoca Member
Posts: 20
Joined: 22 Oct 2013, 15:25
Location: Poland

Re: phoca search plugin

Post by MarioP »

Hi, you can change the string, it is in JText::_() method.
Thank you Jan, works great!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca search plugin

Post by Jan »

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