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:
- 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
- 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
- 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