Dan Rossiter
Forum Replies Created
-
Forum: Plugins
In reply to: [Document Gallery] Using dg with Avada themepaisleyhomedesign,
Unfortunately, I’m going to have to say this is an issue with your theme that they need to address. I’m not sure what a fusion_builder_container is supposed to do, but it is preventing the dg shortcode from rendering. There is no output from the dg shortcode, so it is not even getting to the point of trying to create thumbnails.
Does Avada claim that shortcodes should function inside of their fusion_builder_container?
-Dan
Forum: Plugins
In reply to: [Document Gallery] Using dg with Avada themeHi paisleyhomedesign,
The page linked to above (http://paisleyhome.net/printable-library/) does not have a document gallery. When you edit that page, does it show that one is present?
In any event, the gallery not being present on that page explains why no thumbnails are being generated.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Can’t use taxonomiesHi adrock952,
The taxonomy support in DG requires that the attachments themselves have the taxon. If I understand your description correctly, it sounds like the parent page, but not the attachments have the custom taxon.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Create or edit gallery button missingHi cmaurand,
If you go to edit your post, you should see a preview of the gallery within the editor. If you hover over it, you should have a pen icon at the top. Clicking that will open the gallery editor.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Can I remove the icons totally?My pleasure, rdtechgal.
PS: If You’ve found the plugin useful, please take a moment to rate our efforts. Thanks!
Forum: Plugins
In reply to: [Document Gallery] Title PositionHi mliddle,
I apologize for the delay in getting you a solution for this. I haven’t forgotten about you, just need the time to find you a good solution.
I will try to get you an answer this evening.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Can I remove the icons totally?Hi rdtechgal,
You sure can. If you go to Dashboard -> Settings -> Document Gallery and go to the Custom CSS box at the bottom, you can paste the following to make the images go away leaving just the title linking to the file.
.document-icon img { visibility: hidden }-Dan
Forum: Plugins
In reply to: [Document Gallery] Add borders between itemsHi mliddle,
Yes, definitely possible. You’ll need to add a bit of custom CSS to make that happen, but I can get you in the region of what you’re looking for.
If you navigate to
Dashboard -> Settings -> Document Galleryand scroll to the bottom, you’ll see aCustom CSStext block. In that block, you can paste the following to get borders. You’ll probably want to tweak the very simple effect, but hopefully this gets you in the right direction..document-icon-row.descriptions { border: 1px solid }-Dan
Forum: Plugins
In reply to: [Document Gallery] No thumbnails with new installHi 4tin,
Looking at your page, it looks like JavaScript files from possibly all of your plugins are not being loaded. Document Gallery relies on JS to perform the icon generation.
My recommendation is to disable all plugins and switch to a default theme. Assuming that resolves the problem, you can re-enable plugins one-by-one until the problem re-appears and then you know where the problem came from.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Add/upload files from/to another folder than uploadHi warming,
You’re looking for this: https://wordpress.org/plugins/add-from-server/
Once attachments are imported into the WP system, everything will work.
-Dan
Forum: Plugins
In reply to: [Document Gallery] Filterable PDF GalleriesHi Izevon,
Yes, this is definitely possible with Document Gallery.
If I understand your requirements correctly, your best bet would be to combine Document Gallery with a plugin that adds support for adding categories to your attachments. Support for categories and custom taxonomies is documented on the Installation tab under the Categories/Custom Taxonomy Option header.
For taxonomy support, I’ve generally used Media Categories for attachment taxonomy support, but there are a number of other plugins DG users have used. Anything should work if it approaches adding this functionality in a sane manner.
Let me know if you have any additional questions!
-Dan
Forum: Plugins
In reply to: [Document Gallery] add custom class to linksHi architecb33,
This is possible with a bit of custom PHP to hook into Document Gallery templates as documented on the Installation page. The recommended approach for including custom PHP snippets (assuming you are not using a custom theme already) is to create a child theme and put the snipped in the theme’s functions.php.
Below is an example of some PHP that would achieve what you’re looking for:
function dg_icon_template( $value, $use_descriptions, $id ) { return str_replace( '<a ', '<a class="push-page" ', $value ); } add_filter( 'dg_icon_template', 'dg_icon_template', 10, 3 );Forum: Plugins
In reply to: [Document Gallery] Not Generating PDF ThumbnailsI’m glad to hear you got it working!
Forum: Plugins
In reply to: [Document Gallery] Not Generating PDF ThumbnailsHi dralph01,
I just tried converting a PDF on my windows box with the 64-bit Ghostscript 9.20 and things seem to be working OK on my side.
I do notice that is a very non-standard path where Ghostscript is configured to be located. Can you confirm that there is actually something at “C:\ ProgramFiles \gs\gs9.20\bin\gswin64c.exe”? The
%ProgramFiles%environment variable is being expanded out to have a space before and after.-Dan
Forum: Plugins
In reply to: [Document Gallery] Compatible with other gallery plugin?Hi Martijn,
I had never heard of that plugin before, but taking a quick look at what it claims to do, it looks like it adds functionality that is already available through free plugins:
I would suggest checking those out first.
Anyway, addressing your question related to Document Gallery, either the plugins mentioned above or RML would both probably work with Document Gallery. Document Gallery just uses the files as they already exist in the WordPress Media Library, so it generally plays nicely with other plugins as long as the other plugin isn’t doing something weird. Document Gallery would provide you with thumbnails for all supported filetypes, including PDF and Word files, as you mentioned. The one caveat is that if you want support for Word files you’ll need a subscription to thumber.co, which integrates with Document Gallery to extend the number of supported file types.
I hope that helps!
-Dan