Extension:DynBox
From MediaWiki.org
|
|
This extension is currently not actively maintained! Meaning any reports for additional features and/or bugfixes will more than likely be ignored. Volunteers are encouraged to take on the task of developing and maintaining it. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
| This extension stores its source code on a wiki page. Please be aware that this code may be unreviewed or maliciously altered. They may contain security holes, outdated interfaces that are no longer compatible etc. Note: No localisation updates are provided for this extension by Translatewiki.net. |
|
DynBox Release status: stable |
||
|---|---|---|
| Implementation | Tag, MyWiki | |
| Description | Display customisable Dynamic HTML CSS boxes | |
| Author(s) | Romain GEORGES (Lecidtalk) | |
| Latest version | 0.4 (2013-05-21) | |
| MediaWiki | 1.5.6+ | |
| Database changes | No | |
| License | BSD | |
| Download | DynBox.php Changelog |
|
| Example | diablotins.org | |
|
||
|
||
|
Translate the DynBox extension if it is available at translatewiki.net |
||
| Check usage and version matrix; code metrics |
The DynBox extension allows to display customisable Dynamic HTML CSS boxes for messages and news. It is a parser hook for MediaWiki who helps to edit Mouse:Hover "Pop-up" boxes for news or flash displays.
Contents
Installation[edit | edit source]
- Copy the code from the page with the code
- Place the code in a file called
DynBox.php - Create a directory
DynBoxin your$IP/extensionsdirectory - Move the file to this
$IP/extensions/DynBoxdirectory - Add to the end of LocalSettings.php:
require_once("$IP/extensions/DynBox/DynBox.php");
- Installation can now be verified through Special:Version on your wiki
Usage[edit | edit source]
DynBox put Div in absolute CSS mode, so in your Wiki code add anywhere :
<dynbox title="My Title" posx=XXpx posy=XXpx iconcolor="color" iconbgcolor="color" boxcolor="color" boxbgcolor="color" color="color" bgcolor="color"> some text </dynbox>
Configuration[edit | edit source]
- title
- title of the icon
- 'some text
- content of the news box
- posx
- CSS compatible right-from position
- posy
- CSS compatible top-from position
- iconcolor
- text icon color
- iconbgcolor
- background icon color
- boxcolor
- title of the popped box color
- boxbgcolor
- border of the popped box color
- color
- text in the popped box color
- bgcolor
- background of the popped box color
Changelog[edit | edit source]
- 0.3 → 0.4: 21 May 2013 - Sanitizing user input by TK-999
- 0.2 → 0.3: 25 December 2008 - code cleanup by Sayuri
- 0.1 → 0.2: 31 March 2006 - correction : CSS overwriting, rand salt value adding in CSS Class name by Lecid

