HiDd#N

pagination type

Vote 0 Votes

Hi Every Body
i tryed to use pagination method which proposed in this article but i have some problem in it and thats pages number link.when i use this solution page number will be like this
1 2 3 4 5 6 7 8 9 and More..and when we have more pages like 300 page which contaion 7 entry in each page we have 300 numbers and it looks so ugly.my question is if is there any way to pagination number will be like this 1 2 3 4 5... last next>>
i tryed to use Alden Bates plugin but that will slow site publishing and thats not what i'm looking for.
i tryed php pagination by Mark Carey and thats not what i looking for.
I tryed MTPaginate and same too.i tryed many many solution but couldnt find one just mt solution was good and this problem that i couldnt fix because i have no knowledge about cgi coding.
any help will be appreciated.

Reported on Movable Type 5

9 Replies

| Add a Reply
  • Hello to you,

    I would strongly recommend you to use Alden Bates' plugin.

    In order to make it very efficient in terms of publishing time and effort, you won't paginate all your posts, but limit the sub-pages to say 10, 15 or 20.

    Don't imagine that somebody would ever go deeper than that.

    I'm using it myself with excellent results and it allows you to also limit the number of pages displayed at once to whatever you want.

    For my projects I'm limiting the display to 5 items, just as you've described above.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

  • tnx but there is no solution for that article that mt decided??i mean using movable type search engine and have somtiong like this
    first ... 5 6 7 8 9 last next>>

  • I really don't like the MT search engine.

    You should know that the search function isn't very efficient and quite demanding in terms of server CPU.

    Alden's plugin is really a lot better.

  • yea, MT seriously need to work on dynamic publish more especially pagination. CMS platform without pagination solution is worthless. And default dynamic solution is a joke if you can't use MT tag variables.

  • They just tried to implement a pagination method and they did it dynamically, but that relies on the search function, which is quite demanding in terms of resources.

    At this time, Alden's plugin is a lot better.

    If movable type would redo the pagination concept so that it won't rely on the search function, then I would be glad to consider it for my projects.

    Until then I am more than happy with Alden's solution.

    Thanks,
    Mihai

  • Thanks Guys for answer me
    Alden's solution is great but have a small problem..is there any way to publish advertise in post 3 and 7 and 10 for example betwin entries??i just saw this functionality in MTPaginate and that MTPaginate also dont have somthing like 1 2 3 4 5...end next...i just dont know what should i do Mihai please any solution for this??

  • Yes, there is a way to do that!

    You could use either the "__counter__" variable and check against various values (i.e. 3, 7 or 10).

    i.e.

    <mt:if name="__counter__" eq="3">

    ...

    </mt:if>

    Alternatively you could set a count variable and check against various values. When you use this concept, you might have to reset the count on the last entry, so that on the other sub-pages the counting would start over.

  • realy realy thanks Mihai

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012