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

Simple Pagination plugin problem

Development and Programming

Wired's avatar
Wired
181 posts
17 years ago
Wired's avatar Wired

I have a simple pagination plugin installed and for some reason all the pages after the 1st page breaks out of the template. How do I alter they layout for this plugin? I checked the plugin’s php but i couldnt find anything relavant.

       
Wired's avatar
Wired
181 posts
17 years ago
Wired's avatar Wired

Thanks for your response. Ill factor that in while I figure this out. Basically the first page looks fine and dandy until you click on any page after that. For some reason the CSS seems to go out of whack. I think it has to do with stylesheet.

       
Wired's avatar
Wired
181 posts
17 years ago
Wired's avatar Wired

Now I see what you mean by the plugin stripping the tags. My problem is the paginate tags has to be outside of all these divs otherwise the it doesnt work. Here’s my code: <pre><code> {exp:pagination} <div [removed] id=”article_entry”> <div> <h1>{title}</h1> <div class=”home_date” [removed]> {if ghost_name!=""} <div class=”home_date” [removed]>{exp:clean_word2}{ghost_name} | {entry_date format="%M %d,%Y"}{/exp:clean_word2}</div> {if:else} <div class=”home_date” [removed]>{exp:clean_word2}{author} | {entry_date format="%M %d,%Y"}{/exp:clean_word2}</div> {/if} </div>
</div><div [removed]></div> <div id=”options” [removed]> <div [removed]> <!– AddThis Bookmark Button BEGIN –> [removed] addthis_url = ”; addthis_title = ”; addthis_pub = ‘naughtyamerica’; [removed] [removed][removed] <!– AddThis Bookmark Button END –> /images/article/email_icon.gif EMAIL TO A FRIEND /images/article/printer_icon.gif PRINT VERSION </div> <div [removed]> </div> <div [removed]></div> </div> <div [removed]></div>{exp:image entry_id="{entry_id}”}{exp:quote entry_id="{entry_id}”}{entry}{/exp:quote}{/exp:image} </div> {simplepaginate} <div > Page {current_page} of {total_pages} pages {pagination_links} </div> {if previous_page} <div >Previous Page</div> {/if}

{if next_page}
<div ><a href="http://{next_auto_path}">Next Page</a> </div>
{/if}
{/simplepaginate}
{/exp:pagination}
 {/exp:weblog:entries}[/code]

‘{entry}’is the content that’s being pushed out.

       
Wired's avatar
Wired
181 posts
17 years ago
Wired's avatar Wired

I see what you mean by simplepagination stripping p tags out of the entry now. I’ll work my way around it. Thanks for pointing that out to me.

       

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.