ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

But... what if I don't WANT the paginate block to move there?

July 24, 2007 1:02pm

Subscribe [0]
  • #1 / Jul 24, 2007 1:02pm

    kenlaws

    3 posts

    As far as I can tell from the docs, I can’t just put a {paginate} block somewhere and have it actually render there. The block is relocated to either “top” or “bottom” or “both.” But what if I want to put it someplace specific? Is there a way?

  • #2 / Jul 24, 2007 1:04pm

    Lisa Wess

    20502 posts

    Search for the Reeposition plugin, by Mr Wilson. I don’t have a link but it can help you here =)

  • #3 / Jul 24, 2007 1:22pm

    kenlaws

    3 posts

    Oh, yeah… now THAT is what I’m talking about! Thanks Lisa!

    I was just searching for “paginate,” not “reposition.” Too many words in English. Please eliminate 5,000.

  • #4 / Jul 24, 2007 3:38pm

    Mark Bowen

    12637 posts

    HIya,

    Sorry to butt in on the end like this but I think that you could also do it without using any plugins by just having another weblog tag with just the paginate options in and placing that wherever you like on the page?

    So you would just have something like this :

    {exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="1" disable="member_data|trackbacks"}
    {paginate}
    <div class="paginate">
    <span class="pagecount">Page {current_page} of {total_pages} pages</span>  {pagination_links}
    </div>
    {/paginate}
    {/exp:weblog:entries}

    Not tested but pretty sure that it should work. Hopefully not too intensive on the load on the server. As I say not really tested so don’t know if this would create a performance hit or not? Maybe it helps though?

    Regards,

    Mark

  • #5 / Jul 25, 2007 1:57am

    kenlaws

    3 posts

    That was actually the solution I was looking to avoid. I don’t know for sure either, but I can only assume that another set of calls like that would be a hit on the server.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases