Page 1 of 1

Links to next/previous entry and two posts at same time

Posted: Sun Aug 31, 2008 3:56 pm
by FF
Hya,

Today I posted two entries with exact the same time (scheduled publication).
The 'Links to next/previous entry'-plugin doesn't show them next to eachother, while they have different numbers.

http://www.xarno.nl/dagboek/index.php?/ ... htend.html
http://www.xarno.nl/dagboek/index.php?/ ... htend.html

at http://www.xarno.nl/dagboek/ entry 145 is posted above 146, I thought the latest number would be on top. Maybe this is the problem?

Re: Links to next/previous entry and two posts at same time

Posted: Sun Aug 31, 2008 6:10 pm
by garvinhicking
Hi!

Actually, the pagination plugin does not use the Entry IDs, but the entry's timestamp. If they are exactly the same, then the pagination plugin uses the first entry as the one. In your case this will make trouble. I suggest you to never publish entries on exactly the same timestamp; at least the second should vary, but sadly the second is not editable in the default s9y backend.

So I can sadly only suggest you to change the minute the two entries are posted in.

I don't know how the plugin could be recoded so that it would account for entry's timestamp AND the entry id. That would require at least one additional SQL lookup, making it "cost" a lot more to execute the plugin...

Regards,
Garvin