Question
I followed the installation instructions to add a Web for CPIA, creating an empty template/CPIA directory, an empty pub/CPIA directory, a data/CPIA directory and copying data/Main/Web*.txt. The permissions all match. I added the Web name to WIKIWEBLIST. However all URLs have %CPIAWEB%/WebHome instead of the expected CPIA/WebHome. What sets the %nameWEB% variable?
- TWiki version: 20001201
- Web server: Apache 1.3.19
- Server OS: Linux 2.2.18
--
TWikiGuest - 07 Apr 2001
Answer
Probably in your case you might want to make it a direct link with
CPIA.SomeRandomTopic, as the %nameWEB% variables are more to ease changes in renaming and such, however if you still want to go that route, you have a couple of ways of setting such variables:
- If you want it to be a global variable, ie. accessible from any web, which is what you might want in this case, you want to set it in
TWiki.TWikiPreferences.
- If you want it to be active just in the web you are working in, then set it in your WebPreferences topic for the particular web.
In any case follow the examples in those preferences pages (or read the Notes at the end of
TWikiPreferences), you might want to add a heading with a title sort of
Preferences for my instalation, so that you know what is "Standard" and what has been added by you.
--
EdgarBrown - 09 Apr 2001