Hello
I use the modern theme
I have a livechat button on the header and i want to parse informations in my template
This is the livechat button :
<!-- http://www.LiveZilla.net Chat Button Link Code --><a href="[removed]void(window.open('http://xxxxxx.fr/livezilla.php?code=BOUTIQUE&amp;en=<!!CUSTOMER NAME!!>&ee=<!!!CUSTOMER EMAIL!!>.........
I need to replace and to the name and the email of the user (if logged)
The button is in the header of my homepage
How do i echo this two informations ?
I tried
<?php echo $this->htmlEscape($this->getCustomer()->getName()) ?>
but didn’t work :
Fatal error: Call to a member function getFirstname() on a non-object in /home/xxx/public_html/app/design/frontend/default/modern/template/page/html/header.phtml on line 36