Tags:
create new tag
view all tags

Question

I have just installed NatSkin and, after fixing some permissions problems it's almost all working. However under the search box in the top right corner I'm seeing:- IF{ "{LoginManager} = 'TWiki::Client::ApacheLogin'" then="display:none" }: Bad expression at {LoginManager} = 'TWiki::Client::ApacheLogin' "> | Logout | Print

So, what would be causing this?

Also, how do I get the NatSkinStyleBrowser to work, the .txt file is there but I can't see/run it.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: All the ones required by NatSkin
Server OS: Slackware Linux 10.1
Web server: Apache 2.05
Perl version: v5.8.4
Client OS: Slackware Linux 10.1
Web Browser: Firefox 1.5
Categories: Plugins

-- ChrisGreen - 08 Aug 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Which TWiki version are you using?

To use the NatSkinStyleBrowser you have to enable the NatSkin first. Add

* Set SKIN = nat
in Main.TWikiPreferences and then go to TWiki.NatSkinStyleBrowser.

What do you mean by "...is there but I can't see/run it." ?

-- MichaelDaum - 09 Aug 2006

Yes, I have got:-

* Set SKIN = nat
In fact I've got:-
* Set SKIN = nat, natedit

I'm using Twiki 4.00

The skin is basically working, I get the expected layout/format etc., I just have the problem of that bit of code appearing at the top right instead of what should be there.

Thanks for the info re: NatSkinStyleBrowser, I just didn't know where it was and there seemed no way to browse there. I've now got to that page and it seems to work OK. ... Yes, the style browser works.

It's just that I have the following code (as opposed to proper output) appearing at the top right of my browser window:-

ChrisGreen <span style="

IF{ "{LoginManager} = 'TWiki::Client::ApacheLogin'" then="display:none" }: Bad expression at {LoginManager} = 'TWiki::Client::ApacheLogin' "> | Logout | Print

-- ChrisGreen - 09 Aug 2006

Chris, OIC. My fault. The latest NatSkin make use of a feature only present in later TWiki versions. Bah. Edit the topic TWiki.TWikiWebTopicActions and remove the complete =%IF{....}% statement.

Btw. it should be SKIN = natedit,nat instead of the other way around.

-- MichaelDaum - 09 Aug 2006

Ah, thanks, OK! That fixes it and just leaves the "ChrisGreen | Logout | Print Edit | Attach | Move | Raw | Diffs" links up in that corner, is that what's intended?

Thanks for all your help.

-- ChrisGreen - 09 Aug 2006

There should be a linebreak after Print. The Edit should start under ChrisGreen.

-- MichaelDaum - 09 Aug 2006

Yes, that's how it is, all is well! Thank you again. I'm afraid I've asked another question by the way.

-- ChrisGreen - 09 Aug 2006

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2006-08-09 - ChrisGreen
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.