• Resolved Mike Matenkosky

    (@hikinmike)


    Hi David. I noticed the new version added [%20query%3Aattachment_tag%20] to the url, like this:

    url/`?attachment_id=906&attachment_category=the-needles&attachment_tag

    to this:

    url/?attachment_id=906&attachment_category=the-needles&attachment_tag=[%20query%3Aattachment_tag%20]

    Its more of an observation then a problem, although I was playing around with a way to use a rewrite to change url/?attachment_id=906&attachment_category=the-needles&attachment_tag`

    to this: url/category-name/image-title

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Mike Matenkosky

    (@hikinmike)

    Okay, I just took a look at one of my sites and it seems the latest upgrade broke all of my galleries. You can see it here:

    http://www.imagesinthebackcountry.com/portfolio/landscape/yosemite/

    When you click on one of the thumbnails, I see this under the image:

    ERROR: invalid mla_gallery tax_query = 'attachment_tag="['
    " id="472" mla_link_href="{+link_url+}&attachment_category={+query:attachment_category+}&attachment_tag={+query:attachment_tag+}"]
    
    ERROR: invalid mla_gallery tax_query = 'attachment_tag="['
    " id="472" mla_link_href="{+link_url+}&attachment_category={+query:attachment_category+}&attachment_tag={+query:attachment_tag+}"]
    Published on August 31, 2013
    Gallery
    
    ERROR: invalid mla_gallery tax_query = 'attachment_tag="['
    " mla_link_href="{+link_url+}&attachment_category={+query:attachment_category+}&attachment_tag={+query:attachment_tag+}"]
    Thread Starter Mike Matenkosky

    (@hikinmike)

    I decided to revert back to v1.43 until this bug gets fixed.

    Hi Mike, as I read your post about rewriting, I solved successfully (as good as Im able to do it – maybe better ways there) similar issue in post here: http://ww.wp.xz.cn/support/topic/pagination-87?replies=7
    My goal was to rewrite one only one query though and even pagination, but I think it could be a good start point for you. There was a several problems what I had to be facing, but now its working as you can see on my blog. More is there. Good luck with the code and let us know!

    Thread Starter Mike Matenkosky

    (@hikinmike)

    Hi Lrr, I’ve been following your thread too to see if I can do something similar.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for bringing this issue to my attention. My preliminary investigation shows that the URL your site passes from the gallery page (yosemite) to the individual image page, e.g., http://www.imagesinthebackcountry.com/?attachment_id=2480&attachment_category=yosemite&attachment_tag=, does not have a value for the attachment_tag parameter.

    I believe the way the “no value” case is handled changed from version 1.43 to version 1.50 because of the introduction of Content Templates. I will look into this further and fix it in my next version.

    Plugin Author David Lingren

    (@dglingren)

    As I suspected, the “no value” handling for request: and query: substitution parameters changed/broke in version 1.50. I have corrected the problem and I will add it to my next version.

    I will leave this topic unresolved until the next version goes out. Thanks again for identifying this issue and working with me to get it fixed.

    Plugin Author David Lingren

    (@dglingren)

    I have released version 1.51, which includes the fix for the “no value” handling for request: and query: substitution parameters.

    Please let me know if you have any further problems with this feature. Thanks again for bringing it to my attention.

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

The topic ‘New/Extra URL’ is closed to new replies.