Re: [xwiki-users] Collapsed panels without java-script

2014-05-03 Thread Clemens Klein-Robbenhaar
On 04/30/2014 03:10 PM, Gerritjan Koekkoek wrote: As you know some internet people do not use javascript. The most important of all are the search-engines. Now we have modified the default behavior of panels If panel is of type navigation it will load with the following div div class=panel

[xwiki-users] Collapsed panels without java-script

2014-04-30 Thread Gerritjan Koekkoek
As you know some internet people do not use javascript. The most important of all are the search-engines. Now we have modified the default behavior of panels If panel is of type navigation it will load with the following div div class=panel collapsed MoreAboutCdls Navigation ... /div Other wise it

Re: [xwiki-users] collapsed panels (continued)

2008-03-17 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi, Sergiu Dumitriu wrote: Can you try and fix the js? Thanks I didn't fix the js, but this works for me. It works with any (well, at least one, two or three) white spaces between words in the panel document name. I've only removed the spaces from the cookieName by using the replace()

Re: [xwiki-users] collapsed panels (continued)

2008-03-13 Thread Joao Henrique Silva Santos
Hi. Thanks again for the detailed reply and your macro I tested different browsers (IE 7 , IE6, Firefox) in different machines (1 browser 1 machine). Also, i've modified the macros.vm to include the new macro. I will test your macro and post again when I'm done with testing. regard, Joao On

Re: [xwiki-users] collapsed panels (continued)

2008-03-13 Thread Joao Henrique Silva Santos
Hi, Ricardo I've tested your macro and it behaves just as before.. I guess I'll try to upgrade the wiki and see if it is one of the solved bugs. regards, Joao On 13/03/2008, Joao Henrique Silva Santos [EMAIL PROTECTED] wrote: Hi. Thanks again for the detailed reply and your macro I tested

Re: [xwiki-users] collapsed panels (continued)

2008-03-13 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Joao Henrique Silva Santos wrote: Hi, Ricardo I've tested your macro and it behaves just as before.. I guess I'll try to upgrade the wiki and see if it is one of the solved bugs. regards, Joao Could I access to your wiki to see how do the panels behave from here? I will set some panel in

Re: [xwiki-users] collapsed panels (continued)

2008-03-13 Thread Joao Henrique Silva Santos
Your site's panels do behave correctly. As for migrating to the war distribution, is there a way to export the whole current wiki? I only found how to export single pages to XAR file. Obrigado Joao On 13/03/2008, [Ricardo Rodriguez] Your EPEC Network ICT Team [EMAIL PROTECTED] wrote: Joao

Re: [xwiki-users] collapsed panels (continued)

2008-03-13 Thread Joao Henrique Silva Santos
Hi. I've upgraded the xwiki to 1.3 using the zip distribution, but since I could not find where I should make some changes on the albatross skin I copied the entire albatross folder. The problem with the panels is still there, but that could be due to a bug on the albatross skin (bug either

Re: [xwiki-users] collapsed panels (continued)

2008-03-13 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Sergiu Dumitriu wrote: Found the problem. The panels that have a space in the document name don't work. Cookie names cannot contain spaces, so when setting and checking the cookie the script should remove any spaces. Experience again! And systematic... :-) Thanks! Cheers, Ricardo --

Re: [xwiki-users] collapsed panels (continued)

2008-03-13 Thread Sergiu Dumitriu
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Sergiu Dumitriu wrote: Found the problem. The panels that have a space in the document name don't work. Cookie names cannot contain spaces, so when setting and checking the cookie the script should remove any spaces. Experience

Re: [xwiki-users] collapsed panels (continued)

2008-03-13 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Sergiu Dumitriu wrote: Can you try and fix the js? Thanks I'll try! Thanks. Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] collapsed panels (continued)

2008-03-12 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Joao! Sorry for being late with this answer... Joao Henrique Silva Santos wrote: Hi Ricardo. First, I would like to say thanks for the reply. The reason I didn't reply to the original thread is because I was not registered at the time, and so I did not have the post on my inbox to reply.

