Author Topic: Change template when logged in  (Read 3415 times)

Offline rscataran

  • Occasional poster
  • *
  • Posts: 4
    • View Profile
Re: Change template when logged in
« on: October 26, 2016, 01:49:01 AM »
This is the work around I did.

I set the default template in HFS.

then on the events I added

Code: [Select]
[+request]
{.load tpl|themes/Live-3.0.1.tpl.}
[+request]
{.if|%user%|{: {.load tpl|hfs.tpl.} :}.}

It seems that the default template needs to load first before using it in {.load tpl.} to get the correct effect.
« Last Edit: October 26, 2016, 01:56:54 AM by rscataran »

Follow members gave a thank to your post: