Jump to content

Recognize logged Employee template


Recommended Posts

Hi all,

I need to recognize when a SuperAdmin is logged on every page (PS 1.6), to handle header calls and script. If possible I'll do that by editing the template tpl file header.tpl of the theme.

 

So, I've tried to assign new variable, something like that:

 

$supadmin->id_customer = (int)($this->context->cookie->id_customer)

 

but I can't figure out that problem.

 

 

 

Can anyone point me to the right direction?

Thanks in advance, best regards.

Link to comment
Share on other sites

×
×
  • Create New...