User:Archy/CP Control Panel

From MediaWiki.org
Jump to: navigation, search

Contents

[edit] 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)

[edit] Requirements

You will require the following addons installed and functional.

  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:
$wgParserConf['class'] = 'Parser_OldPP';
  • NOTE: The Year Planner needs the following line in your LocalSettings.php:
$wgExpensiveParserFunctionLimit = 1000;

[edit] 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 .

[edit] 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.
{{CP|Background Colour = {{CP Background Colour}}
|Links =
* [[About CP Control Panel|About CP]]
* [[Help:Colours|Colour Chart]] 
* [[Sandbox]]
* 
* 
* 
* 
* 
* 
}}

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


[edit] 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.


[edit] 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)

[edit] 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

[edit] CPO

  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

Protect ALL the above files once imported

  • Upload the image files (found in the CP.Zip file) to your wiki.

[edit] Background Colour

  • You can change the default background colour globally by editing the Template:CP Background Colour page.
    Replace the FIRST 6 DIGITS on the page with your 6 digit colour code.
  • 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
    Background Colour = {{{CP Background Colour}}} entry on the page.
    Replace the {{{CP Background Colour}}} part with a 6 digit colour code such as 000000 for black (replace the braces as well).

[edit] 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.

[edit] 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.


[edit] History


  • by Archibald Horatio Vilanos III
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox