View Single Post
  #5  
Old 10-28-2005, 04:01 AM
 
pablo pablo is offline
 

Member
  
Join Date: Aug 2005
Posts: 27
 

Default

Thanks, do these need to match then with the ones in the duplicate template:
customer/main/send2friend.tpl

perhaps in the Array at the top:

Code:
var requiredFields = new Array(); requiredFields[0] = new Array('send_name', "{$lng.lbl_send_your_name|strip_tags|replace:'"':'\"'}", false); requiredFields[1] = new Array('send_from', "{$lng.lbl_send_your_email|strip_tags|replace:'"':'\"'}", false); requiredFields[2] = new Array('send_to', "{$lng.lbl_sent_recipient_email|strip_tags|replace:'"':'\"'}", false);

I presume I need to remove the last one, as I am not asking for this to be inputted anymore?

Further, I am presuming in:
customer/home_main.tpl

I need to make this:

{elseif $main eq "send_to_friend2"}
{include file="customer/main/send_to_friend2.tpl"}

but am not sure how this ties in with the php, ie how is this $main variable defined?
__________________
Version 5.3
Reply With Quote