Loading...
 
Skip to main content

Features / Usability


Re: Re: Re: Re: adding collapsable function to existing modules

I just upgraded to 1.9 and I LOVE this feature! I would like to flip the module by clicking on its name rather than the small icon as the icon interferes with the graphic style of the site, any idea on how to hack this?!

Thank you again!

OC

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