PmWiki
SearchWiki
  • Home page
  • Wiki sandbox
  • Most recent changes

Cookbook

  • Administration
  • Attachments (uploads)
  • Blog
  • CMS
  • CSS
  • Editing
  • Extensions
  • Forms
  • Images
  • Includes
  • International
  • Layout
  • Links
  • Markup
  • Markup only
  • Markup writing
  • Menus (navigation)
  • Media
  • Page lists
  • Page naming
  • Page variables
  • PIM
  • Publishing
  • RSS
  • Searching
  • Security
  • Skins
  • System tools
  • Tables
  • Wiki conversion
  • WikiTrails
  • Obsolete
  • Maintenance

PmWiki

  • News (blog)
  • FAQ
  • Features
  • Download
  • Installation
  • Basic editing
  • Documentation index
  • PmWiki philosophy
  • Release notes
  • Contact us

pmwiki.org

  • Cookbook (addons)
  • Skins (themes)
  • PITS (issue tracking)
  • Mailing lists
  • PmWiki users
  • Success stories
  • Get support
  • Pay for PmWiki
  • Send Pm money
  • Other languages

Cookbook/
SkinList
Read PageEdit PagePage AttributesPage HistoryUpload
Printable View
Summary: List skins installed on a site
Version: 20171115
Prerequisites: PmWiki 2.2.56, SkinChange
Status: Stable
Maintainer: Petko
License: Unknown
Categories: Skins PHP72 PHP74
Users: (view? / edit)
Discussion: SkinList-Talk

Question

How can I get a list of skins installed on a site?

Answer

The skinlist.phpΔ recipe provides a simple (:skinlist:) directive to do this.

In your local/config.php file, include the line:

include_once('cookbook/skinlist.php');

Usage

This recipe adds a (:skinlist:) markup, which displays a list of available skins for a site.

(:skinlist:)
  • default skin
  • abitmodern
  • academian
  • adapt
  • alalike
  • amber
  • barthelme
  • beeblebrox
  • bf
  • bfreedom
  • bitterlemon
  • blix
  • blog
  • blogpost
  • blueberry
  • bluefur
  • bluehead
  • blues
  • boira
  • bonny
  • bs-001
  • bs-002
  • cclug
  • choice
  • cinnamon
  • classic
  • co
  • colorimetry
  • defaultskinwithouttable
  • dropdown
  • enlighten
  • evolver
  • fixflow
  • flckr
  • flexi
  • gemini
  • gma
  • grayness
  • grease
  • green
  • ipmwiki
  • jh
  • jhmp
  • katskin
  • kaylen
  • lean
  • leaves
  • lens
  • light
  • lines
  • lt9602
  • maguila
  • marathon
  • marble
  • marinee
  • mobile
  • monobook
  • mouse
  • neutral
  • newspaper
  • night
  • not2simple
  • notebook
  • notebook-nt
  • notebook-nt-old
  • notsosimple
  • papyrus
  • parchment
  • photogallery
  • phpnet
  • plain
  • plainblog
  • pmichaud
  • pmii
  • pmwiki
  • pmwiki-divs
  • pmwiki-dt
  • pmwiki-hf
  • pmwiki-html
  • pmwiki-responsive
  • pmwiki-strict
  • pmwiki2bars
  • pmwikimag
  • pmwikiv1
  • post
  • pp
  • print
  • pukka_float
  • recurve
  • redberry
  • rosetrellis
  • rounded
  • royale
  • schlaefertwo
  • simpla
  • simple
  • simpletab
  • simplyimpact
  • sinorca
  • skidoo
  • soma
  • somethingcorporate
  • ssofbjoomlarhuk
  • steamport
  • stripped
  • sw
  • technobabble
  • textpattern
  • textpattern4
  • triad
  • trish
  • twitterbootstrap
  • uselesstuesday
  • vanilla5
  • vector
  • wikilove
  • xml
  • yaml132
  • yamlforth
  • 2016

Configuration

The $PageSkinList array may contain custom skins to be included or excluded from the listings:

$PageSkinList['goodskin'] =  1; # add a skin the recipe doesn't seem to find
$PageSkinList['baadskin'] = -2; # do not list this skin even if available 

Unlisting skins is possible since version 20171115.

Notes

This recipe requires SkinChange if installed on PmWiki version 2.2.126 or earlier.

Release notes

  • 20190903 Update for PHP 7.4 (Petko)
  • 20171115 Update for PHP 7.2, document $PageSkinList, negative numbers will delist a skin (Petko)
  • 20160407 Update for PHP 5.5 (Petko)

See Also

Contributors

  • Maintainer: Petko
  • Original author: probably Pm

Comments

See SkinList-Talk

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.

Page last modified on January 09, 2023, at 07:02 AM
  1. SearchWiki
  2. Recent Changes
  3. All Recent Changes
  4. WikiHelp

  1. ▲ Top ▲
  2. Edit:
  3. SideBar
  4. MenuBar
  5. BottomBar
  6. GroupHeader
  7. GroupFooter