Hi João,
Joao Henrique Silva Santos wrote:
I want to maintain the
"expanded/collapsed"-status of my panels when
surfing my xwiki.
I've seen the post
http://lists.xwiki.org/pipermail/users/2008-March/010746.html :
I think it would be ok to follow the original thread ;-)
To maintain the status while surfing the wiki is the default behavior.
Do you get a different thing? Does your browser accept cookies?
However, I can't see the code used for XWiki panels since I can't
enter edit mode.
I really want to see how to implement those cookies, so if I'm looking
in the wrong place, where can I search it?
I read "your wiki", thus if you have installed it I don't understand why
can you not enter edit mode? Even tough you have installed the default
.xar, you can gain access by using Admin as username and admin as
pasword. See this...
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallin…
The code controlling status cookies is in macro.vm template. Look for it
in the /templates folder under /xwiki. You must want to find macros
panelheader and largepaneheader.
Hope this helps,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team