We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Plugin Release: Simple Pagination

Development and Programming

tbritton's avatar
tbritton
714 posts
17 years ago
tbritton's avatar tbritton

Oh yes, I see what you are saying now. That could become a problem, indeed. Perhaps some php string function involved in the module could scan for open/closing tag pairs?

Or simply insert line breaks in the page, before and after the {page_break} tag?

This may not be as bad as it seems (from above):

This only really matters if you’re using the XHTML formatting option but what you want to do is have two linebreaks before and after as if this will ensure that the final tag is closed at the end of the page and likewise that if the next page starts with text then it also begins with a fresh tag.

It doesn’t seem to apply to other tags, just the EE generated paragraph tags added in XHTML formatting.

Terry

       
Michael Swanson's avatar
Michael Swanson
32 posts
about 17 years ago
Michael Swanson's avatar Michael Swanson

Genius! You just saved me countless hours!!!!!

       
Macrike's avatar
Macrike
137 posts
16 years ago
Macrike's avatar Macrike

YES! I love you for creating this!!

Gonna try out the plugin now. hahaha

       
RevaCo's avatar
RevaCo
240 posts
16 years ago
RevaCo's avatar RevaCo

Hello Dom.

I cannot get simple_pagination to diplay a custom fields after the final page only.

I have a large article with need to publish references after the last page of the main article - Customer wants references to have its own custom field

I thought I could get away with this:

{if next_page}
  <a href="http://{next_auto_path}">Next Page</a> »
{if:else}
  {references}
{/if}

But the above seems to break the template output.

Any ideas?

       
journalistone's avatar
journalistone
78 posts
16 years ago
journalistone's avatar journalistone

Hello.

I know some time has elapsed since this post, but I was wondering whether anyone has been able to update this plugin so that automatic pagination occurs after a certain number of words ????

I was thinking, for example, of being able to integrate the Word_Limit_Plus plugin together with this plugin so that any lengthy articles were automatically paginated.

Any response gratefully received … 😊

       
brittanyA's avatar
brittanyA
184 posts
15 years ago
brittanyA's avatar brittanyA

Love this plugin, but my comments won’t function! I want all comments to appear on ALL paginated pages. Instead, comments only appear on the first one, or not at all. Help! We just sent out a massive enewsletter before discovering this problem.

       
lamar's avatar
lamar
51 posts
15 years ago
lamar's avatar lamar

Like brittanyA, I’m having troubles with this plugin and comments. I want the comments to appear only on the last page of a multiple page entry. However, they aren’t appearing at all. The only way I can make them work is to set dynamic to off in the entry tag, which unfortunately makes all the comments appear on all the entries, which isn’t desirable.

I’m sure the problem comes because of the P# segment in the URL, but I can’t figure out a way around it.

L.

       
brittanyA's avatar
brittanyA
184 posts
15 years ago
brittanyA's avatar brittanyA

I posted this problem here, but I’m hoping this is a better way to reach you.

I’m using the simple pagination plugin, which has worked perfectly in the past and still functions on all my old issues. However, I noticed today when I posted that instead of pointing to the second page of the article, the pagination links (something like “domain.com/department/article/url_title”), it points to “domain.com/P2”

I upgraded my version and build today and reinstalled the plugin. Is it some sort of auto_path problem? Why would the old stories still function correctly?

Thank you!

       
brittanyA's avatar
brittanyA
184 posts
15 years ago
brittanyA's avatar brittanyA

UPDATE: The pagination is not working only with certain articles. For instance, it will NOT work on this article: http://uvamagazine.org/only_online/article/top_10_u.va._stories_of_2009/

The only difference between this article on the other is that this one has embedded flash video. Could that be a problem? Something it doesn’t like about the url title?

       
journalistone's avatar
journalistone
78 posts
15 years ago
journalistone's avatar journalistone

Hello all here.

I have this ‘simple pagination’ plugin working a treat. Thank you very much.

I have a follow up question – I have to be able to allow for printing of the complete article in one go ie currently, a reader has to print all the individual pages as they are split…

Has anyone else been able to incorporate a method for allowing multiple page articles to be printed in one go ???

Thank you in advance.

       
Dom Stubbs's avatar
Dom Stubbs
156 posts
15 years ago
Dom Stubbs's avatar Dom Stubbs

Hi folks,

I’ve finally got around to releasing an update to Simple Pagination which includes many of the more common feature requests. Actually, I say that, most of the code was provided by Steve Dennis and Philip Cox, so thanks to them for sharing their work.

Simple Pagination 1.2 includes the following new features:

  • A print view (outputs all pages at once)
  • Links now have their own classes
  • A new {all_pagination_links} var is available, should you want links to every single page to be generated (instead of just a handful)
  • You can now specify a custom URI trigger, so you could have page URIs like page_1, page_2 etc, instead of P1, P2, P3…

Download Simple Pagination 1.2

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
15 years ago
Sean C. Smith's avatar Sean C. Smith

I’m trying this out to resolve my problems with styling posted in this thread (just found this plugin today).

I’ve got it added and added the following code, but pagination is not working at all now.

{exp:weblog:entries paramaters="blah"}
{exp:pagination paginate="bottom"}
some code here

{simplepaginate}
    <div class="paginate">
    {pagination_links}
    </div>
{/simplepaginate}

{/exp:pagination}
{/exp:weblog:entries}

***EDIT**** Um… just noticed that maybe this plugin isn’t what I need. I am setting up pagination of multiple entries (not one single entry into smaller pages) and want to style the pagination links which I am unable to do with the built in EE method.

Does this plugin work with multiple entries or only single entries?

       
Dom Stubbs's avatar
Dom Stubbs
156 posts
15 years ago
Dom Stubbs's avatar Dom Stubbs

This plugin is intended specifically for breaking up single entries across multiple pages. In theory you could use it for other things, but I can’t see any reason to use it for multiple entries, since that’s one area EE already has covered.

       
Dom Stubbs's avatar
Dom Stubbs
156 posts
about 15 years ago
Dom Stubbs's avatar Dom Stubbs

Simple Pagination is now available for EE2.

       
ozmo's avatar
ozmo
56 posts
14 years ago
ozmo's avatar ozmo
Simple Pagination is now available for EE2.

Brilliant!! Works great with EE2. It is the perfect pagination tool 😉

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.