How can we arrange pagination backwards? (Features)

by tinyCoder, Monday, April 21, 2014, 04:09 (1250 days ago)

Hello, thank you for this great script.

I spent so much time trying to rearrange threads counting buttons. I have set (only 1 post per thread).

So I need page 1 to view the first (oldest) post, page 2 the newer.. not the opposite as it is now. can you please lead me how to do this?

Thank you.

Avatar

How can we arrange pagination backwards?

by Auge ⌂ @, Monday, April 21, 2014, 19:14 (1250 days ago) @ tinyCoder

Hello

I spent so much time trying to rearrange threads counting buttons. I have set (only 1 post per thread).

So I need page 1 to view the first (oldest) post, page 2 the newer.. not the opposite as it is now. can you please lead me how to do this?

Edit the file includes/index.inc.php. The query in the variable $thread_result (beginning with line 87) says, the result should be ordered by the field time. Change the word ASC to DESC.

Tschö, Auge

--
further development of mlf1

How can we arrange pagination backwards?

by tinyCoder, Monday, April 21, 2014, 21:20 (1249 days ago) @ Auge

Hello, thank you for replying.

I already tried that before, but still get the same result. I need the first page to show the oldest post, and the last page (which is 11 in my website) to show the last and newest post, as i need to post only 1 thread everyday and users can navigate to each day using the numbers in the navigation panel. I'm sure this is possible somehow.

Thanks for helping.

A photo:

[image]

Avatar

How can we arrange pagination backwards?

by Auge ⌂ @, Tuesday, April 22, 2014, 15:01 (1249 days ago) @ tinyCoder

Hello

I already tried that before, but still get the same result. I need the first page to show the oldest post, and the last page (which is 11 in my website) to show the last and newest post, as i need to post only 1 thread everyday and users can navigate to each day using the numbers in the navigation panel. I'm sure this is possible somehow.

First solution: use an adequate tool, e.g. a blog system.
Second solution: limit the result of the query to one result.

Tschö, Auge

--
further development of mlf1

RSS Feed of thread
powered by my little forum