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

How to add product name to "Send to a friend" title bar?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-12-2007, 05:48 AM
 
PuroPlacer PuroPlacer is offline
 

Advanced Member
  
Join Date: Jan 2007
Location: Marbella, Spain
Posts: 61
 

Default How to add product name to "Send to a friend" title bar?

Does anyone know how to add product name to the "Send to a friend" title bar?. I need to display the product name as well as the tittle/lable "Send to a friend"
__________________
PuroPlacer
X-Cart version
X-Cart Pro 4.1.5
Reply With Quote
  #2  
Old 03-12-2007, 05:53 AM
 
balinor balinor is offline
 

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

Default Re: How to add product name to "Send to a friend" title bar?

The send to friend form is on the product page, so the product name is already there...not sure what you mean?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-12-2007, 06:46 AM
 
PuroPlacer PuroPlacer is offline
 

Advanced Member
  
Join Date: Jan 2007
Location: Marbella, Spain
Posts: 61
 

Default Re: How to add product name to "Send to a friend" title bar?

What I want is to display the product name next to the "Send to a Friend" title.
__________________
PuroPlacer
X-Cart version
X-Cart Pro 4.1.5
Reply With Quote
  #4  
Old 03-13-2007, 04:46 AM
 
PuroPlacer PuroPlacer is offline
 

Advanced Member
  
Join Date: Jan 2007
Location: Marbella, Spain
Posts: 61
 

Default Re: How to add product name to "Send to a friend" title bar?

OK, Once you are on the product page, you have at the bottom the "Send to a friend" title and the text fields. Next to that the "Send to a Frien" title I want to also display the name of the product. I hope it makes sense now.
__________________
PuroPlacer
X-Cart version
X-Cart Pro 4.1.5
Reply With Quote
  #5  
Old 03-14-2007, 06:15 AM
 
PuroPlacer PuroPlacer is offline
 

Advanced Member
  
Join Date: Jan 2007
Location: Marbella, Spain
Posts: 61
 

Default Re: How to add product name to "Send to a friend" title bar?

Anyone?
__________________
PuroPlacer
X-Cart version
X-Cart Pro 4.1.5
Reply With Quote
  #6  
Old 03-15-2007, 01:27 AM
  Ene's Avatar 
Ene Ene is offline
 

X-Cart team
  
Join Date: Aug 2004
Posts: 907
 

Default Re: How to add product name to "Send to a friend" title bar?

Quote:
Originally Posted by PuroPlacer
Anyone?

Please edit <xcart_root_dir>/skin1/customer/main/send_to_friend.tpl template and replace:

HTML Code:
{include file="dialog.tpl" title=$lng.lbl_send_to_friend content=$smarty.capture.dialog extra='width="100%"'}

with

HTML Code:
{include file="dialog.tpl" title="`$lng.lbl_send_to_friend` information about `$product.product` product" content=$smarty.capture.dialog extra='width="100%"'}

P.S. Embedding Vars in Double Quotes
__________________
Eugene Kaznacheev,
Evangelist/Product Manager at Ecwid: http://www.ecwid.com/ (since Sept 2009)

ex-Head of X-Cart Tech Support Department
ex- X-Cart Hosting Manager - X-Cart hosting
ex-X-Cart Technical Support Engineer


Note: For the official guaranteed tech support services please turn to the Customers HelpDesk.
Reply With Quote
  #7  
Old 03-16-2007, 05:55 AM
 
PuroPlacer PuroPlacer is offline
 

Advanced Member
  
Join Date: Jan 2007
Location: Marbella, Spain
Posts: 61
 

Default Re: How to add product name to "Send to a friend" title bar?

Ene thanks a bunch!

Actually, I´ve applied the same code for other templates and it worked too!
__________________
PuroPlacer
X-Cart version
X-Cart Pro 4.1.5
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 03:40 PM.

   

 
X-Cart forums © 2001-2020