Support » Plugin: Contact Form DB » Empty Template Message

  • 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>


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Michael Simpson


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

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Empty Template Message’ is closed to new replies.