Re: [xwiki-users] collapsed panels (continued)

2008-03-11 Thread Joao Henrique Silva Santos
Okay, I've tested every single panel on my wiki, and I came to realize that some of the panels do behave properly (maintain their collapsed-status while browsing the wiki). Actually, all panels from the left panel-column and about half of the right panel-column do not behave properly. I do not

Re: [xwiki-users] collapsed panels (continued)

2008-03-10 Thread Joao Henrique Silva Santos
Hi Ricardo. First, I would like to say thanks for the reply. The reason I didn't reply to the original thread is because I was not registered at the time, and so I did not have the post on my inbox to reply. As for cookies, yes, my browser does accept them (I'm using firefox but there is also

Re: [xwiki-users] collapsed panels (continued)

2008-03-10 Thread Joao Henrique Silva Santos
I've opened again the the macros.vm file, and in fact the lines #set($expanded = $xwiki.getUserPreferenceFromCookie($cookieName)) and onclick=if(eltHasClass(this.parentNode, 'expanded')) createCookie('$cookieName','collapsed', ''); else eraseCookie('$cookieName');

[xwiki-users] collapsed panels (continued)

2008-03-07 Thread Joao Henrique Silva Santos
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 : On Mar 2, 2008, at 12:01 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Hi all, After googling for a while, I

Re: [xwiki-users] collapsed panels (continued)

2008-03-07 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
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

Re: [xwiki-users] collapsed panels

2008-03-03 Thread [Ricardo Rodriguez]
Hi, I've temporarily solved the issue by: 1. Creating a new macro.vm file and storing it in the folder of the skin used by the virtual xwiki. This avoid to modify the original macro.vm stored in /templates. 2. Creating a new macro: #panelheaderc. It is just the same code than #panelheader but

Re: [xwiki-users] collapsed panels

2008-03-03 Thread Vincent Massol
Hi Ricardo, On Mar 3, 2008, at 12:36 PM, [Ricardo Rodriguez] wrote: Hi, I've temporarily solved the issue by: 1. Creating a new macro.vm file and storing it in the folder of the skin used by the virtual xwiki. This avoid to modify the original macro.vm stored in /templates. 2.

Re: [xwiki-users] collapsed panels

2008-03-03 Thread Vincent Massol
On Mar 3, 2008, at 2:39 PM, [Ricardo Rodriguez] wrote: vmassol wrote: Yes you're right. I've checked and we have no panel macro that accepts a collapsed/expanded status. This would be a good addition. Feel free to create a jira issue for this and to attach a patch to it! :)

Re: [xwiki-users] collapsed panels

2008-03-03 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Vincent Massol wrote: You can use #includeMacros(maropagename) Used! It works fine with this line in each panel... #includeMacros(XWiki.Macros) XWiki.Macros contents the new macros and /templates/macro.vm remains untouched. I keep working on a panels macro that accepts a collapsed/expanded

[xwiki-users] collapsed panels

2008-03-02 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi all, After googling for a while, I realize that the collapsing/expanding trick is a quite vaste issue! Please, is it possible to force XWiki to deliver collapsed panels? Or even better: is it possible to set a panels to be delivered , by default, collapsed or expanded? Thanks! Cheers,

Re: [xwiki-users] collapsed panels

2008-03-02 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Vincent Massol wrote: Yes, that's what we do now :) Check in edit mode for example, there are panels that are collapsed. Edit those panels and you'll see how it's done. Moreover we even remember when a user has collapsed/expanded a panel in a cookie... :) I'm really starting to

Re: [xwiki-users] collapsed panels

2008-03-02 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Vincent Massol wrote: Yes, that's what we do now :) Check in edit mode for example, there are panels that are collapsed. Edit those panels and you'll see how it's done. Moreover we even remember when a user has collapsed/expanded