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:
 * 1) Page Indexer (Forum without replies)
 * 2) Forum Area (with replies)
 * 3) Comment Page (up to 10 fields and 2 sigs)
 * 4) Collapsible Page
 * 5) Plain Page (with border)
 * 6) Superlist (Shows a list of all posts, comments, and indexed pages (recent changes at top))
 * 7) Master Forum (Up to 5 Sections and 9 Forum Areas in each section)
 * 8) Menu Page with stats (and optional current users (requires extension))
 * 9) Custom Page Indexer (creates pages with custom layout and passed parameters)
 * 10) Perpetual Event Calendar (Must be in Main NAMESPACE - Multi Calendars)
 * 11) Master Event List
 * 12) Year Planner (Requires extra configuration in LocalSettings.php)
 * 13) To Do List
 * 14) Contact Database
 * 15) Sandbox
 * 16) Simple Contact Database (Must be in Main NAMESPACE - links to Calendar)
 * 17) Movie Database
 * 18) Category Browser

Extra Tools
 * Header Pages for all the other pages.
 * Global CP Background Colour page.
 * Colour Charts
 * Documentation and Help
 * Small Calendar (can be inserted on other pages)

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 2 Gifs. (Placeholders 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
 * See CP Help for information on creating and deploying the various pages.

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. -

CORE

 * 1) About CP Control Panel
 * 2) CP Common.js
 * 3) CP Control Panel
 * 4) Help:Colours
 * 5) Help:Colour Chart
 * 6) Template:CP
 * 7) Template:CP Background Colour Help
 * 8) Template:CP Bgd Formatter
 * 9) Template:CP Category Browser
 * 10) Template:CP Category Help
 * 11) Template:CP CategoryFormatter
 * 12) Template:CP Collapse
 * 13) Template:CP Collapse Formatter
 * 14) Template:CP Collapse Help
 * 15) Template:CP Comment
 * 16) Template:CP CommentFormatHelp
 * 17) Template:CP Comment Formatter
 * 18) Template:CP Custom Format Formatter
 * 19) Template:CP Custom Help Formatter
 * 20) Template:CP Custom Help Help
 * 21) Template:CP Custom Index
 * 22) Template:CP Custom Index Formatter
 * 23) Template:CP Custom Indexer
 * 24) Template:CP Custom Template Help
 * 25) Template:CP Default Header
 * 26) Template:CP Forum
 * 27) Template:CP Forum Formatter
 * 28) Template:CP ForumPost
 * 29) Template:CP ForumReplies
 * 30) Template:CP ForumReply
 * 31) Template:CP ForumReplyPost Help
 * 32) Template:CP ForumTopic
 * 33) Template:CP ForumTopic Help
 * 34) Template:CP Header
 * 35) Template:CP Header Formatter
 * 36) Template:CP Header Help
 * 37) Template:CP Help
 * 38) Template:CP Help/CP Header
 * 39) Template:CP MasterForum
 * 40) Template:CP MasterForum Formatter
 * 41) Template:CP MasterForum Help
 * 42) Template:CP Menu
 * 43) Template:CP Menu Formatter
 * 44) Template:CP Menu Page Help
 * 45) Template:CP Movie Database Help
 * 46) Template:CP New Comment Help
 * 47) Template:CP New Custom Format Help
 * 48) Template:CP New Custom Index Help
 * 49) Template:CP New Forum Help
 * 50) Template:CP New Page Index Help
 * 51) Template:CP Organiser Help
 * 52) Template:CP Page
 * 53) Template:CP Page Index
 * 54) Template:CP PageIndexer
 * 55) Template:CP PageIndexer Help
 * 56) Template:CP Page Index Formatter
 * 57) Template:CP Plain
 * 58) Template:CP Plain Formatter
 * 59) Template:CP Plain Page Help
 * 60) Template:CP Sandbox Formatter
 * 61) Template:CP Sandbox Help
 * 62) Template:CP SandboxID Help
 * 63) Template:CP SandboxSetup
 * 64) Template:CP Superlist
 * 65) Template:CP Superlist Formatter
 * 66) Template:CP Superlist Help
 * 67) Template:CP UserComment
 * 68) Template:CP UserCommentFormatter
 * 69) Template:CP UserLegend
 * 70) Template:CP UserLegendHelp
 * 71) Template:Example/CP Header
 * 72) Template:Please leave this line alone and write below (this is the coloured heading)

