Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Vote, talk, any post invalidates next entries links

by turnstep (Parson)
on Jan 12, 2001 at 03:28 UTC ( #51258=monkdiscuss: print w/replies, xml ) Need Help??

If you go to a section (i.e. Poetry) and scroll down to the bottom, there is a link entitled Next entries, which brings you to the next "page" of Poetry, in other words, the 2nd set of ten. However, if you vote on any of these, or just click the talk button, you are always brought back to the top of that section, no matter how deep you had drilled. It appears as if the next page info is only stored in the query_string, and not getting passed as a hiden parameter so that the Post method picks things up.

  • Comment on Vote, talk, any post invalidates next entries links

Replies are listed 'Best First'.
(tye)Re: Vote, talk, any post invalidates next entries links
by tye (Sage) on Jan 12, 2001 at 05:54 UTC

    When you first come to the Monastery, you are usually quickly taught the evil of the "Back Button". But here it can be your friend.

    For example, Next, Next, Next, Next, Vote, Back, Back, Next, Next, Next...

    (And I support the idea of adding the position as a hidden field for those forms.)

            - tye (but my friends call me "Tye")
Re: Vote, talk, any post invalidates next entries links
by Adam (Vicar) on Jan 12, 2001 at 05:45 UTC
    This is correct.

    My solution has always been to note the location in the url and hand restore it. Its kind of a quirk of the monastery. Maybe its there to test us, to see if we can adapt to an imperfect world. Maybe its there because of an imperfect creator.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://51258]
Approved by root
[1nickt]: I note DateTime::Format:: Flexible, announced immediately below this box in the CPAN feed
[Corion]: 1nickt: That one sounds sensible as it will tell you when it found an error
[1nickt]: Throws on error, I believe
[1nickt]: But should handle month as number or word
[TCLion]: I am breaking down the line and putting the date in the correct order during output
[TCLion]: at least that's the plan
[1nickt]: Corion this looks good, from the pod: "there are 9000+ variations that are detected correctly in the test files (see t/data/* for most of them). If you can think of any that I do not cover, please let me know."
[TCLion]: some moron put the date like this : Mon Feb 20 09:31:30 2017

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (17)
As of 2017-03-23 14:50 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (288 votes). Check out past polls.