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

Creating Additional Forms in Static pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-07-2006, 06:02 AM
 
stickygoblin stickygoblin is offline
 

Advanced Member
  
Join Date: Apr 2006
Location: Gloucester, UK
Posts: 34
 

Default Creating Additional Forms in Static pages

Hi all

Having some trouble creating a form in a static page through the edit area in administration.

I have built the form in html and ported it across into the static page (just the form portion of the page and the styles).

If anyone has managed to create a new form or knows how to do it i would be most grateful as i have been searching for some time for a solution.

thanks

sticky..
__________________
X-cart custom design and implementation specialists based in the UK

X-Cart Version :: 4.1.9
Running on :: Linux 9.3 with Plesk 8.2
Webserv :: Apache Tomcat 4.1.24-full.2jpp
mySQL :: 4.1.20
PHP :: 5

http://www.19dozen.com
http://www.a1automodels.com
http://www.norinse.co.uk
http://www.akw-medicare.com
http://www.akw-medicare.eu
http://www.ironmongery2u.com
http://www.carperformanceuk.co.uk
Reply With Quote
  #2  
Old 08-07-2006, 06:10 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default

Forget the fact you are using x-cart, just add a php or a cgi form like you would a normal website. Or any technology that you want that your server supports.

It can be done quite easily then, e.g.
http://www.japangarden.co.uk/pages.php?pageid=41
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 08-07-2006, 06:17 AM
 
stickygoblin stickygoblin is offline
 

Advanced Member
  
Join Date: Apr 2006
Location: Gloucester, UK
Posts: 34
 

Default

Thanks for the swift response.

Cany you direct the form through the existing site or would you create an addtional cgi / php script to handel that form directly.

Is there any way to direct the form through the main contact form?

thanks
__________________
X-cart custom design and implementation specialists based in the UK

X-Cart Version :: 4.1.9
Running on :: Linux 9.3 with Plesk 8.2
Webserv :: Apache Tomcat 4.1.24-full.2jpp
mySQL :: 4.1.20
PHP :: 5

http://www.19dozen.com
http://www.a1automodels.com
http://www.norinse.co.uk
http://www.akw-medicare.com
http://www.akw-medicare.eu
http://www.ironmongery2u.com
http://www.carperformanceuk.co.uk
Reply With Quote
  #4  
Old 08-07-2006, 06:22 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default

Personally I add new scripts and reference them from the Form tag.

I don't really see how you can do it through the existing contact form. If you have searched this forum and found nothing else, I would suggest that after all this time and with millions of users, it cannot be done that way.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #5  
Old 08-07-2006, 06:41 AM
 
stickygoblin stickygoblin is offline
 

Advanced Member
  
Join Date: Apr 2006
Location: Gloucester, UK
Posts: 34
 

Default

again thanks for your help - i will head off down the line of creating the form and .

many thanks

Sticky
__________________
X-cart custom design and implementation specialists based in the UK

X-Cart Version :: 4.1.9
Running on :: Linux 9.3 with Plesk 8.2
Webserv :: Apache Tomcat 4.1.24-full.2jpp
mySQL :: 4.1.20
PHP :: 5

http://www.19dozen.com
http://www.a1automodels.com
http://www.norinse.co.uk
http://www.akw-medicare.com
http://www.akw-medicare.eu
http://www.ironmongery2u.com
http://www.carperformanceuk.co.uk
Reply With Quote
  #6  
Old 08-08-2006, 08:51 AM
 
stickygoblin stickygoblin is offline
 

Advanced Member
  
Join Date: Apr 2006
Location: Gloucester, UK
Posts: 34
 

Default

Hi again

I've created the form and run it through a formmail script, it all works fine, i even setup custom error pages and a thankyou page. The only problem is that i now have all three pages in the help menu at the right hand side, is there a way of not haveing the error and thankyou page listed there without completley stopping access to the files for the forms?

thanks again

Sticky
__________________
X-cart custom design and implementation specialists based in the UK

X-Cart Version :: 4.1.9
Running on :: Linux 9.3 with Plesk 8.2
Webserv :: Apache Tomcat 4.1.24-full.2jpp
mySQL :: 4.1.20
PHP :: 5

http://www.19dozen.com
http://www.a1automodels.com
http://www.norinse.co.uk
http://www.akw-medicare.com
http://www.akw-medicare.eu
http://www.ironmongery2u.com
http://www.carperformanceuk.co.uk
Reply With Quote
  #7  
Old 08-08-2006, 09:04 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default

The easiest thing would be to remove the loop from the menu and just hard code the static pages that you do want. Of course if you are going to add lots more pages in the future you are going to have to hard code them all.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
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 04:46 AM.

   

 
X-Cart forums © 2001-2020