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.
By bali on
I have an intranet site which is only accessible to registered users and which uses the xtemplate theme. My problem is that xtemplate's secondary links, which contain taxonomy_dhtml links, are accessible even if the user hasn't logged in yet.
An easy solution would be to 'wrap' the secondary links HTML in an authentication check, in such a way that the secondary links are only displayed when the user has successfully logged in. Can this be done?
TIA, Lieven
Comments
Never mind
I've solved the 'problem' by transforming the referenced pages to PHP pages and using
to validate authentication of the user.