Re: Re: Re: adding collapsable function to existing modules
> Hi Gary, thanks for the info.
> I've tried, but it seems to work only on some styles. For me (Tiki 1.9.0), it worked on tikineat, but not on moreneat, simple, damian, redmetal.
> There must be something added to the tpl's, I guess...
Yeah, I had a quick look at the templates; damian and simple have their own module.tpl files, which do contain code for collapsing the modules, but the code is not the same as what's in the default module.tpl. If you want to experiment, you could temporarily delete or rename the module.tpl file in a theme where module-flipping isn't working (if that theme has its own module.tpl file) to force it to use the default file, and see if the collapsing starts working. Of course other aspects of the theme's modules could change too, maybe not in a good way, but at least you'd know where the collapse hang-up lies. (Moreneat doesn't have it's own module.tpl file, so I don't know what could be happening there, and I don't have Redmetal around to check right now.)
-- Gary