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

stokito’s picture

Set 'smileys_select_box_expanded' variable to FALSE

rkdesantos’s picture

Thanks 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.)

rkdesantos’s picture

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

Gurpartap Singh’s picture

Status: Active » Fixed

You'll have to set '#collapsed' => TRUE for the $form['smileys'] array in function smileys_table() { ... }.

rkdesantos’s picture

Status: Fixed » Closed (fixed)

Thanks, that worked. Much appreciated.