Tags:
create new tag
view all tags

Question

I'm very new to TWiki, and I'm currently trying to convince a company to choose TWiki over MediaWiki. I'm working on customizing a TWiki implementation, specifically (at the moment) the colors and backgrounds of the default skin. The changes I'm making, regardless of level (e.g., site, web...), take effect only on the preferences page I'm editing. When I go back to any other page in the web I'm editing, the default skin prefs are in place and unfazed by my meddling.

Specifically, I'm working with " * Set USERSTYLEURL = _path to my custom style changes_" and " * Set USERCOLORSURL = _path to my custom color changes_" I want to change them for the whole web, not just for the main.webpreferences page.

I apologize if this is too ambiguous.

I've cleared my browser's cache to no avail.

Please tell me what I'm missing, or at least let me know where I might start looking. I'm not a programmer by trade, and I've been at this for a few days now. It's getting pretty frustrating, 'cuz I know it's something simple that I'm missing.

Thanks!

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: default plugins for this release
Server OS: don't know
Web server: Apache, don't know version
Perl version: don't know
Client OS: XP Pro, SP2
Web Browser: Firefox 1.5
Categories: Plugins, Skin

-- JamesCapaldo - 29 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.

Two reasons I can think of:

  1. USERCOLORSURL is in the preferences topics' FINALPREFERENCES, inhibiting settings at a lower level
  2. There are %WEB% and %TOPIC% references in the USERCOLORSURL, which resolves to the correct web.topic in the preferences topic only. So write /TWiki/ instead of /%WEB%/, and /WebPreferences/ instead of /%TOPIC%/

Please let us know and close this question if OK.

-- PeterThoeny - 29 Mar 2006

Thanks for the speedy response, Peter. I've checked 1), but I'll definitely go double-check.

As for 2), the USERCOLORSURL is a .css file and doesn't have any such Support or PrefsOnlyChangingOnPrefsPages references.

USERCOLORSURL is supposed to let me provide such a custom .css file to override settings in the Pattern Skin...perhaps I just need to learn more about how that skin works and can be customized. Unfortunately I don't have direct access to the files themselves, otherwise it might be easier. I'm trying to do this through the TWiki interface, which I think is possible.

-- JamesCapaldo - 29 Mar 2006

I thought I had encountered exactly this problem with USERSTYLEURL - i.e. it was occurring only on the WebPreferences page I had made the change on. This was due to specifying ATTACHURL and not explicitly pathing the location of the WebPreferences topic (where I had attached the noleftbar.css)

-- GrahamSummers - 05 May 2006

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-05-05 - PeterThoeny
 
  • 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.