View Single Post
  #10  
Old 02-14-2005, 09:02 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

Quote:
Originally Posted by Ryano
DO'OH! lol No I didn't. I didn't know where to copy that part. Wasn't sure what the label would be called that goes in the popup? I uploaded the images to the images folder, but they aren't showing up in the popup. Do I need to do something else with them besides upload them? I can post the coding for all of what I have done if you need it. Thanks a lot Mark.

This is the code from the new version of the register_ccinfo.tpl we are speaking of.

Code:
{if $payment_cc_data.disable_ccinfo eq "N" || ($payment_cc_data.disable_ccinfo eq "" && $config.General.enable_manual_cc_cvv2 eq 'Y')} <TR valign="middle"> <TD align="right">{$lng.lbl_cc_cvv2}</TD> <TD><FONT class="Star"><SPAN id="cvv2_star">{if $config.General.check_cc_number eq "Y" || $smarty.get.mode eq 'checkout'}*{else}{/if}</SPAN></FONT></TD> <TD nowrap colspan="3"> {if #safeCCNum# eq ""} <TABLE cellspacing="0" cellpadding="0" border="0"> <TR> <TD valign="middle"><INPUT type="text" name="card_cvv2" size="4" maxlength="4" value="{if $smarty.get.err eq 'fields'}{$userinfo.card_cvv2}{/if}"></TD> <TD valign="middle">{include file="main/popup_help_link.tpl" section="cvv2"}</TD> {if $smarty.get.err eq 'fields' && $userinfo.card_cvv2 eq ''} <TD><FONT class="Star">&lt;&lt;</FONT></TD> {/if} </TR> </TABLE> {else} {#safeCCcvv2#} <INPUT type="hidden" name="card_cvv2" value="{#safeCCcvv2#}"> {/if} </TD> </TR> {/if}

Now the tidbit of info we are adding here is:
Code:
<TD valign="middle">{include file="main/popup_help_link.tpl" section="cvv2"}</TD>

Now this is the popup_help_link.tpl:
Code:
{* $Id: popup_help_link.tpl,v 1.4.2.1 2004/11/23 10:48:56 max Exp $ *} {if $config.UA.platform eq 'MacPPC' && $config.UA.browser eq 'MSIE'} [img]{$ImagesDir}/question_button.gif[/img] {else} [img]{$ImagesDir}/question_button.gif[/img]{/if}

lbl_popup_help description and value is:
Code:
What is it?

You will need to copy over the popup_info.php into your xcart/include folder.

You will need to copy over the skin1/help/popup_info.tpl

It makes a reference to the skin1_admin.css, if you do not have this, it refers to your skin1.css.

Ensure you have dialog_message.tpl in skin1

Ensure you have skin1/main/error_page_not_found.tpl

Add lbl_close_window (self explanitory)

Copy over close.gif

And you will need the skin1/help/hlp_cvv2.tpl



Take a look into some of these files and see if there is another image you may need or another label.

This should get you well underway to the CVV2 pop world though.


Hope this helps, if there is something else, I will try to look into it for you, otherwise follow the yellow brick road to success!
__________________
vs 4.1.12
Reply With Quote