Different Home Pages
Hi God 😀
I want to show a different Home Page to users who are not logged in, because I don't want them to view the actual Home Page (they won't have perms)
I'm using 1.7.5, and I tried to add this to tiki-index.php (line 32)
if(!isset($user)){
$page=$_REQUEST%22page%22="HomePage";
else
$page=$_REQUEST%22page%22=$wikiHomePage;
But I only get Home Page displayed, even if you're logged, instead of, say, HomeIn, which is set as Wiki Home Page in Wiki settings.
I've tried also with !isset($_SERVER('PHP_AUTH_USER')) but no change (not with parenthesis)
Any idea? (what a stupid question 😉)
Also, when I set a Home Page in User Preferences is ignored, am I missing a setting?
Thanks