This question about Using an extension: Answered

How to publish with PatternSkin's print preview?

I'm looking into using the PublishPlugin to publish one of my webs as static HTML, and I'm very impressed by the features. However, I can't figure out how to set a better skin:

I want to publish using PatternSkin's print cover. How can I do this?

I don't want to just publish with the PatternSkin skin itself, but with the "print preview" mode that this skin offers. Is that possible?

Why do I want this?
The print or even plain skins are not as pretty as the PatternSkin, but the PatternSkin itself has too much navigation and stuff. However, the PatternSkin offers a print preview that is ideal, and that's what I would like to use.

-- TorbenGB - 29 Apr 2010

Do you use the Publish Form to publish your topics? There is a field Publish skin which allows you to enter a skin to be used for the publishing process. The default is basic_publish which is, well, pretty basic. You can also select plain or print or create your own publishing skin.

If you're using a publish template topic, you can set the skin using Set PUBLISH_SKIN = basic_publish.

-- MartinKaufmann - 29 Apr 2010

Yes, I'm using that form, and I'm using the skin field in the form. And that's basically my problem, because I get to choose between plain or print or basic_publish (all of which are (no offense) pretty boring) -- or I could specify pattern and get the very sleek PatternSkin as result, which has too much layout. I've tried entering print.pattern in an attempt to get the print cover of PatternSkin to be used as publishing skin, but that didn't work.

The PatternSkin has this print cover and that's what I would like to use for publishing, but I can't see a way to specify that cover.

-- TorbenGB - 29 Apr 2010

OK, I got you. In this case, it should be enough to type print,pattern (comma-separated) in the Publish skin field. Does that work for you?

-- MartinKaufmann - 29 Apr 2010

Fabulous -- the comma-separation did the trick! Thank you Martin! (I tried with period-separation because that's how the templates are named, but I did not think of combining the arguments as you suggest.) I emphasized the solution in your comment.

-- TorbenGB - 29 Apr 2010

This is also called the skin path, see System.Skins.

-- ArthurClemens - 29 Apr 2010

QuestionForm edit

Subject Using an extension
Extension PublishPlugin
Version Foswiki 1.0.9
Status Answered
Topic revision: r6 - 29 Apr 2010, ArthurClemens - This page was cached on 14 Sep 2020 - 22:38.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy