Hello Lynne and everyone,
The smiliebox is causing havoc for me, so there are a couple of pages where I'd like it not to appear. I've worked out how to make it disappear for one of them, but I don't know how to make this happen for both.
Editing the template editor_ckeditor, every time it says 'if smiliebox' I add an extra condition:
<vb:if condition="$smiliebox" AND condition="THIS_SCRIPT != 'profile'">
That fixes it for the edit signature box. Smiliebox gone, editor full width.
But how can I make it so that the condition applies if there is a smiliebox and if I'm not on either the profile page or the showwiki page?
Huge thanks for any help.
~~~~~
Update:
I was using 'AND' because an earlier post on this thread said it was possible. Well... at least for me, it didn't work. I tried it both with and without the 'condition=' following. The result's always the same: only the final condition before the > is applied, none of the others. The example I gave above did indeed remove the smiliebox from the profile, but it had removed the first condition (which meant the smiliebox was appearing in all other editors eg quickreply). Didn't notice that until later...
The only way I found to apply three conditions was to create three nested 'ifs'. Not pretty, but it works.
Thanks to BBR-APBT for the original post!
|