Title: Disabling Preview?
Last modified: August 31, 2016

---

# Disabling Preview?

 *  Resolved [dcocchia](https://wordpress.org/support/users/dcocchia/)
 * (@dcocchia)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/disabling-preview/)
 * I’m using Memphis Documents 3.2.1 to create a document library on an intranet.
   We don’t have a need for the Preview feature – it doesn’t work anyway due to 
   the site being internal – so I’d like to remove it to avoid confusion for the
   end-user.
 * However, I cannot get the Preview option in the drop-down to go away. I have 
   it unchecked in the settings, and I have messed around with disabling/enabling
   the third-party plugins. I can get Description to go away, but not the Preview
   option.
 * Any suggestions?
 * [https://wordpress.org/plugins/memphis-documents-library/](https://wordpress.org/plugins/memphis-documents-library/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/disabling-preview/#post-7249428)
 * I just testing this and you are correct it is not working as aspected. I will
   fix this issue in the next version.
 * if you want to change it in the mean time you can open the mdocs-rights.php file
   and change from line 96 to 100 to this:
 *     ```
       if($contributor == true || $the_mdoc['owner'] == $current_user->user_login || $current_user->roles[0] == 'administrator') {
       		if($mdocs_show_preview == true) {
       		?>
       	<li role="presentation"><a class="<?php echo $preview_type; ?>" role="menuitem" tabindex="-1" data-toggle="mdocs-modal" data-target="#mdocs-file-preview" data-mdocs-id="<?php echo $the_mdoc['id']; ?>" data-is-admin="<?php echo is_admin(); ?>" href=""><i class="fa fa-search mdocs-preview-icon" ></i> <?php _e('Preview','mdocs'); ?></a></li>
       	<?php
       		}
       ```
   
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/disabling-preview/#post-7249635)
 * this issue has been fixed in version 3.3

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Disabling Preview?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/disabling-preview/#post-7249635)
 * Status: resolved