Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I remember doing this a while ago with something along the lines of:
<?php if ($account->uid > 0) : ?>Logged in.<?php endif; ?>
but that doesn't seem to work inside of contemplate. Is it possible to use variables of this sort in contemplate?
Comments
Comment #1
jrglasgow CreditAttribution: jrglasgow commentedyou make the
$user
variable global and check that