User:Archy~mediawikiwiki/CP Control Panel

Introduction
CP Control Panel is basically a CMS Template System.

It uses DPL Forum, Create Box and Input Box as building blocks to create an easy solution to having a uniform look combined with functionality and ease of use with MediaWiki.

CP Control Panel allows you to create a number of different styles of page on your wiki quickly and easily.

It keeps track of the pages you create and generates a Superlist of all pages it produces.

Every page has an optional associated Header that you can create or edit, or you can leave it and allow CP Control Panel to use the default, which you can also edit.

You can make multiple instances of each type of page which you can use for a variety of purposes.

Forum Areas and Comment pages can be placed anywhere in the MAIN NAMESPACE or on any User's Talk page.

The new perpetual event calendar lets you have multiple Event Calendars for different purposes, and comes with a Year Planner.

It can be placed anywhere in the MAIN NAMESPACE.

The page styles available are:
 * Page Indexer (Forum without replies)
 * Forum Area (with replies)
 * Comment Page (up to 10 fields and 2 sigs)
 * Collapsible Page
 * Plain Page (with border)
 * Superlist (Shows a list of all posts, comments, and indexed pages (recent changes at top))
 * Master Forum (Up to 5 Sections and 9 Forum Areas in each section)
 * Menu Page with stats (and optional current users (requires extension))
 * Custom Page (with custom layout and passed parameters)
 * Main Index of Created Pages. (The Main CP Control Panel Page without the Page Creator)
 * Perpetual Event Calendar (Must be in Main NAMESPACE - Multi Calendars)
 * Master Event List
 * Year Planner (Requires extra configuration in LocalSettings.php)
 * Sandbox

Extra Tools
 * Header Pages for all the other pages.
 * Global CP Background Colour page.
 * Colour Charts
 * Documentation and Help

Requirements
You will require the following addons installed and functional. $wgParserConf['class'] = 'Parser_OldPP'; $wgExpensiveParserFunctionLimit = 1000;
 * 1) DPL Forum
 * 2) Inputbox
 * 3) Createbox
 * 4) Parser Functions (installed with DPL Forum)
 * 5) Variables (installed with DPL Forum)
 * 6) Common.js   Java script
 * 7) OPTIONAL - CurrentUsers Extension
 * Please ensure the above extensions are operational BEFORE YOU INSTALL the CP Control Panel Templates
 *  NOTE : DPL Forum requires the following line in your LocalSettings.php file:
 *  NOTE : The Year Planner needs the following line in your LocalSettings.php:

Steps to Install

 * If you are updating from a previous version you should check the History at the bottom of this page for any notes on upgrade issues.


 * 1) Install all the above extensions and ensure they are working.
 * 2) Download the CP.Zip. Unzip it to find 2 files.
 * 3) Import the XML file. (The Templates)
 * 4) Upload the Gif. (A placeholder for images you will supply later)
 * 5) Protect ALL imported pages.
 * 6) Create the CP Control Panel Page. (See below)
 * 7) Set your Default Background Colour

CREATING THE MAIN CP CONTROL PANEL PAGE
The Page name can be anything for this page.

Copy and paste the code fragment into the newly created page and save. -
 * CP Control Panel - Where you create pages
 * I suggest you create this page as a subpage of your USER PAGE.

You can edit your own frequently used links in next to the asterisks. -

Pages imported from the CP Control Panel.xml file
These pages are the entire CP Control Panel template.

Grab the CP.zip file (see DOWNLOAD below) and unzip the xml file.

Go to Special Pages on your wiki and look for the Import option.

