The field with the smilies does not appear in places where they should be available
- Status
- Pending
- Subject
- The field with the smilies does not appear in places where they should be available
- Version
- 1.9.x
2.x - Category
- Usability
- Feature
- Blog
Forum
WYSIWYG (What You See is What You Get)
Wiki Syntax (text area, parser, external wiki, etc) - Resolution status
- New
- Submitted by
- zorp
- Rating
- Description
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)
- Solution
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.
- Importance
- 3
- Priority
- 15
- 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
- 1786
- Created
- Tuesday 27 May, 2008 13:03:30 UTC
by Unknown - LastModif
- Tuesday 27 May, 2008 13:03:30 UTC