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

Contact us "Username"

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

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

Default Contact us "Username"

getting "help_contactus.tpl" fine tuned, however I am having problems finding the Contact Us username tag.

Have tried:
{$contact.username}

any assistance appreciated.

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
  #2  
Old 05-16-2006, 02:39 PM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default

maybe {$userinfo.login}
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #3  
Old 05-16-2006, 02:43 PM
 
donmck donmck is offline
 

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

Default

Quote:
Originally Posted by Zaja
maybe {$userinfo.login}

Thanks Zaja,
but no that didn't work.

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, 03:09 PM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default

Hmm..work fine for me, just tested... this is username input tag on 'Contact Us' page:
Code:
{$userinfo.login}
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #5  
Old 05-16-2006, 04:34 PM
 
donmck donmck is offline
 

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

Default

Quote:
Originally Posted by Zaja
Hmm..work fine for me, just tested... this is username input tag on 'Contact Us' page:
Code:
{$userinfo.login}

yes correct. below is the start of the file I have there, and I have placed the message body first, followed by username, first name etc.

{* $Id: help_contactus.tpl,v 1.5.2.1 2005/05/16 11:58:52 max Exp $ *}
{* include file="mail/html/mail_header.tpl" *}

<TR>
<TD colspan="3">{$contact.body}</TD>
</TR>

<HR size="1" noshade>

<TABLE border="0" cellpadding="2" cellspacing="0">

<TR>
<TD>Username:</TD>
<TD></TD>
<TD>{$userinfo.login}</TD>
</TR>

<TR>
<TD>{$lng.lbl_first_name}:</TD>
<TD></TD>
<TD>{$contact.firstname}</TD>
</TR>


I simply don't get a return from this Username input tag.

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
  #6  
Old 05-16-2006, 09:11 PM
 
gaussboy gaussboy is offline
 

Member
  
Join Date: Mar 2006
Posts: 21
 

Default

Try turning on x-cart debugging to see what variables are/aren't getting set.
__________________
Version 4.0.18
Reply With Quote
  #7  
Old 05-16-2006, 09:54 PM
 
donmck donmck is offline
 

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

Default

Quote:
Originally Posted by gaussboy
Try turning on x-cart debugging to see what variables are/aren't getting set.

OK, never used debug mode before. I get a console much the same as in webmaster mode, which I have found handy. How do I invoke it to display variables?

Nothing about this on pages 308, 357, and 366 in the manual.

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 05-16-2006, 11:18 PM
 
donmck donmck is offline
 

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

Default

Just got onto x-cart about it.

would you believe:
{$contact.uname}

I did get a custom mod done on the contact page, as I wanted the emails to go to 4 different dept's, not one.

Perhaps they decided to change this tag on mine for some reason, but this works.

Thanks to everyone who offering assistance.
Case closed.

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
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 07:45 AM.

   

 
X-Cart forums © 2001-2020