Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 447
  • Last Modified:

How can I remove the VIEW button from these documents in docman

Hi, on this page here, you will see the VIEW button pops up on some documents.

http://www.testing.qsma.org.au/index.php?option=com_docman&task=cat_view&gid=42&Itemid=60

see Interventions for helping people recognise early signs of recurrence in bipolar disorder (2007) ....

How can I remove this from within docman code?
0
Amanda Watson
Asked:
Amanda Watson
  • 2
1 Solution
 
mcuk_stormCommented:
In the same place again around line 54 of task.tpl.php add in:
unset($this->doc->buttons['view']);
0
 
Amanda WatsonAuthor Commented:
Great, thank you very much
0
 
Amanda WatsonAuthor Commented:
Perfect
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now