View Single Post
  #1  
Old 01-29-2006, 02:43 AM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default editing customer_details.tpl

Hi,

I tried to edit the customer_details.tpl

But everytime if I use html codes within it I get a smarty error.
Here is an example of the code which I'm using:

Code:
<table border="0" width="100%"> <tr><tr> <td bgcolor="F3F9F2">{$lng.lbl_personal_information} {if $userinfo.default_fields.firstname} {$lng.lbl_first_name}: {$userinfo.firstname} {/if} {if $userinfo.default_fields.lastname} {$lng.lbl_last_name}: {$userinfo.lastname} {/if} {if $userinfo.default_fields.phone} {$lng.lbl_phone}: {$userinfo.phone} {/if} {if $userinfo.default_fields.fax} {$lng.lbl_fax}: {$userinfo.fax} {/if} {if $userinfo.default_fields.email} {$lng.lbl_email}: {$userinfo.email} {/if} {if $userinfo.default_fields.url} {$lng.lbl_web_site}: {$userinfo.url} {/if} {foreach from=$userinfo.additional_fields item=v}{if $v.section eq 'C' || $v.section eq 'P'} {$v.title}: {$v.value} {/if}{/foreach}</td> <td bgcolor="F3F9F2">{$lng.lbl_additional_information}: {assign var=&quot;is_header&quot; value=&quot;Y&quot;}{/if} {$v.title}: {$v.value} {/if}{/foreach} </td> </tr>
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote