View Single Post
  #1  
Old 09-04-2010, 05:42 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default {include file=...} with extra class

Hi, I am trying to move the 'Send to friend' button down a little, in customer/main/send_to_friend.tpl.

I know that line 55 creates the button:


Code:
{include file="customer/buttons/button.tpl" type="input" button_title=$lng.lbl_send_to_friend}

I was wondering if there was a way to 'insert' a class here, such as

Code:
{include file="customer/buttons/button.tpl" type="input" button_title=$lng.lbl_send_to_friend class="send_to_friend"}

(Obviously that doesn't work or I wouldn't be asking!)

I know I could make a 'button2.tpl' and copy button.tpl, then change the CSS for that, but I thought it might be better to just add in a class - if it's possible. Does anybody know how this is done?

Many thanks in advance.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote