Support » Plugin: Contact Form DB » [Plugin: Contact Form 7 to Database Extension] CFDB-HTML Shortcode Issues

  • Resolved pmagony


    Hi Michael,

    I upgraded to 1.8 and attempted to start using the new shortcode for CFDB-HTML but I’m not having any luck. My page stops rendering where the code is executed in the body.

    Here’s my code:

    [cfdb-html form="Written Testimonial Form" show="name,testimonial,condition" orderby="Submitted desc"]
    <div class="testimonial">
    <p>-- ${name} (${condition})</p>

    It basically crashes the loop. Any ideas? Are any of the attributes required, like LIMIT? I’m assuming if you want a full dump you leave limit out.

    One more bug/thing I’d like to point out… when viewing the “Database” page in the admin area, the records are not showing. It’s showing me there are 4 entries in the db, but nothing below it.


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


    Is your version of PHP less than 5.2?

    You shouldn’t have to limit. I’ve seen this issue on someone else’s site but I haven’t definitively tracked it down.

    I’m not sure what transpired from the day I posted this issue, but its now resolved.

    I did not make any changes to the site or upgrade PHP.

    Ill chock it off to a cache issue!

    Thanks (Resolved)

    Plugin Author Michael Simpson


    Someone else had reported a similar issue and I put in a fix (in I think in 1.8.2) where I thought the code that loops through the result might get hung up but I wasn’t sure if it could happen. If you see it again please let me know.

    Will do. Quick question, any way to stripslashes on output? Or should I handle this on the insert?

    Plugin Author Michael Simpson


    There isn’t a way to modify/transform a value. But it should be not injecting slashes (like \’) if that is what you mean. Submitted values go through a stripslashes call before begin saved to the DB.

    I’m surprised the contact form 7 isn’t already handling this! yes, that’s exactly what I mean…

    “It’s” enters in the db as it\s and is consequently outputted with the slash upon performing cfdb-html.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Contact Form 7 to Database Extension] CFDB-HTML Shortcode Issues’ is closed to new replies.