cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling File name URL Links

shutbug45
Champ in-the-making
Champ in-the-making
Is it possible to either create a custom role or even customize Alfresco to disable the filenames from being displayed as links. 

What we want to do is allow people to see that certain files exist, but not allow them to download it by clicking on or right clicking on the filename which is a link to the file.

We are doing this because certain images can be freely used will others they have to consult with others before it is used.

Thank you in advance for your help
1 REPLY 1

kevinr
Star Contributor
Star Contributor
Currently you will need to modify the browse.jsp file to do this. The 3 sections starting with the comments:
<%– Primary column for details view mode –%>
<%– Primary column for icons view mode –%>
<%– Primary column for list view mode –%>
contain clickable 'a:actionLink' components which you should convert to 'hSmiley SurprisedutputText' or similar.

You may need to modify the document-details.jsp page as this has links also.

Thanks,

Kevin