Support » Plugin: Contact Form DB » Export cfdb-html to external site

  • Using cfdb-html shortcode and a tiny bit of CSS, I have created a nice looking directory from our membership form. However I must export that to our membership page on an external site to display it for members. I am able to use an iframe to export and display a data table, but do not see the cfdb-html as one of the menu choices for creating the export link. I do see where to put the html template at the bottom of that form, but can’t seem to get it all together to export it.

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


    Go to the Admin Short code page, select a form and [cfdb-html] and fill in the template section. Then copy the the link for “(Test Short Code Results)” and put that as the src for your iframe. That should work unless the length of the URL is too long.

    You are a star. I kept trying to do something with the export part at the top of the shortcode page. This is perfect and when I apply my CSS I think it will work perfectly for us. Once I make sure my CSS works, I plan to buy the editing plugin for ease of maintaining any data changes. You made my day. 🙂

    Oops, well it exported my data, but didn’t pick up the order by and won’t respond to my CSS for the class. As I look at the long URL, I can see the words orderby and class in the midst of what I guess are the numerical equivalents of all the characters. Not sure what to do to troubleshoot. It does follow enough of my html to show the data elements on the proper lines. I used some pretty crude html, but that part worked, its just the order by and the class for styling that is not working correctly.

    I will create another shortcode from scratch and see if I get a different result.

    Plugin Author Michael Simpson


    Clicking the Test Short Code Results should show you what you get. I’m not sure why the order by and class are not working.

    If this is in an iframe, the browser may not allow the CSS from the containing page to style the html in the iframe (I’m not sure if this is supposed to work). In that case, it might be better to forget the iframe and put in a jQuery.ajax call to get the page and populate some div with the contents you get back. Just a thought.

    I think the order by was an error on my part. I used an iframe because I did not know another way to get my content to the external site. It seems like it ought to use the CSS from either the host site or the external site so I made sure to put it on both. I know nothing about using a jquery Ajax call.

    I will go poke around a bit more. If I make any more progress, or get more educated about jquery, I will come back.

    Thank you for a great product.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Export cfdb-html to external site’ is closed to new replies.