How can i have the regular magento welcome message display at the top bar?
when a user logs in it should say welcome + the user name.
Please advise me.
Thanks.
3 answers
Hi Jean,
Please try to input this code to place you want to show.
<p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p>
Hope it will help you.
Best Regards,
Ziven.
Hi There,
Please go to the file: app\design\frontend\gem\default\template\page\html\header.phtml and add the code
<p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p>
between line 29 -> 30.
It will like this.
<div id="jm-head"><p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p></div>
You will need to make some style for it show in the left.
Best Regards,
Ziven.