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

Change field (if not present, leave blank )

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-07-2005, 08:32 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default Change field (if not present, leave blank )

I am trying to find and modify this field (if not present, leave blank )the one next to valid from and Issue number ,inside credit information box.
I was looking in register_ccinfo.tpl but is not there.
Any idea where I can find it and modify it ?

Thanks
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
  #2  
Old 02-07-2005, 08:47 AM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: Change field (if not present, leave blank )

Quote:
Originally Posted by Isleman
I am trying to find and modify this field (if not present, leave blank )the one next to valid from and Issue number ,inside credit information box.
I was looking in register_ccinfo.tpl but is not there.
Any idea where I can find it and modify it ?

Thanks

Better look closer, this is the right tpl to edit for this info
__________________
vs 4.1.12
Reply With Quote
  #3  
Old 02-07-2005, 10:24 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default

I think this the field where I should find the information.
But I can't find this (if not present, leave blank ) in order to modify it


{if $config.General.uk_oriented_ccinfo eq "Y"}
<tr valign=middle>
<td align=right>{$lng.lbl_cc_issueno}</td>
<td></td>
<td nowrap>
<input type=text name=card_issue_no size=4 maxlength=2 value="">
</td>
<td></td>
<td>{$lng.lbl_cc_leave_empty}</td>
</tr>
{/if}
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
  #4  
Old 02-07-2005, 10:33 AM
 
balinor balinor is offline
 

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

Default

Yep, you are looking right at it...it is this label:

{$lng.lbl_cc_leave_empty}

Just remove it or comment it out.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 02-07-2005, 10:48 AM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

to remove issue number:

Code:
<TD align="right">{$lng.lbl_cc_issueno}</TD> <TD></TD> <TD nowrap> <INPUT type="text" name="card_issue_no" size="4" maxlength="2" value=""> </TD> <TD></TD> <TD>{$lng.lbl_cc_leave_empty}</TD>

and to remove valid from:

Code:
<TD align="right">{$lng.lbl_cc_validfrom}</TD> <TD></TD> <TD nowrap> {html_select_date prefix="card_valid_from_" display_days=false start_year="-5" end_year="+4"} </TD> <TD></TD> <TD>{$lng.lbl_cc_leave_empty}</TD>
__________________
vs 4.1.12
Reply With Quote
  #6  
Old 02-07-2005, 10:56 AM
 
Isleman Isleman is offline
 

Senior Member
  
Join Date: Jan 2005
Location: UK
Posts: 128
 

Default

It is working now. I was expecting to see the same text as in html . I forgot this is PHP
Thanks a lot
__________________
X-Cart ver. 4.4.2 ( www.responseelectronics.com )
X-Cart ver. 4.1.11 ( www.mrdoorbell.com)
Reply With Quote
  #7  
Old 02-07-2005, 10:58 AM
 
balinor balinor is offline
 

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

Default

That is actually Smarty. If you use Webmaster Mode, not only can you find what template that is in, but you can edit it on the fly
__________________
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 01:17 PM.

   

 
X-Cart forums © 2001-2020