Thanks in advance all for any help... how do I embed into an already designed site, an html site... I know from past days that php works gr8 inside of html.. just not the other way around. how do I embed this into my design?
Embed form in already designed html template?
(6 posts) (4 voices)-
Posted 1 year ago #
-
If you are unable to rename the links in your site for a php file, I recommend that you use an iframe.
Add a block of HTML code like this to your HTML file:
<iframe src="contact.php" width="400" height="400">
<p>Your browser does not support iframes.</p>
</iframe>That should display your form within the page. You can find more information about iframes at this page:
Posted 1 year ago # -
Hi Alex
I went ahead and purchased the Pro version thinking that it would work with the film site I am the volunteer web designer for.
People can reserve a ticket through our site. Either as an earlier member, existing member or new member. Three forms that look fairly similiar to each other.
Here is an example:
I would like to create a similar layout, design, using the same fields: http://spirituellfilm.no/meny/billett/billett_medlem_ok.html
in SimpleContact Pro.How do I go about customizing the contact.php file to look similar to the html form I use in the above link?
Thanks!
Paal Joachim
Posted 1 year ago # -
Thank you for your purchase. I hope you are finding the application useful.
On viewing the source code for your form I can see that you have used tables, font tags etc to lay it out. I think your easiest option is to add your table code into your form.
If you log into sc_admin and go to the "contact fields" page, you will see in the menu that you can add what I have called "HTML snippets" to your form. These are containers for whatever HTML you want to insert. You can have as many as you want, and place them wherever you want - you will probably need to add several to your form.
You may need to tweak either your HTML or the screen.css file to get the desired effect.
Posted 1 year ago # -
I just took the <form>...</form> code out of the contact page and put it in my existing page. Included the required includes in the header and it works like magic.
Great program! Alex. Thanks.
Posted 1 year ago # -
Thanks!
In some cases, you can enter PHP code into an HTML file and it will be executed. I don't normally advise this because it is dependent on the host's server configuration (it is not a default setting) and may not be possible for all users.
If you are hosted on an Apache server, create a .htaccess file with the following code (or add it to the file if it already exists):
AddHandler application/x-httpd-php .php .html .htmIf your server supports PHP5, you should use this instead:
AddHandler application/x-httpd-php5 .php .html .htmPosted 1 year ago #
Reply
You must log in to post.