On my site I have two front pages:
- node/31, for anonymous users
- calendar-node-field-journal-date/month, for logged in users
When a users clicks on the front page (which is rendered as
$front_page in my
page.tpl.php file), I want them to be taken to the appropriate front page.
However, if a logged in user goes to
node/31 directly (e.g. by not clicking on the front page link) they should still be able to see the node (and not be re-directed).
After researching, I've found Rules is the best way to do this and there are instructions here.
However, this re-directs logged in users when they visit
node/31. How can I get the Rule to only run when the user clicks on the
$front_page link and not on the direct
I don't want to set it up via my theme, as I am sharing the theme on a multi-site. I also don't really want to install other modules, as I am already using Rules for other things.