Closed (fixed)
Project:
Smileys
Version:
5.x-1.2-beta
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Aug 2008 at 23:03 UTC
Updated:
6 Sep 2008 at 14:49 UTC
When the smileys block is displayed it is always "expanded". Is there a way (a setting? a patch?) so that it will display as collapsed by default?
Comments
Comment #1
stokito commentedSet 'smileys_select_box_expanded' variable to FALSE
Comment #2
rkdesantos commentedThanks for the help, and pardon my ignorance, but I don't see that variable anywhere in the module, js, or css code. Do I need to add it, and where?
(And I am referring to the "block" display, not the "box" that appears on edit pages.)
Comment #3
rkdesantos commentedIs there additional info I need to supply? I think I can make the change suggested but first I need to know where to make it...
Comment #4
Gurpartap Singh commentedYou'll have to set '#collapsed' => TRUE for the $form['smileys'] array in function smileys_table() { ... }.
Comment #5
rkdesantos commentedThanks, that worked. Much appreciated.