Re: Custom Home Page
Well, I guess I broke it again.
Now when I set the "Anonymous" group to "http://www.mydomain.org/tiki-custom_home.php" and then log off and access the basic site, I get the "you are not logged in" again.
And the breadcrumb is " Location : Mywebsite » http://www.mydomain.org/tiki-custom_home.php"
In other words, somehow "page" is getting set, and is set to "http://www.mydomain.org/tiki-custom_home.php", so the site's lib/setup/wiki.php page is automatically creating a wiki page called "http://www.mydomain.org/tiki-custom_home.php".
If I set the groups' home pages to something, then clear the cache and go somewhere else, when I come back to the group administration page, the home page field is empty. And the dbase entries are "NULL".
I'm getting pretty frustrated.
— Kat
Updated: I bowed to the inevitable and set up a "Welcome" wiki page, set its permissions to be accessible by everyone, and set it as the group home page for both "Anonymous" and "Registered". That seemed to solve the problem as to the behavior of "./" — now, instead of defaulting to the wiki home page, it defaults to another wiki page.
It seems, though, as if the system really is hard-coded to consider the wiki as its heart. The admin settings may appear to let you set some other page as home, but (at least in the case of setting it to "custom home"), the home page setting only applies to the top-most item in the breadcrumb bar. It doesn't apply to the user menu's "home" option, nor to the site logo's link to "home", both of which use "./" unless you override them*.
- For the menu, you have to go into the database into the menu options table and manually change the code. For the logo, you have to go into the "tiki-site_header_options.tpl" template and change it there. But once it's changed, that's what it'll be for EVERYONE, and will override any setup you do to, say, make different groups use different home pages.
So now I'm faced with the fact that the breadcrumb "home" can either be set to the home page of a feature (e.g., the wiki home page) or a custom page. I would really like it to be the Welcome page I set up, but there doesn't seem to be a way to set it to a specific wiki page.