Hi - I'm using OC2.3 and Journal Framework and I just need to find a way to enable some CSS if the customer is logged in. I'm not well versed in the controller area and my trial & error with this is more error than anything.
Any tips would be appreciated!
Thank you!
Hi,
In this file:
Add before </head>:
Then clear your caches.
In this file:
Code: Select all
catalog\view\theme\your-theme\template\common\header.tpl
Code: Select all
<?php if ($logged) { ?>
<style>
body {background: black;}
</style>
<?php } ?>
Thank you! I was making it much more complicated than it needed to be apparently!! That worked and I appreciate your time.
Who is online
Users browsing this forum: No registered users and 91 guests