Where to put new window short code using ID's
-
Hi :
I’m using id’s to list documents under various categories on a page, where or how do I place the new window shortcode [dg new_window=true] on the page?
Thanks for a great plug-in!
-
Hi 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
Much appreciated, Dan. – I’ll watch for the update.
No more “whoops”, when we close the document window. (smile)
Thank you, for all your work.Larry
Hi 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! š
Hi Dan:
I’m not having much luck.These examples don’t seem to work:
One with a space,one without.[dg ids =3400,3399, new_window=true]
[dg ids =3400,3399,new_window=true]Am I missing something?
Thanks for your fast response.
LarryHi 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! š
Hi Dan:
Much appreciated.
My apologies. I could have sworn I had 3.2 installed. Stray spaces removed as well, as suggested.
I know I saw a separate thread (that I didn’t quite understand) and I know this is against the rules, but can you pass a quick tip on increasing the vertical spacing between documents in my column? Can you take a quick look?
http://www.croisee.org (a community non-profit)
Thanks, Dan.
Hi Dan:
Unfortunately, I’m using descriptions with our doc images.
Does that still negate the effect of that code in the link you provided? I tried it anyway, but it didn’t seem increase the gap between the ID’s.
Larry
Dan:
By “gap between ID’s”, I mean the vertical gap between the documents in the column.The name of the document is below the image but it’s a bit too tight to the top of separate document below it.
At the same time, I think the description, and it’s positioning, is a real “nice to have” in the gallery. I’m not sure if the better gap is worth giving it up.
I’m rating your work 5 star, either way.
Thanks, Dan.
Larry,
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! š
Dan:
I eventually tweaked the 10px up to 50px and it’s now a really nice clean/clear separation of documents in our Gallery column while keeping the document description aligned on the side.
Perfect.
Thanks, Dan.
Much appreciated.Glad to be of service!
-Dan
The topic ‘Where to put new window short code using ID's’ is closed to new replies.