Tags:
create new tag
view all tags

Bug: Missing TWikiGuestLeftBar topic in TWiki Release 01-Sep-2004

Topic TWikiGuestLeftBar is missing in the CairoRelease distro, users of PatternSkin do not see the login link when not yet authenticated.

This was pointed out by SteffenPoulsen.

Test case

  • Use default skin (PatternSkin)
  • Do not authenticate, e.g. you are a TWikiGuest
  • There is no sidebar with login link

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: N/A
Server OS: N/A
Web server: N/A
Perl version: N/A
Client OS: N/A
Web Browser: N/A

-- PeterThoeny - 05 Sep 2004

Follow up

Site wide functionality

Thanks for the fix. Login now shows up nicely in the LeftBar. However the personalised component of the sidebar only seems to display on the page on which you happen to decide to login (could be any page). Once you go to another page, the personalised component seems to revert to Login until you click the Login link again (although you don't need of course to go through with authentication at this stage).

-- SueLocke - 27 Sep 2004

BTW I'm using Pattern Skin. Just tried it out here on the TWiki site and the personalisation carries through the pages I link to. So it must be something in my deployment of Cairo. I'd be appreciative of any ideas. Apologies if I've put this posting in the wrong place.

-- SueLocke - 27 Sep 2004

Sue, what you are experiencing is missing session tracking. The view script is not under authentication. That means TWiki will "forget you" after login. You need to enable session tracking, which can be done with the $doRememberRemoteUser flag in TWikiDotCfg, or with one of the session Plugins.

-- PeterThoeny - 28 Sep 2004

Thanks. Got it working now. Its a nice feature for an administrator particularly. Helpful for jumping between my site and the TWiki site as I'm working on refining the Cairo install.

-- SueLocke - 28 Sep 2004

It seems that, at least on my cairo install, that the guest %WIKINAME% is "guest", not "TWikiGuest", so that the file should be guestLeftBar.txt. Even if I login with TWikiGuest, it is still "guest"...

Oh, and turning on $doRememberRemoteUser doesn't work very well with proxy servers: Everyone who uses the proxy gets recognized as the same user frown I'll have to check the session Plugins.

-- DougClaar - 11 Jan 2006

Fix record

In the Main web, create a topic called TWikiGuestLeftBar containing this one line:

[[%SCRIPTURL%/viewauth%SCRIPTSUFFIX%/%BASEWEB%/%BASETOPIC%][login]]

-- PeterThoeny - 05 Sep 2004

i checked in a data/Main/TWikiGuestLeftBar.txt into DEVELOP r3690. it's an empty file now because the standard WebLeftBar has been improved with regards to the user name login, personal left bar, etc.

it's an empty file (although still one that exists) so that new users don't accidentally start customising the TWikiGuestLeftBar (because the logic in WebLeftBar checks for the existance of an account's personal LeftBar)

-- WillNorris - 23 Feb 2005

Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2006-01-12 - DougClaar
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.