Phoca Download Tree Module displays hidden sections

Phoca Download - download manager
johk
Phoca Member
Phoca Member
Posts: 15
Joined: 04 Apr 2010, 05:59

Phoca Download Tree Module displays hidden sections

Post 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
johk
Phoca Member
Phoca Member
Posts: 15
Joined: 04 Apr 2010, 05:59

Re: Phoca Download Tree Module displays hidden sections

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download Tree Module displays hidden sections

Post 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
If you find Phoca extensions useful, please support the project
Post Reply