I love the functionality provided by Logintoboggan, and it's collapsable login block. Is there any way to force the default state of the block to expanded instead of collapsed?

Thanks in advance,

G^2

Comments

pwolanin’s picture

below is a link to a little module make your own collapsible login block. You can use a similar mini-module with hook_form_alter to change the value of collapsed to FALSE, once you determine the form_id:

http://drupal.org/node/78243

---
Work: BioRAFT

vm’s picture

if you go to the configuration of the logintoboggan block itself, you have collapsible behaviors.

None, Collapsible, expanded by default, and collapsible, collapsed by default.

** edit: it just dawned on me that the above discussed functionality may have come from jstools. If you don't have the above setting, in your config, blocks area. install jstools and active the collapsible blocks module. this will allow all of your blocks to be collapsible or expanded based on user choice, or admin choice.

jasonwhat’s picture

I thought the setting to set the login toboggan login as always expanded was a core setting of the module. I believe the module uses it's own bit of js or simple Drupal js and does not require jstools or another module for this functionality. I haven't checked recently, but this is my recollection.

gsquared’s picture

I don't have Javascript Tools installed, and the configuration for the logintoboggan block doesn't have the options you described, so I'm gathering that you are correct and the functionality is being provided by jstools and is not intrinsic to the logintoboggan module. As jasonwhat notes below the module is apparently using its own bit of logic to provide the collapsable functionality, and I was hoping that someone could point me to a quick hack to the module that would make the default expanded instead of collapsed.