Warning: Undefined array key "pmwiki" in /home/kongdmdu/pmichaud/pmwiki/pub/skins/vector/vector.php on line 14

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/kongdmdu/pmichaud/pmwiki/pub/skins/vector/vector.php on line 14

Warning: Undefined array key "pagename" in /home/kongdmdu/pmichaud/pmwiki/pub/skins/vector/vector.php on line 225

Warning: Undefined array key "pagename" in /home/kongdmdu/pmichaud/pmwiki/pub/skins/vector/vector.php on line 253
Enlighten - Skins - PmWiki

Enlighten

DropShadow < Skins > Equilibrium   (talk | users | test page | RWD? | set as default | unset | validate: HTML, CSS)

Summary: Enlighten is a two-column theme, several color options, fluid/fixed width, a top navigation tab bar, and traditional footer.
Version: 1.1.3 (31-Mar-2016)
Prerequisites: None
Status: Active
Maintainer: DaveG
Categories: Skins, BlogIt, PHP55, PHP82
License: Copyright (c)2006 David Gilbert. This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Please retain the links in the footer.
Users: +14 (View / Edit)
Discussion: Enlighten-Talk

Color Picker

This skin provides a 2-column fixed or fluid width interface, with a number of color variations, and full support for the BlogIt blogging engine.

Click to enlarge

Feature Summary

Download and Installation

$PageLogoUrl="URL_TO_IMAGE";
$PageLogoUrlWidth='154px';
$PageLogoUrlHeight='24px';
$PageLogoUrl="";
$bi_SkinClasses=array('approved-comment-count'=>'.comments a', 'blog-entry'=>'.entry', 'blog-entry-summary'=>'.post');

Optional

Change the color (brown is the default). Refer to colors for more color options.

$SkinColor = 'orange';

Color Switching

You can switch the color theme site wide by updating your config.php with:

$SkinColor = 'blue';

Or simply pass a parameter:

?color=red

You can try out the color schemes using the color selector menu. The included color schemes are:

Header Background Image

Specify the image to be used on the right side of the header with a relative url -- relative to the skin directory:

$SkinHeaderBackground='brown/headerphoto.jpg';

Page Width

Specify a page width in either 'px' or '%'. The sidebar width will be used as a value of 'px' units.

$SkinWidth=850;
$SkinSidebarWidth=212;  #Value must be in 'px'.
$SkinWidthUnit='px';  #only use 'px' or '%'

If you change the width, you'll also need to alter both the left (#header #logo-box ) and right (#header .headerphoto) sides of the header. You'll need to ensure left and right sides of the header are set appropriately.

$HTMLStylesFmt['enlighten'] .= 
  '#header #logo-box { width: 390px; } '.
  '#header .headerphoto { width: 455px; } ';

BlogIt for Blogs

Enlighten fully supports the BlogIt blogging engine, automatically -- you don't need to do anything other than install BlogIt.

Page Layout

Sections can be removed from the page or the site with special markup.

SetTmplDisplay('PageXXXFmt', 0);

Header

You can set the Title and the Tag-line by setting the following in config.php:

$WikiTitle = "My site";
$WikiTag   = "Site description";

The wiki file Site.SiteHeader can be overridden with a Group level page. If you want to change the layout of the header edit either {$Group}.SiteHeader or {$SiteGroup}.SiteHeader. The default value for the header is:

! %block sitetitle%[[{$ScriptUrl} | {$WikiTitle}]]
(:div class="sitetag":){$WikiTag}
(:divend:)

Top Navigation Tabs

In order to change the links available in the navigation tabs, edit Site.SiteNav, and use a list format as below:

* [[Grp/MyPage | Page 1]]
* [[Grp/MyPage | Page 2]]
* [[Grp/MyPage | Page 3]]

Side Bar

The other likely change you'll want to make is on the Side Bar. In this case edit Site.SideBar, and use a list format below:

%sidehead% [[Header 1]]
* [[First Level]]
** [[Second level]]

Footer

The wiki file Site.SiteFooter contains the last modified date.

FAQ

Browser Compatibility

This is an incomplete listing of the browsers which have been seen working with this skin.

Known Issues

Change Log

1.1.3 (31-Feb-2016)

1.1.2 (25-Feb-2016)

1.1.1 (20-Nov-2010)

1.1.0 (12-Jun-2010)

1.0.0 (24-Oct-2009) (rev 600)

Credit

Comments

Show your support and leave a comment, or help out and let me know if you have a suggestion or a problem. Love it or hate it, I'd like to know!

User notes +14: If you use, used or reviewed "Enlighten", you can add your name. These statistics appear in the Skins listings and will help newcomers browsing through the wiki.