WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form DB
[Plugin: Contact Form 7 to Database Extension] displayed table titles (4 posts)

  1. ABMerc
    Member
    Posted 2 years ago #

    Hi Michael

    Is there any way changing the displayed wording of the table titles on a non-admin web page using the [cfdb-table] short code without changing the Contact Form 7 field names. The table on the admin page does not have to be affected.

    example Form 7 field name : "your-name"
    I would like it to read "Name / Company" on the non-admin web page. Can remain "your-name" in the admin table.

    Apologies if this has been dealt with before, but I could not find any mention. I have no programming experience and am trying to create pledge input and display pages for a charity drive. It appears that your great plugin will be the solution. Just need to jump on the learning curve now.

    thanks

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

  2. Michael Simpson
    Member
    Plugin Author

    Posted 2 years ago #

    No, that is something I have the long to-do list, that is to be able to rename the field names in the short codes like "your-name as Name" but I haven't gotten around to that.

  3. SeigneurAo
    Member
    Posted 1 year ago #

    Hello.

    Any progress on this issue ?
    I would be very much interested also.
    Hesitate to dive in the code and figure out how to get around this, but even considering I succeed, I would have to reproduce the change every time the plugin is updated.

    Thanks in advance for the heads-up.

  4. Michael Simpson
    Member
    Plugin Author

    Posted 1 year ago #

    No progress.

    As an alternative you could create your own table tags & headers and use [cfdb-html] to print out the rows. Like:

    <table>
    <thead>
        <tr>
            <th>Column 1 Name</th>
            <th>Column 2 Name</th>
             <th>Column 3 Name</th>
       </tr>
    </thead>
    <tbody>
    [cfdb-html]<tr><td>${col1}<td>${col2}</td><td>${col3}</td></tr>
    </tbody>
    </table>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic