Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] PDF leads to blank postI’m not sure what you mean by “it spins”. Can you point me to an example of this?
-Dan
Forum: Plugins
In reply to: [Document Gallery] Document Gallery hangs when downloading a PDFHi Steve,
This is not a DG issue. You’ve got another plugin launching a popup when links are clicked and that is hanging. The thumbnails simply link to the file in question.
If you disable whichever plugin is implementing the popup logic, you should find that the thumbnail links work as expected.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Hi dtarver1,
I’m just checking in on this issue. Does my previous answer address your question?
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] PDF leads to blank postHi Dunbarton,
You’ll want to use the
attachment_pg=falseattribute (eg:[dg attachment_pg=false]).-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Thumbnails breakingHi Philip,
Can you please navigate to
Dashboard -> Settings -> Document Gallery -> Thumbnail Management taband delete all of the thumbnails, then try visiting the page again?-Dan
Hi dtarver1,
Descriptions are intended — as far as DG is concerned — for detailed explanations of the attachment where the full horizontal space is the only sensible layout. If you have just a few words, then the title would be the recommended way to convey the information about the attachment. The “caption” is not used in any DG output so you can put whatever you like there, it just would not be displayed by DG.
There are more advanced ways to achieve completely different per-icon layouts, which I can go into if you like, but they would involve writing code to filter the DG output, which is not most people’s cup of tea.
EDIT: I implied it above, but didn’t explicitly mention that the
columnsattribute does nothing when descriptions are enabled. The standard descriptions-enabled output has two columns — one with icons and one with descriptions.-Dan
Hi dtarver1,
Descriptions use the space to the right of the icon, so if you want regular columns of icons you would need to have
descriptions=false.-Dan
Forum: Plugins
In reply to: [Document Gallery] category or taxon_name should take ids or slugs, not namesIt’s taken longer than it should have, but this enhancement is going to be included in version
4.0, which will be released in the near future.DG will now first looks for matched slugs, then falls back to names.
-Dan
Forum: Plugins
In reply to: [Document Gallery] categories for media filesAh. Now I see the problem. If the attachments you’re wanting aren’t attached to the page where the shortcode is used, you need to also include
id=-1, so in your case[dg id=-1 category="Category Name"]. And that should do it! π-Dan
3.4.4was pushed out last night and resolves the IDs issue. That said, something you said in your last post concerns me. If you have two jQueries loading, I have no clue what that’s going to do, but I suspect it’s not going to end well. And DG uses the jQuery shipped w/ WP, so it’s not going to be a result of anything we’re doing.If you still have issues after updating, which I think you probably will, my recommendation is to repeat the disable all, reenable one-by-one steps from earlier, except this time we’re looking for when the second jQuery re-appears.
I took a quick look and the second jQuery is coming from the jQuery CDN, so that may point you in the right direction if you have some plugin that advertises using jQuery from a CDN. The version loaded by WP is in the header and the CDN one in in your footer.
-Dan
Forum: Plugins
In reply to: [Document Gallery] categories for media filesScreenshots are fine. Maybe use this? http://postimage.org/
-Dan
Forum: Plugins
In reply to: [Document Gallery] categories for media filesNo problem! π
If that’s the case then you’ll want
[dg category="Category Name"]. I don’t have Media Library Categories on a test system right now, but if that doesn’t work I can install it and play with it a bit to figure out what exactly it’s doing.-Dan
Forum: Plugins
In reply to: [Document Gallery] categories for media filesYup. Just use the category name instead of its slug.
Hi,
Yes, sorry for the delay. The issue is that output from DG is generating duplicate gallery IDs. Reverting to
3.4.2is a good short term fix.I apologize for not being able to address this sooner, but it’s been a hectic week. I’m planning to sit down this evening and get a fix for this issue, so you should have a working current DG version by Monday.
Thanks for your patience while we work this out!
-Dan
Forum: Plugins
In reply to: [Document Gallery] Open document before downloading; Pages thumbnailsThere is nothing in Document Gallery that would allow for a full document preview and none of the standard browsers would do this on their own. There are some other plugins that try to implement something like what you describe (I myself worked on one for a while, though it’s been dormant for some time). I don’t know if alternatives exist, but mine is available here: https://wordpress.org/plugins/attachments-plus-plus/. I actually don’t even know if it will run with current versions of WP, but wouldn’t hurt to try.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π