Loading...
 
Features / Usability

Features / Usability


Different Home Pages

posts: 7 Spain

Hi God biggrin

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 wink)

Also, when I set a Home Page in User Preferences is ignored, am I missing a setting?

Thanks

posts: 2881 United Kingdom

Hi! lol

This is something thats in 1.8 onwards. Under the admin groups is a new field for home page. I'm unsure of how much work this would be to get back into the 1.7 tree. Its something I can maybe look at for a 1.7.6 wink

Id need to look at code in order to decide on the amount of work involved here.

Damian


posts: 29 United States

D-
I have 1.8 and found in the tiki-admin.php?page=general page the checkbox "Use group homepages:" which I selected. Since I have been running the site for a while, I am not sure if it is too late, but when I go to the groups section under the admin menu, I still don't see a place to type in the URL of the group home page. All I see is name, desc, and groups belonging to that group. Do I have to just mod the tiki-index.php? or is this just a bug from the particular version that I am using (one of the CVSs after 1.8 rc3.)? Any advice would be appreciated.

Thanks
Matt


posts: 6
I have 1.8 and have put a wiki page name [examples 'umich', http://hostname/tiki-index.php?page=umich, umich] in the 'home page' field for various groups. No matter what I've tried, tiki will always user to the Home Page rather than the page designated in the group screen. Thanks in advance for your help..
posts: 2881 United Kingdom


Hi hunner, Have you looked at the checkbox in Admin->General for grouphomes?

> hunner:
> I have 1.8 and have put a wiki page name [examples 'umich', http://hostname/tiki-index.php?page=umich, umich] in the 'home page' field for various groups. No matter what I've tried, tiki will always user to the Home Page rather than the page designated in the group screen. Thanks in advance for your help..


posts: 2881 United Kingdom


Hi hunner, Have you looked at the checkbox in Admin->General for grouphomes?

> hunner:
> I have 1.8 and have put a wiki page name [examples 'umich', http://hostname/tiki-index.php?page=umich, umich] in the 'home page' field for various groups. No matter what I've tried, tiki will always user to the Home Page rather than the page designated in the group screen. Thanks in advance for your help..


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting