Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

looking for a bit of help adding a form

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-26-2008, 05:56 AM
 
fotodog13 fotodog13 is offline
 

Senior Member
  
Join Date: Sep 2007
Posts: 126
 

Default looking for a bit of help adding a form

Hi All,

I am looking for a little bit of help adding a form to a static page. Admittedly not a programmer thing I am close but missing something.

I have searched the forums and found some post about this but am still having some problems getting the form to appear. This is what I have done.

I created a new static page
In the general settings section I have enabled smarty tags in the embedded pages.

I have found a form that I have used before on other sites ( non-xcart) I have added this to the root
called gbcf-v3

On my embedded page I have a bit of text then at the end added
{php}
include_once("gbcf-v3/form.php");

{/php}
to call the form and I get nothing

If I change it to
include_once("gbcf-v3/gbcf-v3/form.php");

The form outline appears but it is blank and I get a message that says
Installation Error: The functions file, functions.php, does not exist or cannot be found!
if I look in gbcf-v3 on the server ( ftp) I see that this file is in there

Is there something I am doing wrong here to get this form to appear on this embedded page.

As always any and all help is greatly appreciated I have been screwing around with this for too long now and am thinking it is something simple that I am overlooking and I am hoping a new set of eyes will point my error(s) out

Thanks

Best

Scott V
4.1.11 gold
Apache
__________________
scott v
x cart version 4.1.8 (Unix)
Reply With Quote
  #2  
Old 11-26-2008, 04:49 PM
 
nomonkeybiz nomonkeybiz is offline
 

Advanced Member
  
Join Date: Sep 2006
Posts: 64
 

Default Re: looking for a bit of help adding a form

Move the gbcf-v3 directory in the second level to the root.
__________________
v4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:46 PM.

   

 
X-Cart forums © 2001-2020