PluginRemarkBox icon feature is broken
- Status
- Open
- Subject
- PluginRemarkBox icon feature is broken
- Version
- 12.x Regression
15.x Regression - Category
- Regression
- Feature
- Wiki Plugin (extends basic syntax)
- Resolution status
- New
- Submitted by
- WizarDave
- Lastmod by
- WizarDave
- Rating
- Description
See this forum discussion: https://tiki.org/forumthread60794?topics_offset=1
PluginManager returns this info:
icon - url - Enter a Tiki icon file name (with or without extension) or path to display a custom icon This does not work.
You can only change the icon by editing /lib/smarty_tiki/block.remarksbox.php
switch ($type) {
case 'warning':
$class = 'alert-warning';
$icon = 'warning'; <<<You can change the icon by changing this, but see Note 1
break;
...Note 1. This is not the icon name. It is the icon name as defined in /themes/base_files/iconsets/default.php
Ex. 'admin' => array(
'id' => 'cog',
'admin' is what you must call in the above block.remarksbox.php code, if you want to see the cog icon.
If the icon you want to use has not been defined in this file, you must manually modify the file to include your wanted definition.I'm setting the Easy to solve? at 5 even though I do offer...
A quick 5 minute temporary fix would be to update the function info() in /lib/wiki-plugins/wiki/pluginin_remarksbox.php- Currently it is not an option, so actually I guess it could be removed.
- But some sort of note could be made with a bit of the above info.
You must be a server admin to be able to change the icon at this point.
The longer term solution is to find out what actually caused the problem.
- Rick Sapir noted "...works in 9LTS, but not 12LTS or 15.x. Maybe a regression?..."
- Currently it is not an option, so actually I guess it could be removed.
- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6086
- Created
- Wednesday 17 August, 2016 01:00:26 UTC
by WizarDave - LastModif
- Wednesday 17 August, 2016 01:00:26 UTC