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 List (shows a list of all posts in all forum areas)
 * 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 = 500;
 * 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 -
 * CP Control Panel
 * Template:CP
 * Template:CP Background Colour Help
 * Template:CP Bgd Formatter
 * Template:CP Cal Box
 * Template:CP Calendar
 * Template:CP Calendar Box
 * Template:CP Calendar Formatter
 * Template:CP Calendar Help
 * Template:CP Collapse
 * Template:CP Collapse Formatter
 * Template:CP Collapse Help
 * Template:CP Comment
 * Template:CP CommentEdit Help
 * Template:CP Comment Formatter
 * Template:CP Custom
 * Template:CP Custom Formatter
 * Template:CP Custom 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 Forum
 * Template:CP Forum Formatter
 * Template:CP ForumPost
 * Template:CP ForumReplies
 * Template:CP ForumReply
 * Template:CP ForumReplyPost Help
 * Template:CP ForumTopic
 * Template:CP ForumTopic Help
 * Template:CP Header
 * Template:CP Header Formatter
 * Template:CP Header Help
 * Template:CP Help
 * Template:CP Main Index
 * Template:CP Main Index Formatter
 * Template:CP Main Index Help
 * Template:CP MasterForum
 * Template:CP MasterForum Formatter
 * Template:CP MasterForum Help
 * Template:CP Menu
 * Template:CP Menu Page Help
 * Template:CP Month
 * Template:CP Month Formatter
 * Template:CP Month Help
 * Template:CP New Comment Help
 * Template:CP New Forum Help
 * Template:CP New Page Index Help
 * Template:CP Page
 * Template:CP Page Index
 * Template:CP PageIndexer
 * Template:CP PageIndexer Help
 * Template:CP Page Index Formatter
 * Template:CP Plain
 * Template:CP Plain Formatter
 * Template:CP Plain Page Help
 * Template:CP Planner
 * Template:CP Planner Box
 * Template:CP Planner Formatter
 * Template:CP Planner Help
 * Template:CP Superlist
 * Template:CP Superlist Formatter
 * Template:CP Superlist Help
 * Template:CP Today
 * Template:CP UserComment
 * Template:CP UserCommentFormatter
 * 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.
 * 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 13 Nov 08 - Ver 1.00.6
 * DOWNLOAD LINK
 * My Wiki
 * 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