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

Editing contactus.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-01-2005, 09:19 PM
 
leafy leafy is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 6
 

Default Editing contactus.tpl

I am a relative newbie to PHP and I am struggling to make changes to the Contact Us form via contactus.tpl

Whenever I delete an entire row containing a field or remove an "If" statement the form will not process.

Does anyone know where I should be making changes to code to remove mandatory fields as I am only used to doing this in html?

Cheers guys
__________________
X-Cart version 3.5.11
PHP 4.3.10
MySQL server 3.23.54
MySQL client 4.0.12
Web server Apache/1.3.33 (Unix)
Operation system FreeBSD
Perl 5.00503
Reply With Quote
  #2  
Old 08-01-2005, 11:50 PM
 
leafy leafy is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 6
 

Default Found the answer

Hi again

Isn't always the way when you ask for help you find the answer yourself a few minutes later?

Found by editing help_tpl that the obligatory fields can be removed.

Thanks to those that were thinking about it.

__________________
X-Cart version 3.5.11
PHP 4.3.10
MySQL server 3.23.54
MySQL client 4.0.12
Web server Apache/1.3.33 (Unix)
Operation system FreeBSD
Perl 5.00503
Reply With Quote
  #3  
Old 08-02-2005, 03:05 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Actually the easier way is to use the General Settings/Contact Us options
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 08-02-2005, 03:27 AM
 
leafy leafy is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 6
 

Default

Hi Padraic

My version 3.5.11 of Xcart Pro doesn't have this option in the general settings dropdown.

Maybe it's time for an upgrade!

Cheers

Ian
__________________
X-Cart version 3.5.11
PHP 4.3.10
MySQL server 3.23.54
MySQL client 4.0.12
Web server Apache/1.3.33 (Unix)
Operation system FreeBSD
Perl 5.00503
Reply With Quote
  #5  
Old 08-02-2005, 03:29 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Ahhh...please put your X-Cart version in your signature...will help to avoid problems like this in the future
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 08-02-2005, 03:32 AM
 
leafy leafy is offline
 

Newbie
  
Join Date: Aug 2004
Posts: 6
 

Default

Thanks for the tip

duly added
__________________
X-Cart version 3.5.11
PHP 4.3.10
MySQL server 3.23.54
MySQL client 4.0.12
Web server Apache/1.3.33 (Unix)
Operation system FreeBSD
Perl 5.00503
Reply With Quote
  #7  
Old 08-02-2005, 03:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Close...but we still need the actual VERSION...i.e. 3.5.11. Thanks
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:59 AM.

   

 
X-Cart forums © 2001-2020