Solved

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

Posted on 2010-08-29
3
439 Views
Last Modified: 2012-05-10
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
Comment
Question by:Amanda Watson
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
mcuk_storm earned 500 total points
ID: 33554630
In the same place again around line 54 of task.tpl.php add in:
unset($this->doc->buttons['view']);
0
 
LVL 11

Author Comment

by:Amanda Watson
ID: 33554676
Great, thank you very much
0
 
LVL 11

Author Closing Comment

by:Amanda Watson
ID: 33554685
Perfect
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question