Hello!

xxxx

When you click the Support menu link in our menu bar as a non logged in user it gives an error :(

Is there a way to make something different happen for non-logged in users? eg display a different basic page for example?

Preferably without the need for a module.

Cheers!

Comments

yelvington’s picture

By default, Drupal's menu system won't show a link if the current user isn't allowed to view the page, but this looks like some other problem. That link is delivering a 404 (not found), not 403 (permission denied). How is your user/support page constructed? Is it a node? A view? A panels page?

To solve your core problem: Make your user/support page using Panels and use a role selector to apply a different variant for logged-in users. Same url, same link, different content.

simonDRPL2183’s picture

Thanks for your reply yelvington. It appears to be currently setup as a view. The link:

/user/support

actually redirects to the logged in user's support page eg:

user/12345/support

Could we 'tweak' the view at all? Rather than using another module?

Cheers