Modification of Tree module for multi-language sites

Phoca Gallery - image gallery extension
jfquestiaux
Phoca Member
Phoca Member
Posts: 17
Joined: 17 Sep 2009, 13:30
Location: Nîmes
Contact:

Modification of Tree module for multi-language sites

Post by jfquestiaux »

Hi Jan.

I run a 3 languages Website and I have categories set in each language.
The current "Tree module" displays ALL categories, so if, for instance, I want to display only the French galleries, I need to hide all the other categories in the French Tree Module. This of course works, but it is somewhat tedious to implement, and you have to update all modules each time you add a category.

So I made a modification in the module so you have the choice to display only the categories matching the current language choice of the user. It's working in addition of your 'Hide' feature.

I thought I could upload files in the forum but apparently not, so if you're interested in my module version, let me know and I'll send it to you.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Modification of Tree module for multi-language sites

Post by Jan »

Hi, yes will be great, I have sent you PM.

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