Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] Integrate with other plugins?Hey Mikey,
I’ve actually developed an EDD extension to integrate with Document Gallery on a private project quite recently. That said, the only functionality I needed to extend was related to Google Drive thumbnail generation (EDD doesn’t have downloads in a public path so they couldn’t be passed to Google).
For just general functionality, it should work out of the box without any “extending”. All you’d need to do is modify the [download template](https://easydigitaldownloads.com/support/topic/how-to-change-the-download-template/) to invoke [do_shortcode](http://codex.wordpress.org/Function_Reference/do_shortcode) with the ID of the current download and you’d have your automatic thumbnails.
Does that make sense?
-Dan
Forum: Plugins
In reply to: [Document Gallery] Insert as document galleryHi norbou,
This has actually been planned for quite a while now (over a year, actually), but it’s tricky integrating with the WP Media Manager. One day, I hope to have similar functionality to how you can generate a regular gallery from the Media Manager.
We actually have an issue in our issue tracker regarding this functionality here: https://github.com/thenadz/document-gallery/issues/6.
As for the Czech translation, that would be greatly appreciated! Do you need any information on how to get started?
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Responsive – increase thumbnail sizeHaha! Thanks, Mikey!
Glad everything worked out!
-Dan
Forum: Plugins
In reply to: [Document Gallery] Thumbnail size setting?No, you’re absolutely right. That would be intuitive, but it’s more challenging than it sounds.
At some point, we’ll finally get around to making the default gallery styling responsive, which would address this, but for now you have to manually modify your CSS.
Thanks for the suggestion and it’s definitely planned for the future! π
-Dan
Forum: Plugins
In reply to: [Document Gallery] Can't get DG to workRaven,
The page is not fully rendered. I would encourage you to do one test before you give up on DG.
First, switch the theme to one of the defaults that come with WordPress and disable all plugins. Next, view the page you are expecting to see a gallery. If it is there at this point in the process, then one of the other plugins or your theme is causing a problem. To figure out which is the culprit, enable them one-by-one, each time rechecking the gallery. Whichever plugin/theme was most recently activated when the gallery disappears is your culprit.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Can't get DG to workHi Rayvn,
I just looked at the linked page and it is almost definitely an issue with your theme. If you look at the page source, you’ll notice that the page is not being fully rendered. It stops mid-page.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Responsive – increase thumbnail sizeHi Mikey,
I’ll preface this by saying that CSS is definitely not my strong suit. The CSS you saw pinned to the top of the support forum was actually from a user who volunteered their enhancements to the default CSS. I had nothing to do with it, but it was a great option so I pinned it so others could find it.
All of that said, I think I may have a solution for you. You may want to play with it some, but this is what I was trying that seemed to achieve what you were looking for:
/* START RESPONSIVE SETTINGS */ @media (max-width: 1000px) { div.document-icon{width: 23%;} } @media (min-width: 800px) { div.document-icon{text-align: center; max-width: 200px; line-height: 0.8em; width: 23%;} div.document-icon img{max-width: 200px; max-height: 200px; border: none;} div.document-icon a{ font-size: 1.2em; line-height: 1.3em; } div.descriptions.document-icon-wrapper div.document-icon{max-width: 200px; padding: 10; padding-right: 3px; float: left;} } @media (max-width: 800px) { div.document-icon{text-align: center; max-width: 120px; line-height: 0.8em; width: 23%;} div.document-icon img{max-width: 70px; max-height: 70px; border: none;} div.document-icon a{ font-size: 1.2em; line-height: 1.3em; } div.descriptions.document-icon-wrapper div.document-icon{max-width: 100px; padding: 10; padding-right: 3px; float: left;} } @media (max-width: 400px) { div.document-icon{text-align: center; max-width: 50px; line-height: 0.8em; width: 22%;} div.document-icon img{max-width: 30px; max-height: 30px; border: none;} div.document-icon a{font-size: 0.7em; line-height: 0.8em;} div.descriptions.document-icon-wrapper div.document-icon{max-width: 70px; padding: 0; padding-right: 1px; float: left;} } /* END RESPONSIVE SETTINGS */Let me know how that works for you!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Cannot Drag/Drop in Media LibraryHi Jeff,
In your case you’re actually much better off using the orderby attribute, so [dg orderby=date order=DESC] to order by when the documents were uploaded or [dg orderby=modified order=DESC] to order by when attachments were last modified.
If you do that you won’t have to reorder each time a new document is added! π
-Dan
PS: Please take a moment to rate Document Gallery if you’ve found it useful! π
Forum: Plugins
In reply to: [Document Gallery] Can't get DG to workIt sounds like it was already working in your first test, no?
Document Gallery in its simplest usage works based on what is attached to the current page. This is described in detail on the [Installation tab](https://wordpress.org/plugins/document-gallery/installation/) and there is also a video that describes simple use cases on the [description tab](https://wordpress.org/plugins/document-gallery/).
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Center icons in theme revisited.Glad to hear everything worked out, Tom!
Yes, I think you are likely correct about the cause based on what you reported. I botched an update script a few versions back and am paying for that mistake now with issues like this.
Thanks for your patience and happy New Years to you also!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Center icons in theme revisited.Hi Tom,
I’ve reviewed the old support thread and it still appears to work on my system. If you could email me through my site the details necessary to get to a page where I can see what is happening on your site, I’d be happy to investigate further.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Can't get DG to workHi TK,
Document Gallery will only spend a limited amount of time trying to convert documents before switching to using default icons for the remainder of the gallery. Next time the page is reloaded, generation is re-started where it was left off. This avoids users waiting minutes for a page to load.
It sounds like this is what you ran into with what you tried first. What you tried second, “inserting” from the media library, is unnecessary and will result in extra links in your page that are probably not what you want.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Warning error appears on pages w/ version 2.3.5Hi nexview,
Thanks for bringing this to our attention! I’ve just promoted version
2.3.7which should resolve the issue.-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Fatal Error on install to brand new WP 4.1Hey Dave,
The issue should be resolved in
2.3.6(just released). I’m guessing it didn’t work on those test systems because WP can’t find any methods for performing HTTP requests (like curl).For getting Ghostscript on a Mac, it looks like this is your best bet for a pre-built download: http://pages.uoregon.edu/koch/ (grab the .pkg file). Once it’s installed, if Document Gallery doesn’t detect the executable location then you can manually set that value at
Dashboard -> Document Gallery Settings -> Advanced.Let me know how it goes!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Fatal Error on install to brand new WP 4.1Thanks for reporting this (and isolating exactly what is going wrong)! Never seen that behavior before. It should be an easy fix though so I’ll try to have a fix out this evening.
-Dan