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.

Pages module with pagination?

May 30, 2012 8:10pm

Subscribe [1]
  • #1 / May 30, 2012 8:10pm

    FCWebTeam

    4 posts

    I have a page (page) that is pulling dynamically with another channel entries tag (blog) in the same template. I’ve tried three scenarios, without embedding the blog entries tag, embedding the blog entries tag in an embed, and embedding the entries tag directly. Any idea if/how I can do this, here’s the example…

    Here’s an example:

    {exp:channel:entries channel="page"}
      {title}
    {/exp:channel:entries}
    {exp:channel:entries channel="blog" limit="10" paginate="bottom" }
      {title}
    {/exp:channel:entries}

    Unless dynamic=“no” for the blog entries tag I get no result, which is fine until I need to paginate which then doesn’t work properly. Writing this though I just thought if a solution but I’m still curious your thoughts (the solution would be just to build a template to list blogs legitimately and link the “pages module” powered template to that template).

  • #2 / May 31, 2012 4:33pm

    Dan Decker

    7338 posts

    Hi FCWebTeam,

    Thanks for posting to the forums!

    Unless dynamic=“no” for the blog entries tag I get no result, which is fine until I need to paginate which then doesn’t work properly.

    Indeed, if you have more than one channel entries tag pair on a template, you likely need to use the dynamic=“off” parameter. It does work with pagination - but the pagination will probably mess with your “page” channel

    If you want to have a paginated “blog list” and stay on the same “page” you would need to implement and AJAX solution to asynchronously call in the “paged” results.

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases