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 Organiser System comes with perpetual calendars and recurring events, to-do lists, journals and more.. and you can have multiple Organisers

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) Sandbox
 * 11) Movie Database
 * 12) Category Browser
 * 13) Organiser - Contacts, Event Calendar, To Do List, Daily Schedule, Recurring Events, Journal, Notes, Goals.

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) UrlGetParameters
 * 7) Common.js   Java script
 * 8) 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:CP Version
 * 72) Template:Example/CP Header
 * 73) Template:Please leave this line alone and write below (this is the coloured heading)

MOVIES

 * 1) Template:!-
 * 2) Template:CP Movie
 * 3) Template:CP Movie Cat Formatter
 * 4) Template:CP Movie Category
 * 5) Template:CP Movie Category Help
 * 6) Template:CP Movie Database
 * 7) Template:CP Movie DatabaseT
 * 8) Template:CP Movie DB Formatter
 * 9) Template:CP Movie DB Help
 * 10) Template:CP Movie Guide To Editing
 * 11) Template:CP Movie Help
 * 12) Template:CP Movie People
 * 13) Template:CP Movie People Help
 * 14) Template:CP MovieFormatter
 * 15) Template:CP MoviePeopleFormatter
 * 16) Template:CP Small Help

CPO
- Protect ALL the above files once imported -
 * 1) Template:CPO Calendar
 * 2) Template:CPO Calendar Box
 * 3) Template:CPO Calendar Formatter
 * 4) Template:CPO Calendar Help
 * 5) Template:CPO Contact
 * 6) Template:CPO Contact Formatter
 * 7) Template:CPO Contact Help
 * 8) Template:CPO Contacts
 * 9) Template:CPO Contacts Formatter
 * 10) Template:CPO Contacts Help
 * 11) Template:CPO Daily
 * 12) Template:CPO Daily Formatter
 * 13) Template:CPO Daily Help
 * 14) Template:CPO Daily Page
 * 15) Template:CPO Daily Page Formatter
 * 16) Template:CPO Daily Page Help
 * 17) Template:CPO Event Cal Box
 * 18) Template:CPO Event Cal Formatter
 * 19) Template:CPO Event Cal Help
 * 20) Template:CPO Event Calendar
 * 21) Template:CPO Event Formatter
 * 22) Template:CPO Event Help
 * 23) Template:CPO Goals Formatter
 * 24) Template:CPO Goals Help
 * 25) Template:CPO Journal
 * 26) Template:CPO Journal Formatter
 * 27) Template:CPO Journal Help
 * 28) Template:CPO Journal Page
 * 29) Template:CPO Journal Page Formatter
 * 30) Template:CPO Journal Page Help
 * 31) Template:CPO Menu
 * 32) Template:CPO Menu Formatter
 * 33) Template:CPO Menu Help
 * 34) Template:CPO Note Page
 * 35) Template:CPO Note Page Formatter
 * 36) Template:CPO Note Page Help
 * 37) Template:CPO Notes Index
 * 38) Template:CPO Notes Index Formatter
 * 39) Template:CPO Notes Index Help
 * 40) Template:CPO Planner
 * 41) Template:CPO Planner Box
 * 42) Template:CPO Planner Formatter
 * 43) Template:CPO Planner Help
 * 44) Template:CPO Status Bluef
 * 45) Template:CPO Status Closed
 * 46) Template:CPO Status Completed
 * 47) Template:CPO Status Greenf
 * 48) Template:CPO Status Help
 * 49) Template:CPO Status Late
 * 50) Template:CPO Status Orangef
 * 51) Template:CPO Status Redf
 * 52) Template:CPO Task
 * 53) Template:CPO Task Formatter
 * 54) Template:CPO Task Help
 * 55) Template:CPO Threshold Help
 * 56) Template:CPO Tiny Box
 * 57) Template:CPO Tiny Cal
 * 58) Template:CPO To Do
 * 59) Template:CPO To Do Formatter
 * 60) Template:CPO To Do Help
 * 61) Template:CPO Today
 * 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.

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
 * 1.01.5
 * Added a freestyle section to Menu pages
 * reworked the Movie Database page.
 * Pages removed:
 * Template:CP MoviePageMaker
 * Template:CP Movie PM Formatter
 * Template:CP Movie PM Help
 * Added an Infobox to the Custom Indexer
 * Complete overhaul of the Organiser and specifically the Calendars
 * Added Notes
 * Added Journal
 * Added Daily Scheduler
 * Added Today view to Organiser menu
 * Added Goals Page
 * New requirement Extension UrlGetParameters
 * Pages removed:
 * Template:Calendar/To Do/CP Custom
 * Template:Calendar/To Do/CP Custom Formatter
 * Template:Calendar/To Do/CP Custom Help
 * Template:Contacts/CP Custom
 * Template:Contacts/CP Custom Formatter
 * Template:Contacts/CP Custom Help
 * Template:Contacts/CP Header
 * Template:CP Annual
 * Template:CP Annual Help
 * Template:CP Cal Box
 * Template:CP Calendar
 * Template:CP Calendar Box
 * Template:CP Calendar Formatter
 * Template:CP Calendar Help
 * Template:CP Day
 * Template:CP Day Help
 * Template:CP Event Cal Box
 * Template:CP Event List
 * Template:CP Event List Formatter
 * Template:CP Event List Help
 * Template:CP Month
 * Template:CP Month Formatter
 * Template:CP Month Help
 * Template:CP Planner
 * Template:CP Planner Box
 * Template:CP Planner Formatter
 * Template:CP Planner Help
 * Template:CP Small Cal
 * Template:CP Small Cal Box
 * Template:CP Status Bluef
 * Template:CP Status Completed
 * Template:CP Status Greenf
 * Template:CP Status Help
 * Template:CP Status Late
 * Template:CP Status Orangef
 * Template:CP Status Redf
 * Template:CP Threshold Help
 * Template:CP To Do Help
 * Template:CP Today
 * Template:CP TZ Formatter
 * Template:CP TZ Help
 * Template:CP Undated Formatter
 * Template:CP Undated Help
 *  1.01.6  - 04 Dec 2008
 * by Archibald Horatio Vilanos III