| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding a form to a static page. | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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:
Code:
My question is, where would I need to put the include and would I be able to just put Code:
Thanks |
|||||||||
#2
|
|||||||
|
|||||||
Re: Adding a form to a static page.
Did you try enclosing your php inside a smarty tag?
Code:
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||||
|
|||||||||
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. |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Adding a form to a static page.
Quote:
Unfortunately that did not work. All the static page displayed was {php} {/php} |
|||||||||
#5
|
|||||||
|
|||||||
Re: Adding a form to a static page.
did you enable "Parse Smarty tags in the content of embedded pages" ?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Adding a form to a static page.
Quote:
Code:
|
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Adding a form to a static page.
I am able to get it to display/work fine using an Iframe.
Code:
Thanks |
|||||||||
#8
|
|||||||
|
|||||||
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} |
|||||||
#9
|
|||||||||
|
|||||||||
Re: Adding a form to a static page.
Quote:
When I try that using, Code:
So far the only way I can get it to work is using a Iframe, but there must be a better way. Thanks |
|||||||||
#10
|
|||||||
|
|||||||
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
|
|||||||
|
|||
X-Cart forums © 2001-2020
|