WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form DB
Navigation doesn't work with "LIMIT" (5 posts)

  1. danicasati
    Member
    Posted 11 months ago #

    Hi.
    With CFDB 2.6, I'm using DATATABLE and i set limit to 10 rows.
    But I can't navigate in next rows, so I display 10 rows and navigation buttons are disabled, but I have 50 records in the table.

    http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/

  2. Michael Simpson
    Member
    Plugin Author

    Posted 11 months ago #

    You are misunderstanding the use of "limit". If you limit it to ten rows, that is all you get. It does not paginate.

  3. danicasati
    Member
    Posted 11 months ago #

    Ok, I understand.
    Any method to change combobox "ALL" in the header of the table to set 25, 50 or 100 by default?

  4. Michael Simpson
    Member
    Plugin Author

    Posted 11 months ago #

    Yes, its the dt_options:

    [cfdb-datatable form="form-name" dt_options="'bJQueryUI': true, 'iDisplayLength': 25"]

  5. danicasati
    Member
    Posted 11 months ago #

    Thank you very much.
    It works for me.

Reply

You must log in to post.

About this Plugin

About this Topic