ORGANISER

 * 1) Template:Calendar/To Do/CP Custom
 * 2) Template:Calendar/To Do/CP Custom Formatter
 * 3) Template:Calendar/To Do/CP Custom Help
 * 4) Template:Contacts/CP Custom
 * 5) Template:Contacts/CP Custom Formatter
 * 6) Template:Contacts/CP Custom Help
 * 7) Template:Contacts/CP Header
 * 8) Template:CP Annual
 * 9) Template:CP Annual Help
 * 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 Day
 * 16) Template:CP Day Help
 * 17) Template:CP Event Cal Box
 * 18) Template:CP Event List
 * 19) Template:CP Event List Formatter
 * 20) Template:CP Event List Help
 * 21) Template:CP Month
 * 22) Template:CP Month Formatter
 * 23) Template:CP Month Help
 * 24) Template:CP Planner
 * 25) Template:CP Planner Box
 * 26) Template:CP Planner Formatter
 * 27) Template:CP Planner Help
 * 28) Template:CP Small Cal
 * 29) Template:CP Small Cal Box
 * 30) Template:CP Status Bluef
 * 31) Template:CP Status Completed
 * 32) Template:CP Status Greenf
 * 33) Template:CP Status Help
 * 34) Template:CP Status Late
 * 35) Template:CP Status Orangef
 * 36) Template:CP Status Redf
 * 37) Template:CP Threshold Help
 * 38) Template:CP To Do Help
 * 39) Template:CP Today
 * 40) Template:CP TZ Formatter
 * 41) Template:CP TZ Help
 * 42) Template:CP Undated Formatter
 * 43) Template:CP Undated Help

MOVIES
- Protect ALL the above files once imported -
 * 1) Template:!-
 * 2) Template:CP Movie
 * 3) Template:CP MovieFormatter
 * 4) Template:CP Movie Guide To Editing
 * 5) Template:CP Movie Help
 * 6) Template:CP MoviePageMaker
 * 7) Template:CP Movie People
 * 8) Template:CP Movie People Help
 * 9) Template:CP Movie PM Formatter
 * 10) Template:CP Movie PM Help
 * 11) Template:CP MoviePeopleFormatter
 * 12) Template:CP Small Help
 * Upload the image files (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.

Timezone
Ensure that you leave the rest of the page intact. -
 * Used for "off the web" installations with the Organiser to fix Timezone discrepancies.
 * Enter the difference from GMT in the following format:  + 11 hours  at the very beginning of the page before the   tag.

Download
- -
 * The CP Control Panel.xml file and the add-on xml files are all contained in the one file and are available for Download in ZIP format.
 * Last update 17 Nov 08 - Ver 1.01.0
 * DOWNLOAD PAGE 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.
 * 1.01.3
 * Fixed missing Page selectors for various list pages. Also added sort feature to those that didnt have it.
 * Annual Events now show on the Master Event List calendar
 * Custom Pages option is now a Custom Page Indexer capable of generating custom pages.
 * Used the Custom Page Indexer to create a Simple Contact Database that links to the Calendar for birthdays and meetings.
 * Pages removed:
 * Template:CP Custom
 * Template:CP Custom Formatter
 * Template:CP Custom Help
 * Template:CP Custom/Help
 * Template:CP Custom/Template
 * Added a Local Timezone Setting
 * Template list now in 2 sections. Core and Organiser. Organiser is optional.
 * Added a To Do list. This will undergo extensive changes in the near future.
 * Added a small calendar.
 * Added Movie Database
 * Added a Category Browser
 * Pages Removed:
 * Template:CP Main Index
 * Template:CP Main Index Formatter
 * Template:CP Main Index Help
 *  1.01.4  - 27 Nov 2008
 * by Archibald Horatio Vilanos III