Page 1 of 1

Configuring Phoca Tree module

Posted: 02 Feb 2016, 11:33
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

Re: Configuring Phoca Tree module

Posted: 03 Feb 2016, 18:29
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:

Re: Configuring Phoca Tree module

Posted: 09 Feb 2016, 13:37
by livierin
Thank you very much for you quick reply. Finallly, I did it.

Re: Configuring Phoca Tree module

Posted: 13 Feb 2016, 21:28
by Jan
Ok