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.

pagination bottom not working... always placing it @ the top of the table

February 15, 2011 10:18am

Subscribe [2]
  • #1 / Feb 15, 2011 10:18am

    outline4

    271 posts

    I have the following, very simple setup:

    <table>
        <tbody>
            {exp:weblog:entries weblog="xxx" limit="50" paginate="bottom" disable="member_data|trackbacks"}
    
                {paginate}
                    <div>Seite {current_page} von {total_pages} Seiten {pagination_links}</div>
                {/paginate}
    
                <tr>
                    {some_code}
                </tr>
            {/exp:weblog:entries}
        </tbody>
    </table>

    but it always places the pagination ABOVE the table. it is putting it outside the table, which is fine, but above, instead of below…
    if I use paginate=“both” it places both paginations above the table…

    <div>Seite 1 von 3 Seiten …</div>
    <table>
        <tbody>
               <tr>
                   <some html>
               </tr>
        </tbody>
    </table>

    I am on EE 1.7

    is this a known issue?

    cheers
    stefan

  • #2 / Feb 15, 2011 4:12pm

    Marcus Neto

    1005 posts

    outline4, could you try it without the table and see if it moves the pagination to the bottom? Something like:

    {exp:weblog:entries weblog="xxx" limit="50" paginate="bottom" disable="member_data|trackbacks"}
        {paginate}
            <div>Seite {current_page} von {total_pages} Seiten {pagination_links}</div>
        {/paginate}
        {some_code}
    {/exp:weblog:entries}
  • #3 / Mar 07, 2011 1:09pm

    outline4

    271 posts

    outline4, could you try it without the table and see if it moves the pagination to the bottom? Something like:

    {exp:weblog:entries weblog="xxx" limit="50" paginate="bottom" disable="member_data|trackbacks"}
        {paginate}
            <div>Seite {current_page} von {total_pages} Seiten {pagination_links}</div>
        {/paginate}
        {some_code}
    {/exp:weblog:entries}

    hi marcus,
    sorry for not responding for such a long time… I just discovered that mail in the trash…

    I just deleted the <table> <tbody> and replaced all <tr> and <td>‘s with divs and ran the exact same code!
    this time the pagination links are at the bottom!

    so this must be related to tables? a bug?
    I’m on 1.7.0

    cheers
    stefan

  • #4 / Mar 07, 2011 5:19pm

    Ingmar

    29245 posts

    You could try the {paginate} tags outside of <table>, somewhere near the bottom of your template. Pagination code is normally not output where you put the tags, which is why we have the paginate= parameter.

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

ExpressionEngine News!

#eecms, #events, #releases