In certain instances when editing a page through the text editor (or creating a new blog post), with the wysiwyg-available available (though hidden) the smilies field is not displayed.
The problem is probably due to the fact that the variable $wysiwyg contains an 'n' if the editor is hidden while in some instances the value is NULL. This is probably because if the wysiwyg feature in admin-features is disabled then the $wysiwyg value is NULL, but if it is enabled but hidden the value is 'n'.
There is a conditional in templates/tiki-editpage.tpl that does not take this into account.
(The problem may be present in other versions as well)
In order to resolve the issue in in templates/tiki-editpage.tpl
replace
{if $prefs.feature_smileys eq 'y'&&(!$wysiwyg}
with
{if $prefs.feature_smileys eq 'y'&&(!$wysiwyg || $wysiwyg eq 'n')}
The later conditional checks for the NULL value as well as the 'n' value
NOTE: the same faulty conditional may be found in templates/tiki-blog_post.tpl and posibly other places as well!!! templates/tiki-view_forum.tpl uses several calls to check for smilies as well but I haven't examined these.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |