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

User filled in Contact Us form! - Subject matter

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-16-2006, 01:38 AM
 
donmck donmck is offline
 

Senior Member
  
Join Date: Dec 2005
Location: Australia
Posts: 137
 

Default User filled in Contact Us form! - Subject matter

Hi all,

I have been modifying my help_contact.tpl with reasonable success.
I even added the nice little IP address field that I found on this forum, to it.

What I would like to do is add the subject to the subject of the received email, but haven't figured it out yet.

I keep saying to myself, you would think this sort of thing would be default set.

Somewhat along the lines of:
User filled in Contact Us form! - Subject matter

thanks in advance.

Don...
__________________
Don McKenzie

http://www.dontronics-shop.com/
X-Cart 4.0.17 [Unix]

█ Hosting by www.totalserversolutions.com The very best home for your X-Cart. (was ewdhosting.com)
Reply With Quote
  #2  
Old 05-16-2006, 02:43 AM
 
balinor balinor is offline
 

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

Default

mail/help_contactus_subj.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-16-2006, 02:50 AM
 
donmck donmck is offline
 

Senior Member
  
Join Date: Dec 2005
Location: Australia
Posts: 137
 

Default

Quote:
Originally Posted by balinor
mail/help_contactus_subj.tpl

Thanks, however I had found that, and the only line with subject in it is below.

{$lng.lbl_subject|truncate:$max_truncate:"...":tru e|cat:":"|string_format:$max_space}{$contact.subje ct}

to me, this seems to print Subject: "whatever the subject is", and doesn't seem to be the line to add the subject to the subject line.

Cheers Don...
__________________
Don McKenzie

http://www.dontronics-shop.com/
X-Cart 4.0.17 [Unix]

█ Hosting by www.totalserversolutions.com The very best home for your X-Cart. (was ewdhosting.com)
Reply With Quote
  #4  
Old 05-16-2006, 02:52 AM
 
balinor balinor is offline
 

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

Default

You sure we are looking at the same template? Mine reads:

{config_load file="$skin_config"}{ $config.Company.company_name }: {$lng.eml_contact_us_subj}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-16-2006, 02:59 AM
 
donmck donmck is offline
 

Senior Member
  
Join Date: Dec 2005
Location: Australia
Posts: 137
 

Default

Quote:
Originally Posted by balinor
You sure we are looking at the same template? Mine reads:

{config_load file="$skin_config"}{ $config.Company.company_name }: {$lng.eml_contact_us_subj}

skin1, or the root directory Padraic?

haven't been able to find this code. I'll do a search for the text

Don...
__________________
Don McKenzie

http://www.dontronics-shop.com/
X-Cart 4.0.17 [Unix]

█ Hosting by www.totalserversolutions.com The very best home for your X-Cart. (was ewdhosting.com)
Reply With Quote
  #6  
Old 05-16-2006, 03:04 AM
 
balinor balinor is offline
 

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

Default

skin1...it is a tempalte not a php file
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 05-16-2006, 03:08 AM
 
donmck donmck is offline
 

Senior Member
  
Join Date: Dec 2005
Location: Australia
Posts: 137
 

Default

Quote:
Originally Posted by balinor
skin1...it is a tempalte not a php file

Apologies, found it and got it working, thanks very much indeed.

Cheers Don...
__________________
Don McKenzie

http://www.dontronics-shop.com/
X-Cart 4.0.17 [Unix]

█ Hosting by www.totalserversolutions.com The very best home for your X-Cart. (was ewdhosting.com)
Reply With Quote
  #8  
Old 06-12-2008, 08:42 AM
 
leagcyteam2 leagcyteam2 is offline
 

Member
  
Join Date: Aug 2005
Posts: 25
 

Default Re: User filled in Contact Us form! - Subject matter

DonMCK...how did you alter the CODE so that the actual CONTACT US FORM Subject appeared in the Email?

I am also trying to change it so each email SUBJECT LINE is custom to what the customer inputs in the Contact Us form.

Thanks!
__________________
4.1.9
Reply With Quote
  #9  
Old 12-15-2008, 03:25 PM
  sbrewer2000's Avatar 
sbrewer2000 sbrewer2000 is offline
 

Advanced Member
  
Join Date: Oct 2007
Location: Seattle, USA
Posts: 51
 

Default Re: User filled in Contact Us form! - Subject matter

This worked for me ...

Code:
{config_load file="$skin_config"}{$lng.eml_contact_us_subj {$contact.subject}
__________________
X-CART GOLD 4.1.9
kennellykeysmusic.com
americanmusic.com
Reply With Quote
  #10  
Old 08-05-2010, 11:14 AM
 
jmuise jmuise is offline
 

Newbie
  
Join Date: Jul 2009
Posts: 5
 

Default Re: User filled in Contact Us form! - Subject matter

{config_load file="$skin_config"}{$lng.eml_contact_us_subj} {$contact.subject}
This worked for me, I believe there was a curly bracket missing . . .
__________________
--
v4.1.12
AlteredCart - OnSale
2TC - AutoShip
BCS - Poll Mod
BCS - Refer a Friend/Points
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 10:12 AM.

   

 
X-Cart forums © 2001-2020