Torsten Högel
New Member
Hey there,
I wanted to embed Intercom into the customer layout.
I used the code:
<?php echo ($fullName = Yii::app()->customer->getModel()->getFullName()) ? CHtml::encode($fullName) : Yii::t('app', 'Welcome');?>
for inputting the name into the variable, but I can't seem to get the email shown in a similar way... do I have to create a ruction, or is there an easier way?
P.S.: I've searched in the profile layout because the email of the customer is shown there, but with no luck...
I wanted to embed Intercom into the customer layout.
I used the code:
<?php echo ($fullName = Yii::app()->customer->getModel()->getFullName()) ? CHtml::encode($fullName) : Yii::t('app', 'Welcome');?>
for inputting the name into the variable, but I can't seem to get the email shown in a similar way... do I have to create a ruction, or is there an easier way?
P.S.: I've searched in the profile layout because the email of the customer is shown there, but with no luck...