Tags:
create new tag
view all tags

Question

I'm trying to display just the content (skin=plain) of a series of my TWiki pages for someone to view. I'd like the linking of sub-pages to be (skin=plain) style as well. I know this bucks the TWiki open editing ideal.

I belive I understand the Wiki meme fairly well, but I'm looking for a requrement to meet a particular need. I'd like to be able to provide non-TWiki users access to TWiki pages without all the TWiki links, etc. I know about /bin/view/...?skin=plain in the URL, but the links on a page displayed like this, still use the /bin/view/... method of linking, thus not inheriting the plain skin. I've fooled around with tweaking the code, but would like to know if there is a simple answer to this.

The site in question is a running dialog about our new dog. I'd like to pass on the links to it so family and friends can see it without having to delve into the Twiki environment. I'm using TWiki primarily because it's already setup for other webs and allows several of us (who know TWiki) to simply update the content on these web pages.

-- DavidMorrison - 17 Dec 2002

Answer

Possible solutions:

  1. Create a "static html" mirror via the GenHTMLAddon. You will have to modify it to supress the expansing of wiki links inside the text, but that should not be too complex
  2. Use a skin like plain, but with added CSS to set links style to look like plain text, for the body text
    e.g. put the %TEXT% inside a <span class=text>...</span> so that you can restrict this CSS to links inside a span.text
  3. Use the GenHTMLAddon, but with the above CSS trick
You may want to also use SpacedWikiWordPlugin for a more normal display of Wiki Words

-- ColasNahaboo - 18 Dec 2002

You can set skin for all pages in whole web: Set SKIN = ... in WebPreferences. Then, you can create a link to some pages with different skin in URL.

In SimplerDefaultTemplates (27 Feb 2002) I made example of HELP and SIMPLE skins (just for browsing), with link [Menu] to more standard Twiki menu (which allows also edit etc. the page). Will this appoach help?

-- PeterMasiar - 19 Dec 2002

In your own homepage, you can set the normal skin you use; and then you can set the plain skin as the default one in the WebPreferences. That way you still see the original TWiki skin with edit and so on, but other users only see the plain skin.

-- TorbenGB - 06 Feb 2003

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