Preview and download button doesn't work
-
i don’t have a download button, and preview isn’t working. I’m using latest version of plugin. import function doesn’t work either. thank you for your help
-
try version 3.0.2 and report any changes, thanks.
I just tried 3.0.2 on our staging server and the Preview and Download menu still do not work.
Here’s a page of Memphis Docs. Clicking on the title should spawn a little Javascript menu with options: Preview, Download, etc.
http://newarkschools.staging.wpengine.com/departments/general-counsel/district-policies/
Also still missing the Name/Title in Admin view. Here’s a screenshot of the same Page of docs in Admin:
https://www.dropbox.com/s/613m08qirbb2iwv/Screen%20Shot%202015-09-11%20at%201.43.56%20PM.png?dl=0
Looks like a javascript error
Can’t find variable _ => advance-image-style.js
that may cause some issue,
That js file is attached the Advanced Image Style plugin. I deactivated it and the js error goes away, but the Javascript menu drawn by Memphis Docs still does not work in Chrome or Firefox.
It does work, however, in Admin view.
https://www.dropbox.com/s/rys4nc6iqaiwxkl/Screen%20Shot%202015-09-11%20at%203.03.27%20PM.png?dl=0
I’m guessing it’s a Javascript library conflict, but don’t know which one. I’ll dig a little more.
And the Titles/Names of each Mdoc are still not showing in Admin view.
Yeah I just looked at your screenshot, the text looks like it could be set to a super small size.
From you screen shot I can see a small blue dot can you inspect that item and see if there is any text there
Look for this line
<a class="mdocs-title-href" data-toggle="dropdown" href="#" ><?php echo $file_icon.' '.str_replace('\\','',$the_mdoc['name']).$status_tag; ?></a>
As for your other error, I think you are right a javascript conflict is causing bootstrap not to load properly, I’ll keep testing see if I can recreate the problem.
Not sure what the blue dot is, I think it’s an anchor being styled around s space character.
If you look at the HTML source output, the text of the Title/Name is there, it’s just not being displayed, as if display:none; were being set, though that’s not the case here with the CSS.
I’ve narrowed it down to this CSS:
.btn-group { font-size: 0; }
…which is in /wp-content/mu-plugins/wpengine-common/css/wpe-common.css?ver=2.2.7
So perhaps you can over-ride .btn-group styling when inside .mdocs-tooltip so this conflict goes away.
Can you test this on your end to see if this fixes the issue and if so I will add it to my css for next release.
Cheers
Yes, I added:
.mdocs-tooltip .btn-group { font-size:inherit;}
to /wp-content/plugins/memphis-documents-library//mdocs-admin-style.css
And this solves this particular issue. Screenshot showing the solution.
https://www.dropbox.com/s/1vmdiic5na90coq/Screen%20Shot%202015-09-11%20at%203.57.04%20PM.png?dl=0
nice, I’ve added that to my css THANKS for the help.
Now on to the next issue, the dropdown menu.
I’ve uninstalled 3.0.2, and installed 2.6.15 which is working super fine.. hope the new updates on the plugin will work on my site. thank you for this plugin.. it’s wonderful
It’s a conflict with bootstrap. I’m looking into a solution now, but its not a simple problem. Basically I have to remove bootstrap from the plugin and that will be a lot of work.
What’s the easiest way to uninstall 3.0.2 and reinstall an earlier version without losing documents and structure?
- Download the old version
- ftp into your site
- delete the new version
- upload the old version
This method should work, but can’t guarantee anything.
- The topic ‘Preview and download button doesn't work’ is closed to new replies.