Allow sitewide, user or hostname specified default pages


This plugin makes the Default frontpage configurable -
  1. any time a user goes to https://nats-www.informatik.uni-hamburg.de/bin/view they will be shown the topic configured
by the Foswiki administrator in {HomePagePlugin}{SiteDefaultTopic} in the Extensions section of configure.
  1. if GotoHomePageOnLogin is set, when a user logs in, they will be shown the topic specificed in their UserForm

Additionally, there is now an EXPERT setting that allows you to set different frontpages for each domain or protocol, which means you could define a hostname per web

    'http://home.org.au' => 'Homeorgau',
    'http://www.home.org.au' => 'Homeorgau',
    'http://dowideit.org' => 'Blog',
    'http://www.dowideit.org' => 'Blog',
    'https://dowideit.org' => 'Secure',

    'http://download.foswiki.org' => 'Download',
    'http://tasks.foswiki.org' => 'Tasks',
    'http://development.foswiki.org' => 'Development',
    'http://extensions.foswiki.org' => 'Extensions',
    'http://community.foswiki.org' => 'Community',
    'http://support.foswiki.org' => 'Support',
    'http://Sven.foswiki.org' => 'Main.SvenDowideit',

TemplateLogin configurable HomePage on login

The Admin can also configure {HomePagePlugin}{GotoHomePageOnLogin} so Foswiki shows user's HomePage (from the UserForm field in their User topic. (WikiGuest is set to : nothing)) when they log in (makes sense if users have personalised home pages.) Note that this means that any URL's emailed to them will only be useful after login.

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.


Many thanks to the following sponsors for supporting this work:
  • Created for Blackfin inc.

Author(s): Foswiki:Main.SvenDowideit
Copyright: © 2009 SvenDowideit@fosiki.com - http://fosiki.com
License: GPL (Gnu General Public License 3)
Version: 1340
Change History:  
1 Aug 2009 fix bug in login screen usage
July 2009 add Expert hash allowing domain name based frontpage setting
Feb 2009 initial version
Dependencies: None
Home page: http://foswiki.org/bin/view/Extensions/HomePagePlugin

-- TimoBaumann - 12 Oct 2015

Copyright � by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback