TinyPortal
Development => Resources => Topic started by: uniektekniek on January 27, 2010, 03:40:04 AM
im using the default theme and im just wondering where i'd find the code to set the header to collapsed when the page loads... like when you click it opens rather than closes..
If the theme is not saving the header upshrink it sounds like you have a different problem. When you shrink the header, it should not expand when you reload the page or go to another page.
If that is not your problem, then I would suggest a search at SMF since it was the default theme you're asking about. :)
http://www.simplemachines.org/community/index.php?topic=237013.0
thank you
I was looking to do the same thing a few days ago, and someone in the forum gave me this tip... it works...
go into the index.template.php, Find the collapse_header section in there and just reverse the false / true like below:
empty($options['collapse_header']) ? 'true' : 'false