![]() |
Adding a form to a static page.
Hello,
I am using EternalMart Form Processor Pro and I would like to add a form to a static page. According to the instructions I need to add this include code, Code:
<?php include_once('/home/virtual/site1/fst/var/www/html/emformpro/emform_include.php');?> Code:
<?php print get_emform_form("","myform");?> My question is, where would I need to put the include and would I be able to just put Code:
<?php print get_emform_form("","myform");?> Thanks |
Re: Adding a form to a static page.
Did you try enclosing your php inside a smarty tag?
Code:
{php} |
Re: Adding a form to a static page.
Quote:
I,ll give that a try now and let you know. I tryed putting the include in home.php and then adding the form call to a static page but that did't work. |
Re: Adding a form to a static page.
Quote:
Unfortunately that did not work. All the static page displayed was {php} {/php} |
Re: Adding a form to a static page.
did you enable "Parse Smarty tags in the content of embedded pages" ?
|
Re: Adding a form to a static page.
Quote:
Code:
{php} |
Re: Adding a form to a static page.
I am able to get it to display/work fine using an Iframe.
Code:
<IFRAME border=0 name=emformpro align=center marginWidth=1 marginHeight=1 src="/emformpro/emform.php?formname=jute_quotes" frameBorder=0 width=100% scrolling=no height=700> Thanks |
Re: Adding a form to a static page.
when using the php tags in smarty, you dont need to add <?php ?>
so {php} <?php include_once('/emformpro/emform_include.php');?> <?php print get_emform_form("","jute_quotes");?> {/php} should be {php} include_once('/emformpro/emform_include.php'); print get_emform_form("","jute_quotes"); {/php} |
Re: Adding a form to a static page.
Quote:
When I try that using, Code:
<table width="600" border="0" cellspacing="0" cellpadding="0"> So far the only way I can get it to work is using a Iframe, but there must be a better way. Thanks |
Re: Adding a form to a static page.
try taking out "/home/virtual/site1/fst/var/www/html" in the include so it matches the same src in your iframe
|
Re: Adding a form to a static page.
Quote:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
Re: Adding a form to a static page.
Just wanted to say EternalMart was able to get this to work with product pages and static pages. I must say that this company has went way above the call of duty to get EternalMart Form Processor Pro to integrate almost seemlessly into xcart.
Here are some of the features you get with EternalMart Form Processor Pro, Quote:
If you need to add a form or forms on your site, I think you would do well to check out EternalMart Form Processor Pro |
Re: Adding a form to a static page.
Would you mind sharing how to integrate this form processor into xcart? Thanks.
|
Re: Adding a form to a static page.
Quote:
You should be able to do the install (as per form installation instructions) and then just call the form you create in a static page. I actually quit using this form processor because I did not really need the database set-up. If you get stuck at all let me know and I will try and help. |
All times are GMT -8. The time now is 01:12 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.