User:Archy~mediawikiwiki/CP Control Panel

Introduction
CP Control Panel allows you to easily create several 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.

You can make multiple instances of each type of page.

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 must be placed in the MAIN NAMESPACE. It lets you have multiple Event Calendars for different purposes.

The page styles available are:
 * Page Indexer (Forum without replies)
 * Forum Area (with replies)
 * Comment Page
 * 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)

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

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:

Pages to be created by the Admin
The Page names can be anything for these pages.

Copy and paste the code fragment for the required page 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. - - Protect ALL the above files once imported -
 * 1) CP Control Panel
 * 2) Template:CP
 * 3) Template:CP Annual
 * 4) Template:CP Annual Help
 * 5) Template:CP Background Colour Help
 * 6) Template:CP Bgd Formatter
 * 7) Template:CP Cal Box
 * 8) Template:CP Calendar
 * 9) Template:CP Calendar Box
 * 10) Template:CP Calendar Formatter
 * 11) Template:CP Calendar Help
 * 12) Template:CP Collapse
 * 13) Template:CP Collapse Formatter
 * 14) Template:CP Collapse Help
 * 15) Template:CP Comment
 * 16) Template:CP CommentEdit Help
 * 17) Template:CP Comment Formatter
 * 18) Template:CP Custom
 * 19) Template:CP Custom Formatter
 * 20) Template:CP Custom Help
 * 21) Template:CP Custom/Help
 * 22) Template:CP Custom/Template
 * 23) Template:CP Day
 * 24) Template:CP Day Help
 * 25) Template:CP Default Header
 * 26) Template:CP Event Cal Box
 * 27) Template:CP Event List
 * 28) Template:CP Event List Formatter
 * 29) Template:CP Event List Help
 * 30) Template:CP Forum
 * 31) Template:CP Forum Formatter
 * 32) Template:CP ForumPost
 * 33) Template:CP ForumReplies
 * 34) Template:CP ForumReply
 * 35) Template:CP ForumReplyPost Help
 * 36) Template:CP ForumTopic
 * 37) Template:CP ForumTopic Help
 * 38) Template:CP Header
 * 39) Template:CP Header Formatter
 * 40) Template:CP Header Help
 * 41) Template:CP Help
 * 42) Template:CP Help/CP Header
 * 43) Template:CP Main Index
 * 44) Template:CP Main Index Formatter
 * 45) Template:CP Main Index Help
 * 46) Template:CP MasterForum
 * 47) Template:CP MasterForum Formatter
 * 48) Template:CP MasterForum Help
 * 49) Template:CP Menu
 * 50) Template:CP Menu Formatter
 * 51) Template:CP Menu Page Help
 * 52) Template:CP Month
 * 53) Template:CP Month Formatter
 * 54) Template:CP Month Help
 * 55) Template:CP New Comment Help
 * 56) Template:CP New Forum Help
 * 57) Template:CP New Page Index Help
 * 58) Template:CP Page
 * 59) Template:CP Page Index
 * 60) Template:CP PageIndexer
 * 61) Template:CP PageIndexer Help
 * 62) Template:CP Page Index Formatter
 * 63) Template:CP Plain
 * 64) Template:CP Plain Formatter
 * 65) Template:CP Plain Page Help
 * 66) Template:CP Planner
 * 67) Template:CP Planner Box
 * 68) Template:CP Planner Formatter
 * 69) Template:CP Planner Help
 * 70) Template:CP Superlist
 * 71) Template:CP Superlist Formatter
 * 72) Template:CP Superlist Help
 * 73) Template:CP Today
 * 74) Template:CP UserComment
 * 75) Template:CP UserCommentFormatter
 * 76) Template:Example/CP Header
 * 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