Side Bars
Header/Footer
Site Pages
Sinorca < Skins > SkinTest (talk | users | test page | RWD? | set as default | unset | validate: HTML, CSS)
This skin provides a simple, low distraction, 3-column interface that provides rapid access to the information you need. It's designed so that it's easy to change the content in any of the wiki sections (headers, footers, etc), and easy to change colors to provide distinction across farms.
I'd love to know if you use this skin, or even if you like or hate it -- leave a comment!
Click to enlarge
Note: This page is not using SectionEdit, and so the "section edit" and "section edit on double-click" features of the skin are not visible on this page. Refer to the demo for a sample of that functionality.
Skidoo extends functionality provided by other Cookbooks, like SectionEdit. Unfortunately SectionEdit is not enabled at PmWiki, so you can't see that functionality here. So, head over to the Skidoo homepage, and see a fully functional demo. Feel free to edit the Sandbox, and checkout the additional color themes.
$Skin = 'skidoo'; SDV($ActionSkin['print'], 'skidoo');
SDV($SkinColor, 'green');
$EnableRelativePageVars = 1;
#Makes a carriage returns in the edit window act like newlines in display mode $HTMLPNewline = '<br />'; #Only required if using the $HTMLNewline setting $HTMLStylesFmt['skidoo'] = '.quickref br { display: none; }'; #Prevents PmWiki group from appearing in searches. $SearchPatterns['default'][] = '!^PmWiki\\.!';
You can switch the color theme site wide by updating your config.php
with:
SDV($SkinColor, 'green');
Or simply pass a parameter:
?color=yellow
The included color schemes are: blue, dark blue, green, light green, orange, purple, red, yellow.
If the existing color themes don't do it for you, simply:
skidoo/
directory)
Tabs can be used to store links of information you need ready access to, without reloading the page. The active left and right tabs will be remembered as you navigate around your site, and between sessions.
By default Skidoo has 6 tabs, 3 on the left, and 3 on the right. You can add or remove tabs as you need, and change the content in the tabs.
Site.SideBar
.
Group.SideBar
.
Skidoo will automatically generate a table of contents for each page. By default the TOC appears in the first tab on the right sidebar. Each entry on the TOC can be clicked to rapidly jump to that heading. By default headings levels 2, 3, and 4 are included.
All sections can be edited by simply double-clicking them. This includes the sidebars, header, footer, and tabs. If you use SectionEdit, Skidoo will also allow the content of each heading level to be edited by double clicking. That way you can edit the content of a single section, rather than the whole page.
From the edit page, drag the horizontal bar below the text entry area -- you can drag up or down. The size of the edit box will be saved automatically for you.
Skidoo will detect whether you are using a mobile device, and will change the layout of the page to reduce the clutter. Currently Skidoo uses the same skin you'll see if you print a page.
The print skin layout is modified to include a much simplified layout, but with full access to all the pages on the wiki. The header is modified to include a link to the content of the Site tab, as well as the existing content of the header. For easier navigation on long pages, the header is duplicated as the footer.
Skidoo has built-in support for SectionEdit, making it possible to double click sections of the page content (between headers) to edit that section only. Simply:
include_once("$FarmD/cookbook/sectionedit.php");
$SectionEditWithoutHeaders = false; $SectionEditAutoDepth = 4; $SectionEditMediaWikiStyle = true; $SectionEditInIncludes = true;
HEADER includes Site.Skidoo-Header | SEARCH BAR
no pages included | |
LEFT SIDE BAR
includes Site.Skidoo-TabsLeftContent | HEADER includes Site.Skidoo-ContentHeader & ACTION MENU includes Site.PageActions | RIGHT SIDE BAR
includes Site.Skidoo-TabsRightContent |
MAIN
| ||
FOOTER includes Site.Skidoo-Footer |
The third tab on the left side contains links to all the pages that make up the Skidoo skin. Clicking these links opens the page immediately in edit mode.
Typically you'll want to change the first list in the Header. I use this to provide links to active projects -- the list changes over time, as projects end, at which point I remove the link in the header and put an entry in a project archive page.
The other likely change you'll want to make is on the Site Bar. This might be used to provide links to information that doesn't change over time: Archives, Reference, tele-con ID's :)
The final area you'll likely want to change is the tabs. Click the Tabs link under Admin, and you'll see that the defintion of both the left and right tabs.
Within this page, each DIV represents a tab. The DIV title will be used as the tab text, and the content of the DIV will be the content of the tab. For example, the first tab on the left side is the Site tab:
[[#leftTabs]] (:div title="site":) (:include {$SiteGroup}.SideBar:) (:divend:)
You can see the title, becomes the name of the tab, and in this case we're including the content of a separate page Site.SideBar. You can either add new content here, or edit the Site.SideBar page directly.
A DIV with an id="Skidoo-TOC" will become a clickable Table of Contents. For example, the first tab on the right side is defined as:
(:div title="TOC" id="{$SkinName}-TOC":) (:divend:)
Skidoo consists of a header and footer, fixed-width left and right columns, and a central content column. You can quickly edit the content of any section by simply double-clicking it, or by using the Admin tab.
Each section can be removed from the page or the site with special markup.
The site wide header contains a list of key pages that you define, and a list of the last 7 recently edited pages, as well as the search box.
(:noheader:)
.
config.php
by setting:
SetTmplDisplay('PageXXXFmt', 0); #XXX: Left,Right,Header,Footer
Both side columns are of fixed width and hold the a set of tabs.
(:noleft:)
or (:noright:)
.
config.php
by setting:
SetTmplDisplay('PageXXXFmt', 0); #XXX: Left,Right,Header,Footer
The title bar consists of a link to the current group's "main page", and the page title. You can edit this, but as it serves as the page header, there's probably no reason to.
Contains the version of PmWiki that you are running, with a link to the PmWiki version page -- provides a quick way to see if your site is up-to-date. Also, the Skidoo version number, and a link to this page.
(:nofooter:)
.
config.php
by setting:
SetTmplDisplay('PageXXXFmt', 0); #XXX: Left,Right,Header,Footer
This is an incomplete listing of the browsers which have been seen working with this skin.
In order to maximize the information displayed on a page, the Skidoo font is quite small. This doesn't suit everyone. All the font-sizes were proportionally specified, so you can simply change the body font-size and everything else will follow -- update Skidoo.css
by changing the 'body' selector 'font-size' property:
body { /* Change this to alter the font-size site-wide -- 130.1% is reasonably large */ font-size: 100.1%; margin: 0; padding: 1em 3em 3em 3em; }
All color properties are stored in color-XXX.css
, where XXX is the name of the color scheme. To update all links in the main body of the wiki-page, change:
#wikitext a { color: #ff8c00; }
$HTMLPNewline = '<br />';
in Edit quickref. (Reported by Fabrizio)
Non-public release. Changes are in 1.0.5.
Contributors: DaveG
Contributors: DaveG
Contributors: DaveG
Contributors: DaveG
I'd love to know if you use this skin, or even if you like or hate it. Head over to the talk page to leave a comment or ask a question.
User notes +7: If you use, used or reviewed "Skidoo", you can add your name. These statistics appear in the Skins listings and will help newcomers browsing through the wiki.
Site