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
--
ChrisGreen - 08 Aug 2006
Answer
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