Tags:
create new tag
view all tags

Question

I have a TWIKI Site which has the Dragon Skin applied. I am trying to overide a TwikiWeb created on this site, with a NAT skin.

After installing Nat Skin on bringing up the Home page for the TwikiWeb, I see the below code snippets on diferrent areas of the screen

%IFDEFINEDTHEN{""}% %FIDEFINED% %IFDEFINEDTHEN{"" action="view"}% %ELSIFDEFINED{""}% %FIDEFINED% %IFDEFINEDTHEN{""}% %ELSEDEFINED% %FIDEFINED%

Also I would like to override a LOGO set for the TWIKI site on the TWIKI web. Is there a way to do this?

Please let me know what could be the cause for this display.

Thanks, Rajeev.

Environment

TWiki version:  
TWiki plugins: NatSKin
Server OS: Unix
Web server: Apache
Perl version:  
Client OS: Windows XP Prof
Web Browser: IE 6
Categories: Skin

-- RajeevG - 09 Mar 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.

Please have a look at the dependencies of the NatSkinPlugin. It lists the IfDefinedPlugin which you will need to install in addition. This plugin has been externalized from the NatSkinPlugin into a plugin of its own recently.

-- MichaelDaum - 10 Mar 2006

Hi Michael,

Thank you for the response. I loaded the skin and the IFDEFINED statements are no more seen. On the Left Navigation Bar I am seeing this content...

%FORMATLIST{" TWiki" exclude="Main|TWiki|Sandbox|User|TestCases|Trash" split=" " separator="$n" format=" $percntWEBLINK{\"$1\"}$percnt "}% User Accounts? Groups? Index? Changes? Notifications? Statistics? Preferences? Support User's Guide? Reference Manual? FAQs? Glossary? Index? Changes? Notifications? Statistics? Preferences?

Is there anything else that I should do to get rid of this issue.

Thanks, Rajeev.

-- RajeevG - 10 Mar 2006

Please have a look at the dependencies of the NatSkinPlugin. It lists the FilterPlugin which you will need to install in addition.

-- MichaelDaum - 10 Mar 2006

TWiki > NatSkinStyleBrowser

Michael:

I have installed the dependancies and I am seeing the below on the TWIKI page that is used to change the settings for the TWIKI web with NAT skin.

%IFSKINSTATETHEN{final="all"}% %ELSESKINSTATE% %IFSKINSTATETHEN{final="style"}% %ELSESKINSTATE% Style: %KNOWNSTYLES% %FISKINSTATE% %IFSKINSTATETHEN{final="variation"}% %ELSESKINSTATE% Variation: none %KNOWNVARIATIONS% %FISKINSTATE% %IFSKINSTATETHEN{final="switches"}% %ELSESKINSTATE%

Switches: (RajeevG : These are radio button display) %IFSKINSTATETHEN{final="border"}% %ELSESKINSTATE% Border On Border Off Thin Layout %FISKINSTATE% %IFSKINSTATETHEN{final="sidebar"}% %ELSESKINSTATE% Sidebar Left Sidebar Right Sidebar Off %FISKINSTATE% %IFSKINSTATETHEN{final="buttons"}% %ELSESKINSTATE% Web Buttons On Web Buttons Off %FISKINSTATE% %IFSKINSTATETHEN{final="searchbox"}% %ELSESKINSTATE% Searchbox in topbar Searchbox in pos. 1 Searchbox in pos. 2 Searchbox in pos. 3 Searchbox off %FISKINSTATE%

Due to this issue I am not able to set Left Navigation Bars for the the TWIKI web with NAT Skin.

Please let me know, what could likely be the issue. I am in favour of using the NAT skin due to its elegance and hence would like to have this issue resolved before I think of switching to a diferrent one.

Thanks, RajeevG

-- RajeevG - 15 Mar 2006

Be aware that NatSkinPlugin disables itself if the current live skin is not 'nat'.

-- MartinCleaver - 15 Mar 2006

Hi Martin,

Yes the TWIKI site's live skin is not NAT. It is a Dragon Skin.

Would this throw any light on the issue. So will I not be able to override Dragon skin on the Site with the Nat skin for the web.

Thanks, RajeevG

-- RajeevG - 15 Mar 2006

Hi RajeeG, sure, you can drive your site with different skins per web or per topic or per request.

    * Set SKIN = nat
to the WebPreferences to switch to NAT for all topics in the web. Adding it to any other topic will display this topic using the NatSkin. You might want to check a topic using different skins by adding ?skin=nat to the url.

-- MichaelDaum - 15 Mar 2006

Hi Michael,

Thanks for confirming.

Will appreciate if you can take a look at the issue that I am having with the editing page for the NatSkin. The URL is .../twiki/bin/view.cgi/TWiki/NatSkinStyleBrowser

Martin had responded to the issue. I could not get it resolved still. Can I attach a screen shot to this posting by any chance.

Thanks,

Rajeev.

NatSkinStyleBrowser setting page issues.

-- RajeevG - 15 Mar 2006

Can you answer a question, please:

Try the URL .../twiki/bin/view.cgi/TWiki/NatSkinStyleBrowser?skin=nat

Does the page show up correctly or are there still the IFSKINSTATEs?

-- MichaelDaum - 15 Mar 2006

Hi Michael:

The IFSKINSTATE does not show up with the ?skin=nat appended to the URL. Instead I am seeing this display that I will attach. Clicking on either of the buttons OK or RESET displays the IFSKINSTATE state again.

Thanks,

Rajeev.

-- RajeevG - 15 Mar 2006

Hi Michael:

I see that on the SkinPackagesTestedOnLatestRelease page NAT skin was not tested on the latest release of TWIKI. The release that I have is Version: 04 Sep 2004 $Rev: 1742 $ Release type: Production release This version is TWiki Release 01-Sep-2004

Would this be an issue ?

Thanks, Rajeev.

Main Page with ?skin=Nat appended

-- RajeevG - 15 Mar 2006

That's how it should look like (on IE). Please have a look at all sections of this topic marked blue and read again.

Edit TWikiPreferences and replace SKIN = pattern with SKIN = nat.

-- MichaelDaum - 16 Mar 2006

Hi Michael,

The statement has been added to TWIKI web to which the NAT skin has been applied and the TWIKI web when accessed has the NATSkin Style page display.

The problem is that the URL .../twiki/bin/view.cgi/TWiki/NatSkinStyleBrowser is for the TWIKI site rather than the TWIKI web

My TWIKI web URL is something like ..../twiki/bin/view.cgi/RajeevGWeb/WebHome So Can I set the NatSkinStyleBrowser up for just my web rather than applying it to the entire site as other webs are using the Dragon Skin. The Twiki web is using the dragon skin, so the NatSkinStyleBrowser is not working.

Also What is the easiest way to change the header text and sidebar text for the Twiki web that uses the Nat skin?

The TWIKI header text is something like "GROUP TWIKI Home Page".

I want it changed to be displayed as "Rajeev G TWIKI Home Page" on the TWIKI web RajeevGWeb.

Thanks, Rajeev

-- RajeevG - 16 Mar 2006

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg NATSKINISSUE.JPG r1 manage 66.1 K 2006-03-15 - 18:23 UnknownUser NatSkinStyleBrowser setting page issues.
JPEGjpg NatSkinURLappend.JPG r1 manage 21.5 K 2006-03-15 - 21:01 UnknownUser Main Page with ?skin=Nat appended
Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r14 - 2006-03-16 - RajeevG
 
  • 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.