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

[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 ... Other wise it will load as ... The result is that navigation pane

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

2008-03-18 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Sergiu Dumitriu wrote: > Well, that is what I meant by fixing the js. Thanks. > > [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Thanks, Sergiu. There is still at least a change lacking. This is why I've not created the Jira Issue yet. In its current state, $initialState must be set in e

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

2008-03-18 Thread Sergiu Dumitriu
Well, that is what I meant by fixing the js. Thanks. [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: > 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

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-15 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi, Sergiu Dumitriu wrote: > Can you try and fix the js? > Thanks > I see updateName() extensively used in XWiki to remove spaces and "forbidden characters" from document titles and I was wondering if this XWiki helper javascript method could be used to remove spaces from panels names. I h

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

2008-03-14 Thread Joao Henrique Silva Santos
wow, just like that :) Thanks! I think I'll make a post on the FAQ. Joao On 13/03/2008, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote: > Joao Henrique Silva Santos wrote: > > Hi, Ricardo > > > Thanks for your proposal to test my wiki. > > > > It's url is: > > http://baco.cfn.ist.utl.pt:8080/xwiki

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

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
Joao Henrique Silva Santos wrote: > Hi, Ricardo > Thanks for your proposal to test my wiki. > > It's url is: > http://baco.cfn.ist.utl.pt:8080/xwiki > > Currently, the panels on the left panel-column are using your macro, > and the ones at the right are using mine (only "XWiki tutorial" and > "Cr

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

2008-03-13 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Joao Henrique Silva Santos wrote: > 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 >

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

2008-03-13 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi, Joao Henrique Silva Santos wrote: > 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. So, the update is our best shot now! As for export, I think to exp

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 already

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 [Ricardo Rodriguez] Your EPEC Network ICT Team
Joao Henrique Silva Santos wrote: > Hi, Ricardo > Thanks for your proposal to test my wiki. > > It's url is: > http://baco.cfn.ist.utl.pt:8080/xwiki > > Currently, the panels on the left panel-column are using your macro, > and the ones at the right are using mine (only "XWiki tutorial" and > "Crea

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

2008-03-13 Thread Joao Henrique Silva Santos
Hi, Ricardo Thanks for your proposal to test my wiki. It's url is: http://baco.cfn.ist.utl.pt:8080/xwiki Currently, the panels on the left panel-column are using your macro, and the ones at the right are using mine (only "XWiki tutorial" and "Create" are expanded by default). Some of them do beha

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 pane

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 t

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-12 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Joao, Joao Henrique Silva Santos wrote: > Finally, even a panel which uses the standard panelheader does not > behave properly. > Does anybody have a possible explanation / common problems? > > I am not able to reproduce what you are describing. The macro works fine for me. I've modified i

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

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 und

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'); togglePanelVisibility(this.par

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 thi

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 st

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

Re: [xwiki-users] collapsed panels

2008-03-05 Thread Sergiu Dumitriu
[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! :) >> > > Thanks, Vincent, >

Re: [xwiki-users] collapsed panels

2008-03-03 Thread Vincent Massol
On Mar 4, 2008, at 12:20 AM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: > 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 /te

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

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

Re: [xwiki-users] collapsed panels

2008-03-03 Thread [Ricardo Rodriguez]
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! :) > Thanks, Vincent, I'll do that as soon as I better und

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.

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

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

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 enjoy

Re: [xwiki-users] collapsed panels

2008-03-02 Thread Vincent Massol
On Mar 2, 2008, at 12:01 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: > 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 pos

[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, Ri