Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] Where to put new window short code using ID'sLarry,
How about something like this in your custom CSS? You can tweak the 10px to meet your specific needs.
.descriptions.document-icon-wrapper { margin-bottom: 10px }-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Where to put new window short code using ID'sForum: Plugins
In reply to: [Document Gallery] Blank pageHi BigStache,
When you uploaded, did you upload them to the page you wanted the gallery displayed on? If you uploaded the files to the general media manager (accessed in the dashboard left sidebar) or on a different page than the one with the gallery shortcode then Document Gallery won’t be able to find the PDFs.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Where to put new window short code using ID'sHi Larry,
The first example you show is going to cause problems because you have a stray space between the “ids” and the equal sign. The second one has a comma before the “new_window”. Try this:
[dg ids=3400,3399 new_window=true].Also, just to clarify, you’ve downloaded Document Gallery 3.2? If you check your plugins page in the dashboard, the Document Gallery line item should indicate what version is installed.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Where to put new window short code using ID'sHi Larry,
Just wanted to let you know that this version is now released. You should be able to update now.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Multiple Categories with 'AND' relationHi ryleef,
Please take a look at the NOTE following the relation option documentation on the installation tab.
I believe you’re looking for “media_category_relation”.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Where to put new window short code using ID'sHi LDP,
It looks like I inadvertently released documentation for 3.2, which is not yet released. Once it is actually released, it will be used like this
[dg ids=... new_window=true].Sorry about the confusion, but that functionality will be released very soon π
-Dan
Forum: Plugins
In reply to: [Document Gallery] Rollovers with overlay download iconHi Frodo,
Firstly, I’d strongly discourage modifying the plugin. If you go this route, you’ll lock yourself out of getting future plugin updates or have to re-implement with each update.
Instead, I’d suggest using the Filter HTML Output functionality documented in the Installation tab.
However, beyond that, I won’t be of much help. CSS is so not my strong suit. If you have an example of it working in your theme, the best advice I can give is to duplicate that.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Thumbnail of short PDF white bar at topInteresting. Ok, thanks Frodo. I’ll do some investigation.
I have some work things that will likely keep me tied up through Friday, but I’ll try to get to this on the weekend.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Thumbnail of short PDF white bar at topHi Frodo,
I’m glad the plugin is proving useful for you!
Can you link me to where you are seeing this behavior? It’s possible the file is just “weird” and Ghostscript isn’t able to process it correctly.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Custom url for image instead of document download?Hi K Pixel,
No problem, and thanks for the review!
Regarding opening in a new window, I would strongly suggest *not* having some of your thumbnails open in a new window if you have other thumbnails in the same gallery opening in the same window. This will result in a very confusing behavior for your users.
If you are asking about opening *all* documents in a gallery into a new tab, this is not yet supported, but is scheduled to be included in the next DG release. A description of an interim workaround for this is available here.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Attachment IDs not availableMy pleasure!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] Attachment IDs not availableHi Maxkelsen,
There’s actually a much easier way as of DG version 3.1. If you go to the same media manager dialog shown in the video and click “Create Document Gallery” in the left sidebar, it will automate the shortcode generation for you, including finding all of the attachment IDs.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Custom url for image instead of document download?Hi K Pixel,
Unfortunately, Document Gallery, like the core standard Gallery, does not natively support inclusion of remote resources. The “Custom URL” option is related to “inserting media,” which is a separate unrelated concept to Document Gallery.
One option you do have is to create a dummy HTML attachment that just redirects to where you want to link. If you attach the dummy HTML file to your page then include it in your gallery then it will achieve what you want.
The dummy HTML might look something like this:
<!DOCTYPE html> <html> <head> <noscript> <meta http-equiv="refresh" content="0; URL='target URL'" /> </noscript> </head> <body> <script>window.location = 'target URL';</script> </body> </html>(You’d replace the two instances of “target URL” with where you want the user to be taken.)
Please let me know if that is any help!
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π
Forum: Plugins
In reply to: [Document Gallery] open pdf in new tabJust wanted to give a quick update — this functionality will be included in the next release.
-Dan
PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! π