Import these pages into your wiki from the xml file. -
 * 1) About CP Control Panel
 * 2) CP Control Panel
 * 3) Help:Colours
 * 4) Help:Colour Chart
 * 5) Template:CP
 * 6) Template:CP Annual
 * 7) Template:CP Annual Help
 * 8) Template:CP Background Colour Help
 * 9) Template:CP Bgd Formatter
 * 10) Template:CP Cal Box
 * 11) Template:CP Calendar
 * 12) Template:CP Calendar Box
 * 13) Template:CP Calendar Formatter
 * 14) Template:CP Calendar Help
 * 15) Template:CP Collapse
 * 16) Template:CP Collapse Formatter
 * 17) Template:CP Collapse Help
 * 18) Template:CP Comment
 * 19) Template:CP CommentFormatHelp
 * 20) Template:CP Comment Formatter
 * 21) Template:CP Custom
 * 22) Template:CP Custom Formatter
 * 23) Template:CP Custom Help
 * 24) Template:CP Custom/Help
 * 25) Template:CP Custom/Template
 * 26) Template:CP Day
 * 27) Template:CP Day Help
 * 28) Template:CP Default Header
 * 29) Template:CP Event Cal Box
 * 30) Template:CP Event List
 * 31) Template:CP Event List Formatter
 * 32) Template:CP Event List Help
 * 33) Template:CP Forum
 * 34) Template:CP Forum Formatter
 * 35) Template:CP ForumPost
 * 36) Template:CP ForumReplies
 * 37) Template:CP ForumReply
 * 38) Template:CP ForumReplyPost Help
 * 39) Template:CP ForumTopic
 * 40) Template:CP ForumTopic Help
 * 41) Template:CP Header
 * 42) Template:CP Header Formatter
 * 43) Template:CP Header Help
 * 44) Template:CP Help
 * 45) Template:CP Help/CP Header
 * 46) Template:CP Main Index
 * 47) Template:CP Main Index Formatter
 * 48) Template:CP Main Index Help
 * 49) Template:CP MasterForum
 * 50) Template:CP MasterForum Formatter
 * 51) Template:CP MasterForum Help
 * 52) Template:CP Menu
 * 53) Template:CP Menu Formatter
 * 54) Template:CP Menu Page Help
 * 55) Template:CP Month
 * 56) Template:CP Month Formatter
 * 57) Template:CP Month Help
 * 58) Template:CP New Comment Help
 * 59) Template:CP New Forum Help
 * 60) Template:CP New Page Index Help
 * 61) Template:CP Page
 * 62) Template:CP Page Index
 * 63) Template:CP PageIndexer
 * 64) Template:CP PageIndexer Help
 * 65) Template:CP Page Index Formatter
 * 66) Template:CP Plain
 * 67) Template:CP Plain Formatter
 * 68) Template:CP Plain Page Help
 * 69) Template:CP Planner
 * 70) Template:CP Planner Box
 * 71) Template:CP Planner Formatter
 * 72) Template:CP Planner Help
 * 73) Template:CP Sandbox Formatter
 * 74) Template:CP Sandbox Help
 * 75) Template:CP SandboxID Help
 * 76) Template:CP SandboxSetup
 * 77) Template:CP Superlist
 * 78) Template:CP Superlist Formatter
 * 79) Template:CP Superlist Help
 * 80) Template:CP Today
 * 81) Template:CP UserComment
 * 82) Template:CP UserCommentFormatter
 * 83) Template:CP UserLegend
 * 84) Template:CP UserLegendHelp
 * 85) Template:Example/CP Header
 * 86) Template:Please leave this line alone and write below (this is the coloured heading)

- Protect ALL the above files once imported -
 * Upload the CP Example.gif file (found in the CP.Zip file) to your wiki.

Background Colour
Replace the FIRST 6 DIGITS on the page with your 6 digit colour code.  Background Colour =  entry on the page. Replace the   part with a 6 digit colour code such as 000000 for black (replace the braces as well). -
 * You can change the default background colour globally by editing the Template:CP Background Colour page.
 * ''' NOTE : You can now edit the Global Background Colour from the CP Control Panel main page.
 * You can also change the background colour for each page individually by editing the

Headers
-
 * Every page created from the CP Control Panel Page can have its own Header.
 * If the Header file exists for the page it will be automatically displayed. Otherwise the default header Template:CP Default Header will be displayed.
 * The page name for the Page's Header is Template:PageName/CP Header
 * A link to the Header page for your page is displayed while editing your page beneath the editing box.
 * A link is also displayed while creating the page in the Help section at the top of the page being created.
 * Headers CANNOT contain Horizontal Pipes (  |  ). You must build any tables you use in the Header pages with HTML.
 * See the page Template:Example/CP Header for an example header. Make any type of page with CP Control Panel and name it Example to see the Header working.

Download
- -
 * The CP Control Panel.xml file is available for Download in ZIP format.
 * Last update 17 Nov 08 - Ver 1.01.0
 * DOWNLOAD LINK
 * My Wikis
 * Archys Sandbox
 * Archys Movie Wiki

History
-
 * 1.00.6 - 13 Nov 2008
 * 1.00.7
 * Various cosmetic fixes
 * Added the Master Event List for a list of events for all Calendars.
 * Added Year Planner
 * All templates hidden from the main CP Control Panel Page List
 * 1.00.8 - 14 Nov 2008
 * 1.00.9
 * Added Annually recurring Events for the Calendar
 * All pages now get a default header (can be edited)
 * Master Forum List is now a Master Forum. A Menu that leads to it's forum areas.
 * Added Backup copies of the Template:CP Custom and the Template:CP Custom Help templates.
 * They are named Template:CP Custom/Template and Template:CP Custom/Help respectively.
 * Collapsible Page Sections can now be configured as Open when first viewed.
 * Complete revamp of CP Menu Pages.
 * If used as a Main Menu on the Main Page the Header page is Main Page/CP Header
 * Master Forum Pages now have Collapsible status settings for Forum Sections.
 * 1.01.0 - 17 Nov 2008
 * 1.01.1
 * Added various config options to the Headers for colours and borders
 * Added Multiple Fields to CP Commenter
 * Added the Colour Charts.
 * Added the Sandbox
 * 1.01.2 - 19 Nov 2008
 * Release Notes. Sandbox will need to be configured after installing this version.
 * by Archibald Horatio Vilanos III