• Resolved kalico

    (@kalico)


    I am using Media Library Assistant to set categories and tags (they are called Att. Categories and Att. Tags in this plugin on the front end).

    Based on your instructions here I have this shortcode in my post (because I want to just select all the items that are in this category, without attaching them to the page):

    [dg id=-1 category=test-category]

    But I’m getting this error message:

    test-category is not a valid term name in category.

    test-category is the slug for the Att. Category I created.

    Do you know if there is a compatability problem with the two plugins?

    Thanks in advance for any advice you can provide.

    https://wordpress.org/plugins/document-gallery/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter kalico

    (@kalico)

    I also tried this using Media Library Categories, since others here seem to be using it successfully (although it does not meet all my needs).

    The first thing I noticed is that on the Categories page for this plugin, it picked up the categories I had made with Media Library Assistant. So apparently, it is using the same functionality on the backend.

    I tried the above shortcode and got the same results. In the interest of being exact (per the original post in this forum referenced above) also tried:

    [dg id=-1 "category=Test Category"]

    With that shortcode, I got this error message:

    The taxon value entered, “0”, is not valid.

    I tried this in Media Library Assistant as well, and my results were exactly the same as with Media Library Categories.

    Any advice will be most appreciated!

    Thread Starter kalico

    (@kalico)

    A little more searching led me to this support thread, so

    Your last post there — the “dumb question” turned out to be at least part of my problem. After some of the changes I’d made earlier, I ended up with no documents (they are PDFs) attached to the category I was trying to display. So I attached a couple. But still no joy…. I just got a blank spot on the screen where the gallery should display (no error message, so I guess that’s progress?)

    Next I tried the exact code you have posted in the thread, except I changed to the name of my category, properly capitalized.

    [dg descriptions=true category="New York Times" images=true]

    Like the OP on that thread, I got this error message:

    The taxon value entered, “images”, is not valid.

    I get that message no matter where I put “images=true” in the shortcode.

    Next, I followed the advice you gave in that thread: completely uninstalled DG and reinstalled it.

    The issue persists.

    I wondered if there might be a conflict with post categories, because they are the same in some cases (including the test category I was using). When I clicked on post categories, I noticed that they are identical to the ones I created for media, including the one that I made with Media Library Categories. So that whole system seems to work together. But I’m sure you knew that. 🙂

    Ok, I think that is all I can offer on this matter for now. Hoping for a resolution, because this is EXACTLY what we need and I love everything about it! 🙂

    Plugin Author Dan Rossiter

    (@danrossiter)

    Hi kalico,

    There does appear to be a regression where the images attribute is not being correctly handled. A good workaround is to simply set your mime_types attribute instead. If you go to Dashboard -> Settings -> Document Gallery and append “,image” to whatever is already there, that should work. If you do not want to make the change globally, you can also make the same change at the shortcode level (eg: [dg descriptions=true category="New York Times" mime_types=application,video,text,audio,image]).

    All of that said, I’m planning to get a patch release out this evening to address the bug. Thanks for bringing it to our attention!

    -Dan

    Plugin Author Dan Rossiter

    (@danrossiter)

    And following up on above, the patched version 3.5.3 is now available.

    -Dan

    PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! 🙂

    Thread Starter kalico

    (@kalico)

    Hi Dan,

    Thanks for making the effort to fix this. Sorry I didn’t reply…I got pulled off on another aspect of the project, and am just now returning to this.

    Your update probably solved the problem you identified from my post; however that wasn’t quite the problem I was trying to report. 🙂

    However, my problem did get resolved (either I was doing something wrong, or the author of Medial Library Assistant made a change that fixed the problem…I don’t know), so I wanted to share what is currently working for me, in case someone else finds this thread and wonders.

    – I have Media Library Assistant (MLA) installed.
    – I have uploaded multiple files there, in various categories that are specific to MLA.
    – MLA uses attachment_category to refer to its Attachment Categories.
    – I have an attachment_category called NROC English. The slug is nroc-english.
    – I have created a Page with the code [dg id=-1 attachment_category=nroc-english]

    This page nicely generates a list of all the files in that category, and it updates automatically every time I add or remove an item from that category.

    Very happy with this plugin! I’ll post a good review soon. 🙂

    Plugin Author Dan Rossiter

    (@danrossiter)

    Glad everything worked out!

    -Dan

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Compatible with categories from Media Library Assistant?’ is closed to new replies.