ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Passing a segment to a gallery page

April 21, 2008 5:32pm

Subscribe [1]
  • #1 / Apr 21, 2008 5:32pm

    TheBrad

    48 posts

    It is entirely possible I’m completely missing something here, but…

    Is there a way to pass a segment to a gallery single image page that doesn’t break the next/prev links?

    Right now, I have the following href wrapped around thumbnails:

    <a href="{id_path=history/photo}" target="_blank">{thumb_url}

    and that works fine.

    But what I’d really like to do is pass a segment variable on to the image page, like so:

    <a href="{id_path=history/photo/{entry_slug}}" target="_blank">{thumb_url}

    so that I can pull in an associated entry from a weblog on the image page.

    But it appears that any image page URL where the number isn’t in the fourth segment breaks next/prev.

    Help?

  • #2 / Apr 21, 2008 5:34pm

    TheBrad

    48 posts

    Er, and by “breaks next/prev”, I mean that the prev/next links don’t appear at all.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases