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
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?
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 … 😊
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.
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!
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?
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.
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:
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?
Simple Pagination is now available for EE2.
Brilliant!! Works great with EE2. It is the perfect pagination tool 😉
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.