Edit and translate "gallery categories detail"?

Phoca Gallery - image gallery extension
chocovo
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Feb 2009, 01:39

Edit and translate "gallery categories detail"?

Post by chocovo »

I would like to edit the "gallery categories detail". I would like to display the description (how can I do it?), number of image in category, category viewed, but I want to remove the rating data and the stars.

Also, I would like to translate these phrases to spanish. Where can I translate it?

Thanks for your help.
Last edited by chocovo on 19 Feb 2009, 18:27, edited 1 time in total.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Edit and translate "gallery categories detail"?

Post by caro84g »

Hi,

translation can be done via the .ini-files. These are in [root]/language/xx-XX and [root]/administrator/language/xx-XX. xx-XX is your language locale (english = en-GB) Find the en-GB.com_phocagallery.ini and the spanish one, compare it and translate what hasn't been translated yet.

Editing this view means editing the core files in php and I don't know which ones.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
chocovo
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Feb 2009, 01:39

Re: Edit and translate "gallery categories detail"?

Post by chocovo »

Hi caro84g,

Thank you for the translation info.
I'll try it immediately.

Regards, Chocovo
Roblom
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 04 Mar 2009, 21:11

Re: Edit and translate "gallery categories detail"?

Post by Roblom »

I also like to know how to remove the rating on the categorie.
I like to see the category name, title and image. But not the rating and number of views.
The rating is also strange behavior because if you set rating off, it still shows in the category overview, but users cannot vote...

Image
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Edit and translate "gallery categories detail"?

Post by caro84g »

Hi Roblom,

why do you display 'categories detail view' if you don't want the information? Just display as: image next to information.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Roblom
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 04 Mar 2009, 21:11

Re: Edit and translate "gallery categories detail"?

Post by Roblom »

caro84g wrote:Hi Roblom,

why do you display 'categories detail view' if you don't want the information? Just display as: image next to information.

Regards, Carolien
Good question :)
Because i want to show the category description. I believe this cannot shown in a other way, it is all or nothing.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Edit and translate "gallery categories detail"?

Post by caro84g »

Ah, yes of course, I forgot that. (in the image you added no description is displayed)

well, you need to edit the core php files, and I don't know which ones exactly.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Roblom
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 04 Mar 2009, 21:11

Re: Edit and translate "gallery categories detail"?

Post by Roblom »

Found it in the core files.

But maybe it is nicer to make it dependent of the setting "show rating", if that has the value 'no' than it is also not shown in the category descrition.
How does this work here on phoca.cz? Can i place a request or something?
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Edit and translate "gallery categories detail"?

Post by caro84g »

Hi,

on the right you see a 'feedback' button. This links to http://phoca.uservoice.com There you can add feature requests.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Roblom
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 04 Mar 2009, 21:11

Re: Edit and translate "gallery categories detail"?

Post by Roblom »

It's was in the categorie template view. But don't remember it exactly and as i installed a newer version after the modivication, these changes were overwritten.
I hope the phoca team will solve this issue because otherwise i have to change it every time there is an update.
Post Reply