About this topic

  • Posted by elizabethanne 1 year ago. There are 5 posts. The latest reply is from elizabethanne.
  • This topic is not resolved
  1. On the Layouts Editor, there is a shortcode for [gallery_url]. This doesn't appear to be taking into account custom permalink structure. Unless it's already been fixed on the new beta version (which I'm going to test soon!), could you take a look if you have a chance?

    Thank you!

  2. Will do. Thanks!
    BB

  3. excellent, thank you! i was going to implement the awesome recent images widget when i noticed it, will await the update!

  4. elizabethanne,

    This is a special code that really only works in conjunction with a Gallery viewer page. It basically just appends gallery's id to the current page's URL.

    The problem that I had was that you could display a Gallery Viewer gallery on any page/post, so I can't assume that we need the url to use the main gallery viewer page.

    So, what I've done is to add an attribute to the [gallery_url] tag...now, you can specify: [gallery_url main=true]. This will make it use the Main Gallery Viewer permalink set in PhotoSmash Settings instead of the current page's URL as the base. It's not perfect, but I couldn't really figure out how to get around the fact that the current page could be valid or it might not. If you're using it in a widget, that compounds the problem, but this should make it so that you can control it...hopefully.

    BB

  5. aha. OK that makes sense. perhaps i'll see if i can use the gallery name as some kind of workaround, b/c my gallery names are the end of my permalinks. thanks for the point in the right direction!

RSS feed for this topic