WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form DB
Empty Template Message (3 posts)

  1. sildona
    Member
    Posted 1 year ago #

    When I select the HTML form, I receive an error message.

    Error: [cfdb-html] has empty Template. It will not output anything.

    Can someone point me to or show me an example of how do fix this?

    I found a "template" example on the user-guide page, but I have no idea where to past this? In a post? In CSS?

    [cfdb-html form="blogs" show="name,title,blogtext" limit="10" orderby="Submitted desc"]

    <div class="your-headline-style">${name}: ${title}</div>

    <div class="your-content-style">${blogtext}</div>

    [/cfdb-html]

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

  2. Michael Simpson
    Member
    Plugin Author

    Posted 1 year ago #

    Put your short code in a page or post. Empty template means that there is nothing between the "[cfdb-html]" and "[/cfdb-html]" parts.

  3. sildona
    Member
    Posted 1 year ago #

    I actually got confused by the admin panel and did not realize that below the line on my browser there was a short-code creator for html-option.

    So everything is working as expected. It just comes through with no formatting whatsoever. Although this seems like a good plugin, I was actually looking for an out-of-the-box solution that has at least some formatting or some examples I could modify or something.

    Since I have a form that fills the database, it doesn't matter what I have to display it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic