Not a developer? Go to MovableType.com

Plugin and Theme Directory

Hybrid Pagination v1.0

By Brad Choate
Posted December 10, 2008, in Dynamic Publishing.

Details

Hybrid Pagination, a plugin for Movable Type

This plugin provides a means for doing pagination of a template module in Movable Type. It expects the following:

  • An index template that is statically published, as a PHP file.
  • A template module that is written to support pagination.

From the index template, you would make use of the "PaginateModule" MT tag which is provided by this plugin. It works much like the MT "Include" tag, when used with a "module" attribute. For example:

<$MTPaginateModule module="Entries Loop"$>

The template module should look something like this (paginates by 20 entries):

<MTEntries offset="auto" lastn="20">

    (place your entry summary markup here)

<mt:IfStatic>
<mt:EntriesFooter>
    <mt:EntryNext setvar="has_more">1</mt:EntryNext>
</mt:EntriesFooter>
</mt:IfStatic>
</MTEntries>

<div class="content-nav">
<mt:IfDynamic>
<mt:IfPreviousResults>
    <a rel="prev" href="<$mt:NextLink>">&lt; Older &nbsp;</a>
</mt:IfPreviousResults>
<mt:PagerBlock>
    <mt:IfCurrentPage>
        <$mt:Var name="__value__"$>
    <mt:Else>
        <a href="<$mt:PagerLink$>"><$mt:Var name="__value__"$></a>
    </mt:IfCurrentPage>
    <mt:Unless name="__last__">&nbsp;</mt:Unless>
</mt:PagerBlock>
<mt:IfMoreResults>
    <a rel="next" href="<$mt:PreviousLink$>">&nbsp; Newer &gt;</a>
</mt:IfMoreResults>
</mt:IfDynamic>
<mt:IfStatic>
<mt:If name="has_more">
    <a rel="prev" href="?offset=20">&lt; Older</a>
</mt:If>
</mt:IfStatic>
</div>

This produces a simple single "Older" link for the statically published page which takes you to the hybrid static and dynamic page, which then offers full navigation for the module. If you are paginating something other than a MTEntries tag, you can use the same mechanism, but you may need to gather the 'offset' query parameter manually and use it to display the range of results you desire.

Installation

To install this plugin, drop the files included with this plugin into your Movable Type directory (under the plugins/HybridPagination directory).

For a guide to installing Movable Type plugins packaged in this way, please visit http://tinyurl.com/6dfsm3

Requirements

PHP

Compatibility

Movable Type versions: 4.3


Back

34 Comments

Sunil Shrestha

Sunil Shrestha on August 12, 2016, 2:29 a.m. Reply

Installation I got some problems. 192.168.1.1

Gracie

Gracie on July 27, 2017, 12:04 p.m. Reply

Pagination can be dealt with customer side or server-side. Server-side pagination is more typical. Customer side pagination can be utilized when there are not very many records to be gotten to, in which case all records can be returned, and Coursework Assistance the customer can utilize JavaScript to see the different pages. By utilizing AJAX, half breed server/customer side pagination can be utilized, in which Javascript is utilized to ask for the ensuing page.

manux25

manux25 on September 6, 2016, 11:38 a.m. Reply

Excellent plugin, has been very useful for my gay web, thanks!

Xhamster

Xhamster on April 18, 2017, 9:28 a.m. Reply

Se volete vedere video e filmati amatoriali provate a cercare in Xhamster ne potete trovare quanti ne volete

Rustambek

Rustambek on May 14, 2017, 9:57 a.m. Reply

Cages will glow when a bunny is properly positioned to enter a cage. downloadallthingshere.download That means you can store, edit, create and enhance your files on your computer and download them back to the iphone.

white smith

white smith on June 27, 2017, 11:34 a.m. Reply

Thank you so much for sharing the introduction of hybrid pagination here. I think the source code help everyone to follow the steps easily. I have some doubt about the installation procedures and so please make it clear. go to this website

Hellenrose

Hellenrose on June 28, 2017, 11:36 a.m. Reply

Since i was looking for some plugins to do pagination, this piece of information is very useful to me. I would like to install this plugin but the steps of it is not at all clear to me. Could you please update it? best internet provider

binasa

binasa on July 14, 2017, 3:10 a.m. Reply

Hablamos Espaol!100% SECURE- Your safety and security are our absolute priority. http://downloadfreefilesfromme.com Nice way to find out what events are scheduled in your community.

david warner

david warner on August 19, 2017, 4:34 a.m. Reply

This creates a basic single “More established” connection for the statically distributed page which takes you to the half and half static and dynamic page, which at that point offers full route for the module. Coursework Writing Service In the event that you are paginating an option that is other than a MTEntries tag, you can utilize a similar component, however you may need to assemble the “balance” inquiry parameter physically and utilize it to show the scope of results you want.

andrewsymond

andrewsymond on September 12, 2017, 6:16 a.m. Reply

Pagination can be managed client side or server-side. Server-side pagination is more commonplace. Client side pagination can be used when there are not a lot of records to be gotten to, in which case all records can be returned, and the client can use JavaScript to see the diverse pages. By using AJAX, crossbreed server/client side pagination can be used, in which Javascript Coursework Writing Service UK is used to request the resulting page.

Annie Brianne

Annie Brianne on October 19, 2017, 1:09 p.m. Reply

Free Assignment Service that you never look before with there rates and quality

nachoVi

nachoVi on October 28, 2017, 11:54 a.m. Reply

Good job! I really like how you presented the facts and how you made it interesting for us. Thx 192.168.0.1

jiyajoseph

jiyajoseph on November 3, 2017, 7:14 a.m. Reply

Thank you so much for the steps as it makes my understanding easier. Try to put some more explanations if possible. Hope you will consider my opinion positively and do the requirements soon.original site

milan

milan on November 6, 2017, 11:58 a.m. Reply

This is the best platform to get in touch with various kind of plug-ins. This is the first time I have heard about this Hybrid pagination plug-in. Thank you for sharing the template module over here. Expecting more plug-ins from this site.SnoreDoc Anti Grinding Custom Mouth Guard

milan

milan on November 14, 2017, 11:48 a.m. Reply

I am a regular visitor of this site and it offers different kinds of plug-in that could be used for our template. The Hybrid pagination is one like that. It is used for doing pagination of a template. Please provide more details regarding this plug-in.refurbished tablets

BlackMen

BlackMen on January 6, 2018, 8:05 a.m. Reply

Thanks for the valuable information and insights you have so provided here… GIS assignment writing help

BlackMen

BlackMen on January 18, 2018, 7:35 a.m. Reply

The post is written in very a good manner and it contains many useful information for me. florida seo expert

satta matka

satta matka on January 23, 2018, 11:02 a.m. Reply

This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it. satta matka

satta matka

satta matka on January 23, 2018, 11:03 a.m. Reply

Thank you for such a well written article. It’s full of insightful information and entertaining descriptions. Your point of view is the best among many. satta matka

wezzo

wezzo on January 26, 2018, 10:46 a.m. Reply

I invite you to check this site it is similiar to yours : mbc2 Try it Yourself »

wezzo

wezzo on January 26, 2018, 11:00 a.m. Reply

مسلسلات رمضان 2018 مسلسلات رمضان 2018 - مسلسلت رمضان سورية

 walmartcreditcard

walmartcreditcard on January 30, 2018, 9:15 a.m. Reply

Walmart Credit Card Login: As we all know that Walmart is one of the major American retailer companies which are running its business across the globe. When it comes to Walmart, it is mainly functioning with a lot of grocery stores, hypermarkets and department stores. walmart credit cards login

 walmartcreditcard

walmartcreditcard on January 30, 2018, 9:18 a.m. Reply

Walmart Credit Card Login: As we all know that Walmart is one of the major American retailer companies which are running its business across the globe. When it comes to Walmart, it is mainly functioning with a lot of grocery stores, hypermarkets and department stores. walmart credit cards login

frbnv

frbnv on February 2, 2018, 9:25 p.m. Reply

Modalità di utilizzo dei servizi .
L’utente si impegna a pubblicare l’annuncio nella categoria più appropriata del nostro sito bakeca a non commettere le seguenti attività:
- violare le leggi in vigore o le nostre Regole sui contenuti proibiti;
- pubblicare annunci contenenti informazioni false o ingannevoli;
- pubblicare annunci in violazione dei diritti di proprietà intellettuale di terzi;
- utilizzare il servizio offerto su punto al fine di inviare ‘spamming’, proposte di schemi piramidali o network marketing;
- non diffondere virus informatici o altre tecnologie in grado di danneggiare subitopunto.it o gli utenti di subitopunto.it;
- non compiere alcuna azione che possa causare un irragionevole sovraccarico alle nostre infrastrutture tecnologiche e al nostro sito;
- copiare, riprodurre, alterare, modificare o diffondere i contenuti pubblicati dagli inserzionisti senza il loro consenso espresso;

christeena

christeena on March 15, 2018, 12:11 p.m. Reply

Thanks for introducing about Hybrid Pagination and it will be very helpful to the developers in their work.This example you have shared make easier to understand it.Please share the installation process and is it suitable for all the system.http://gemsparties.com/party-event-rentals/

john smith

john smith on March 16, 2018, 8:57 a.m. Reply

good article

john smith

john smith on March 16, 2018, 8:59 a.m. Reply

Thanks for the information. The new plug in is so useful. It was hard at first to divide the pages ,but now the plugin has made pagination so easy and comfortable. Had no problems with the installation either. It was smooth. Thanks again. Trinity Builders Reviews

BlackMen

BlackMen on March 18, 2018, 12:27 p.m. Reply

Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that “The content of your post is awesome” Great work. office cleaning

christeena

christeena on April 24, 2018, 12:22 p.m. Reply

Hybrid pagination makes the template module in Movable Type.Here the example code for how this template module should look is shared.It makes easy to understand it and continue sharing more article related to this topic.luxury knit

Syed Ehtisham

Syed Ehtisham on April 30, 2018, 7:06 a.m. Reply

I am Facing a problem in installing my domain Arabian Desert Safari and Dubai Desert Safari

muneer ahmed

muneer ahmed on June 16, 2018, 10:44 p.m. Reply

Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I’ll be sure to check back again real soon. Iq option

Zeeshan Mudassir

Zeeshan Mudassir on July 21, 2018, 9:10 p.m. Reply

i have installed it on my website Desert Safari Deals Dubai and it really works.. best of luck for the future updates for this plugin though.

Leave a Comment