Tags:
archive_me1Add my vote for this tag create new tag
view all tags
This really isn't a programming issue, but I thought it might be something to think about in the release.

I've noticed a lot of people accidentally click on ? links or other links in preview mode and get an oops. I changed preview.tmpl to have a different background color than view.tmpl. Of course, if your browser doesn't show colors you are no worse off than you were. I picked a color like Seashell -- sort of white, but not quite. Then I also added some text in the top bar to the effect of (colored background indicates preview).

Really, we should add default values to the preferences before loading them and provide a variable the templates could use for background colors. This would be nice to set per Web. In installations like mine where we validate users at all times, you could even let the users override. Could have %MAINBGCOLOR% and %ALTBGCOLOR% and let the templates use what they want. Would need some nice way to init prefsKeys and prefsValues from wikicfg.pm unless we just want to hard code the defaults.

This would be very little work except for changing each template and even that wouldn't be too hard with a little tool usage.

-- AlWilliams - 20 Sep 2000

This is a usability issue, small but not so unimportant.

I solved it with a background image that is a watermark with a slanted PREVIEW text. A background image degrades nicely for browsers without that capability (the usability enhancement is simply not there). You can see my writing with this watermark background. The background image is selectable in the TWikiPreferences as one of the attached images in the PreviewBackground topic in the TWiki.TWiki web.

The TWikiPreferences has a new PREVIEWBGIMAGE variable that defines the image location. Users could overwrite this variable.

The preview template file has been commited to TWikiAlphaRelease. Please note that you need to grab the PreviewBackground topic and attachments from the TWiki.TWiki web if you want to upgrade your Alpha or Beta installation.

-- PeterThoeny - 02 Oct 2000

TopicClassification:
FeatureDone
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2000-10-03 - 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.