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?
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.