Contact Form DB
Empty Template Message (3 posts)

  1. sildona
    Posted 3 years 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>



  2. Michael Simpson
    Plugin Author

    Posted 3 years 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
    Posted 3 years 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

  • Contact Form DB
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic