Question
Whenever I enter my Wiki, I will land on
Main. Instead I would like to initially land on an own web which I created myself. Could not find the place to change this. Can somebody help?
- TWiki version: 01 Feb 2003 (upgraded from 01 Dec 2001)
- Perl version: v5.6.1 built for i586-linux
- Web server & version:
- Server OS: i586-linux
- Web browser & version:
- Client OS: NT 4.0
--
JoergBieri - 16 May 2003
Answer
May be misunderstand something, but isn't this simply a question of creating a link to your
.../bin/view/Entryweb/WebHome topic instead of
.../bin/view/Main/WebHome? Also, if you omit the web, e.g.
.../bin/view, you will end up in the Main web, or the web specified by the
$mainWebname setting in
TWiki.cfg. However, if you change the
$mainWebname setting it will affect all
%MAINWEB% variables.
--
PeterThoeny - 17 May 2003
I know this is not my question but I now have three different twiki's running and I find that I am nervous of changing the Mian web but I want to navigate to a welcome web which is not main usinf .../twiki/bin/view I have got round it by using a feature of the Koala Skin but would like to have an Entryweb Variable which means Main get left untouched but the entry point is different.
--
MartinRoberts - 19 May 2003
Peter, I was hopping to find an easier way to solve my problem. As it looks like I would have to change the
%MAINWEB% variable, I added an enhancement request for an
%ENTRYWEB% variable (or an similar entry in the
TWiki.cfg) as Martin mentioned.
--
JoergBieri - 26 May 2003
To do this you must change 2 things:
- Fix the skin "link to home page" to your %ENTRYWEB. You found it for KoalaSkin, This is a site-wide preference var %WIKILOGOURL
- For your web server, fix redirections so that when people go to $defaultUrlHost/wiki_dir and $defaultUrlHost/$scriptUrlPath they are redirected to %ENTRYWEB
- For apache, it means declarations such as these (if wiki is on the URL /wiki on my machine: quoll.ilog.fr, where my %ENTRYWEB is Test)
--
ColasNahaboo - 27 May 2003
Thank you Colas for this clever hack - but this is a hack. Proper way will be to have separate webs: Main as entry point, and User for twiki-related system info about users. No amount of hacking will cover this design deficiency. And it is recurring, many new Twiki admin are repeatedly asking for the same thing - nice entry point into Twiki.
I know it's not your fault, Colas - but what you proposed is root-level changes way above skill level of many Twiki admins, instead of adding simple variable (which might have same value as MAINWEB and will be no difference for old installations).
--
PeterMasiar - 27 May 2003