Page 1 of 1

Phoca Download Tree Module displays hidden sections

Posted: 19 Jun 2010, 12:05
by johk
Hi,
In the Phoca Download Tree Module I have set it to hide some categories and sections. However when a user click on the “Download: which is the root of the tree they see all sections and categories even those that I chosen to hide. Is it possible to remove the link from the “Download” item?
I do like the feature of being able to click on “Download” and it shows the sections neatly organized but it does not work 100% if it displayes sections and categories that are supposed to be hidden.

Thanks,
Jonas

Re: Phoca Download Tree Module displays hidden sections

Posted: 20 Jun 2010, 11:16
by johk
Hi,

To remove the "link" for Download in the tree I think I might have to modify
line 163 in mod_phocadownload_tree.php
$output.=''.$treeId.'.add(0,-1,\''.JText::_( 'Download' ).'\',\''.$linkSections.'\');'."\n";

I ma just nor sure how to go about chnahiong the this:)

Thanks
J

Re: Phoca Download Tree Module displays hidden sections

Posted: 24 Jun 2010, 11:05
by Jan
Hi, hiding it in Tree module is only design issue, if you want to hide them fully, you need to hide them in component.

Jan