![]() |
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... |
maybe {$userinfo.login}
|
Quote:
Thanks Zaja, but no that didn't work. Cheers Don... |
Hmm..work fine for me, just tested... this is username input tag on 'Contact Us' page:
Code:
{$userinfo.login} |
Quote:
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... |
Try turning on x-cart debugging to see what variables are/aren't getting set.
|
Quote:
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... |
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... |
| All times are GMT -8. The time now is 07:07 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.