Configuring Phoca Tree module

Phoca modules - support for all Phoca modules except Phoca Gallery modules
livierin
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 02 Feb 2016, 11:13

Configuring Phoca Tree module

Post by livierin »

Hello,
sorry if this is the wrong place, I'm new to all this.
I'm testing the phoca download componente andh the tree module to navigate a site in Joomla 3.4.8 and I have some questions.
What i need to know is how to show the tree with all node open (showing child subfolders) and also if it's possibible to hide folders/subfolders based on site language.
Thank you very much for your help.
Best regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Configuring Phoca Tree module

Post by Jan »

Hi, to open them all at once, this needs to be customized directly in the javascript code used in the module.

The module displays the tree of the categories and does not filter them by the language - so even this needs to be customized in the code - this in sql query where you can limit the query to language:

Example for filtering the language:

Code: Select all

 ... =  ' cc.language IN ('.$db->Quote(JFactory::getLanguage()->getTag()).','.$db->Quote('*').')';
, etc. :idea:
If you find Phoca extensions useful, please support the project
livierin
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 02 Feb 2016, 11:13

Re: Configuring Phoca Tree module

Post by livierin »

Thank you very much for you quick reply. Finallly, I did it.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Configuring Phoca Tree module

Post by Jan »

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