WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
Show all fields in [pdb_list] (7 posts)

  1. hardikgandhi
    Member
    Posted 2 years ago #

    Hi,

    I have more than 15 fields in the DB and due to this when I use the short code [pdb_list] I am not able to see all the columns. Some of them are cut.
    I am sorry this may be a repeat question but could not find a post similar to this.
    My requirement is to display all the fields in [pdb_list]. Please help me on this.

    Thanks
    Hardik

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 2 years ago #

    Hardik,

    You can do most of what you want in your theme CSS. You can do things like set the column width on individual columns which can help a lot. Remember that if you want to change the width of a table, don't try to set the table width directly, change the width of the wrapping element, and the table will follow. If you really want to go wild, add another wrapper div around the whole thing and you can have the table scroll horizontally.

  3. hardikgandhi
    Member
    Posted 2 years ago #

    I get your point here for the fields display...but as such if I make no changes to the code...how many rows can I show on a page??? and will it automatically have vertical scrollbars to show all the records???

    Can I have a limit set that I will only show 20 rows at a time and then have a link to show the other 20 and so on??

    thanks
    Hardik

  4. hardikgandhi
    Member
    Posted 2 years ago #

    Sorry for the last question on pagination...got an answer from the other notes link..thanks

  5. hardikgandhi
    Member
    Posted 2 years ago #

    Can you please guide on the wrapping element changes???

  6. hardikgandhi
    Member
    Posted 2 years ago #

    I tried changing the column widths and it did help me...but the number of fields are more and it did not solve my problem completely. I will need scrollbars to show all my fields in the table....can you please help me on this...as to where can I find the code for the wrapping element?

    thanks

  7. xnau
    Member
    Plugin Author

    Posted 2 years ago #

    hardik,

    I can't give you the code for this, it's not that simple, it's all depending on how your site it laid out. You can put a <div> tag around the shortcode, then set a fixed with for the outer one, and let the inner one be as big as it needs. This is all done in your theme stylesheet, but the details are more about learning how to use CSS.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic