«

 

ExtraPages »

SiteDesign » Design Elements

design features of this wiki


Page Layout

Layout

The layout is done in a two-column table, with the left side of the table consisting of the content. The right side consists of contains three <div>'s:

  1. Site title
  2. Page Actions
  3. Group or Site Side bar

Banner Logo

The page logo is specified in $SkinDirUrl/skin.php via the $PageLogoUrl variable.

Navigation

The previous/next links appear above the page title and are generated in Group.WikiTrail or Site.WikiTrail if no group page exists.

The contents of the trail are generated by a pagelist, using a special format called trail which is defined in local/trails.php.

The format for the trail is embedded in Site.LocalPageTemplates as the grouptrail format. A 3-column table is used to format the various portions:

  • Left column: &laquo; Previous Page Title, left justified
  • Center column: blank
  • Right column: Next Page Title &raquo;, right justified

as demonstrated here:

(:pagelist group={*$Group} fmt=#grouptrail list=trail:)

«

 

ExtraPages »

Page Title

The page title is in the wiki page Group.PageTitle or if that page doesn't exit, then Site.PageTitle.

The page title consists of a link to the Group Home Page, followed by the spaced title of the current page, followed by the page summary.

Content Header

(appears after page title) The header for the content is defined in the wiki page Group.GroupHeader, or in Site.GroupHeader if no group header is defined.

Content Footer

(appears after page text) The footer for the content is defined in the wiki page Group.GroupFooter, or in Site.GroupFooter if no group footer is defined.

Update: Due to the way pmwiki works, the group header and footer automatically get inserted with the page text. Thus, my scheme of using the templating markup isn't going to work. Instead I need to resort to the Cookbook:AllGroupHeader recipe and use the following:
$GroupHeaderFmt =
  '(:include {$Group}.GroupHeader {$SiteGroup}.SiteHeader:)(:nl:)';

Page Footer

(appears at the bottom of the page.) The page footer is defined in the wiki page Group.PageFooter, or in Site.PageFooter if no group page footer is defined.

As in Page Header above, the group footer is specified by the following:

$GroupFooterFmt =
  '(:include {$Group}.GroupFooter {$SiteGroup}.SiteFooter:)(:nl:)';

Callouts

>>nutshell bgcolor=#CCC border="3px solid black"<<
Nutshell callout test.

Aliquam tristique dictum accumsan. Aenean euismod tempor mi non imperdiet.
In convallis leo eget mi rhoncus accumsan quis ut diam.
>><<

Nutshell callout test.

Aliquam tristique dictum accumsan. Aenean euismod tempor mi non imperdiet. In convallis leo eget mi rhoncus accumsan quis ut diam.

Link Icons

Via the Cookbook:LinkIcons recipe, external links are marked with little graphical tags that show what type of link is on the other end.

Footnotes

Via the Cookbook:FootnotesExtended recipe, advanced footnoting features will be available, including anchored (repeatable) footnote. The GroupFooter page will include a section for listing the footnotes.

Email Deobfuscation

Via the Cookbook:DeObMail recipe, all email links of the form mailto:person@example.com will effectively be obfuscated on output, then deobfuscated for the user. (Requires javascript.)

Feed Links

Via the Cookbook:FeedLinks recipe, the RSS & Atom syndication feeds will be placed in the page header for clients to pick up and use.

Source code listings

Pretty source code listing will be available via the Cookbook:SourceBlock recipe. Source code listings are surrounded by (:source ... :) / (:sourceend:) markup.

SourceBlock employs GeSHi - Generalised Syntax Highlighter. The list of available languages is quite extensive.


Tags:

Categories: SiteDesign


Page last modified at November 09, 2011, at 07:35 AM by tamara. (History). (Talk?)

Portfolio

Copyright © 2011- Tamara Temple Web Development. Code is licensed GPLv3. Content is all rights reserved.
Built using PmWiki version pmwiki-2.2.36.