Hey folks, I think this might be a ‘its friday and my brain has turned off’ kind of problem but we’ll see.
Situation: We’re using the Simple Pagination plug to paginate our stories. It works great for us for basic pagination. But we want more (always more!). I’d like to set a flag inside the template that indicates that the story is being paginated. Then, in the article template, we want to check that flag to suppress or add various page parts (some things we only want on Page 1 of a story, some things only on the last page).
My problem is getting that flag out to the template… I suspect (after searching these forums) that $SESS->cache is part of my solution; I can set a parameter in that and then read it in the template? But so far I haven’t hit on the right way to do that.
Can someone give me a whack on the side of the head to get me moving on this again?
