Re: [xwiki-users] struggling to understand panels expanding initial state

2011-03-28 Thread Lockie
Ricardo Rodríguez wrote: Please, Lockie, how to you get a collapsed panel at page loading time being later on controlled by a cookie? I mean, panel A appears collapsed when you access the site for the first time. From this moment onwards, a cookie will remember the preferences of each

Re: [xwiki-users] struggling to understand panels expanding initial state

2011-03-12 Thread Ricardo Rodriguez [eBioTIC.]
Thanks Raluca! Please, see below. On 3/7/11 7:51 AM, Raluca Stavro wrote: Hello, On Mon, Mar 7, 2011 at 12:39 AM, Ricardo Rodriguez [eBioTIC.] ricardo.rodrig...@ebiotic.net mailto:ricardo.rodrig...@ebiotic.net wrote: Hi all! I'm still struggling to understand how

Re: [xwiki-users] struggling to understand panels expanding initial state

2011-03-07 Thread Lockie
Ricardo Rodríguez wrote: #if(!$expanded) #set($expanded = 'collapsed') #end Thanks I found this helpful. It means I don't have to have javascript extensions collapsing the panels, slowing down load times. - Lockie -- View this message in context:

[xwiki-users] struggling to understand panels expanding initial state

2011-03-06 Thread Ricardo Rodriguez [eBioTIC.]
Hi all! I'm still struggling to understand how expanded/collapsed state of panels do work. I'm currently using a 2.4.30451 XE/XEM installation. Looking for macros controlling this state in macros.vm, I see: *** #macro(panelheader $title) #set($cookieName =

Re: [xwiki-users] struggling to understand panels expanding initial state

2011-03-06 Thread Raluca Stavro
Hello, On Mon, Mar 7, 2011 at 12:39 AM, Ricardo Rodriguez [eBioTIC.] ricardo.rodrig...@ebiotic.net wrote: Hi all! I'm still struggling to understand how expanded/collapsed state of panels do work. I'm currently using a 2.4.30451 XE/XEM installation. Looking for macros controlling this