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

Add Dr. title to contact us tpl in 3.5 ?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-07-2005, 06:48 PM
 
K.C. K.C. is offline
 

Member
  
Join Date: Jan 2005
Posts: 27
 

Default Add Dr. title to contact us tpl in 3.5 ?

I found the contactus.tpl but I don't understand how to add Dr. to the list of titles available.

It appears that this is the section of the code.

<tr valign=middle>
<td class=FormButton>{$lng.lbl_title}</td>
<td><font class=Star>*</font></td>
<td nowrap>
<select name=title>
{section name=title loop=$name_titles}
<option {if $userinfo.title eq $name_titles[title]}selected{/if}>{$name_titles[title]}</option>
{/section}
</select>
</td>
</tr>
__________________
3.5.14
Reply With Quote
  #2  
Old 03-07-2005, 10:49 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

have a shufty in config.php
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #3  
Old 03-08-2005, 05:53 PM
 
K.C. K.C. is offline
 

Member
  
Join Date: Jan 2005
Posts: 27
 

Default

Quote:
Originally Posted by cotc2001
have a shufty in config.php

I have absolutely no idea what that means.
__________________
3.5.14
Reply With Quote
  #4  
Old 03-08-2005, 06:28 PM
 
x-online x-online is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Australia, Sydney
Posts: 189
 

Default

on the root folder, find config.php
open it... and find

Code:
# # Defined Titles # $name_titles = array("Mr.","Mrs.","Ms."); $smarty->assign("name_titles",$name_titles);

change from:
Code:
$name_titles = array("Mr.","Mrs.","Ms.");
to
Code:
$name_titles = array("Mr.","Mrs.","Ms.","Dr.");

Done
__________________
X-Cart version 4.x (Most likely will be the latest version)
Reply With Quote
  #5  
Old 03-08-2005, 06:36 PM
 
K.C. K.C. is offline
 

Member
  
Join Date: Jan 2005
Posts: 27
 

Default

Thank you very much!!
__________________
3.5.14
Reply With Quote
  #6  
Old 04-24-2005, 02:27 PM
 
D.Thornley@salford.ac.uk D.Thornley@salford.ac.uk is offline
 

Member
  
Join Date: Mar 2005
Posts: 22
 

Default

Thanks again .... this applies in version 4.0.12 also ...
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 09:26 PM.

   

 
X-Cart forums © 2001-2020