Re: [xwiki-users] Toucan and rico accordian?
Hi, Rico has been deleted. The Javascript code is still called by the Panel or the Page (stored in a DB and therefore still the same as it was in version 1.1), however the .js file has been deleted from the skin directory. You need to change the page code wherever it appears and change it to something like : <div id="xwikihelpgroupsHeader" class="accordionTabTitleBar">[Title of the subpart]</div> <div id="xwikihelpgroupsContent" class="accordionTabContentBox">Text in the subpart</div> Hope it helped, Sebastien
Date: Wed, 11 Jun 2008 11:23:49 +0100 From: Joe <[email protected]> Subject: [xwiki-users] Toucan and rico accordian? To: "XWiki Users" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1
Hello all xwiki'ers
I've recently upgraded from 1.1 to 1.4, and am keen on using the toucan skin.. but I can't seem to get the rico/accordian feature working. On Albatross, this is setup by just adding a bit of script, but this doesn't seem to be the case on toucan.
Has Rico been removed? Or do I need to enable it somehow?
------------------------------
Message: 3 Date: Wed, 11 Jun 2008 12:45:42 +0200 From: Vincent Massol <[email protected]> Subject: Re: [xwiki-users] Failed to change the Lucene Index Dir To: XWiki Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi,
I've just tested this on both Jetty and Tomcat and it worked fine. I only changed the xwiki.cfg by adding: xwiki.plugins.lucene.indexdir=/tmp/lucene
So maybe the problem is that you're on windows. Maybe the directory doesn't exist and fails to be created for some reason. What do the tomcat and xwiki logs say?
Thanks -vVncent
On Jun 11, 2008, at 6:40 AM, lidan wrote:
I installed XWiki 1.4.1 with tomcat and mysql. I followed
http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePlugin
to change the index directory. For example, xwiki.plugins.lucene.indexdir=D:/lucene . I changee the dir, saved xwiki.cfg and restarted xwiki. But the index still in the tomcat/ work/luc
-- Sébastien Fieux [email protected] +336 78 08 06 62
Ok.. that makes (some) sense. Will try that out - thanks. One other thing pops in my head then, how do I automatically expand/collapse the feature (like previously used to be new Rico.Accordion( 'xwikinav', {panelHeight:'100',onLoadShowTab:'${activeTabNumber}'} )) ? On Wed, Jun 11, 2008 at 2:04 PM, Sebastien Fieux <[email protected]> wrote:
Hi,
Rico has been deleted. The Javascript code is still called by the Panel or the Page (stored in a DB and therefore still the same as it was in version 1.1), however the .js file has been deleted from the skin directory. You need to change the page code wherever it appears and change it to something like :
<div id="xwikihelpgroupsHeader" class="accordionTabTitleBar">[Title of the subpart]</div> <div id="xwikihelpgroupsContent" class="accordionTabContentBox">Text in the subpart</div>
Hope it helped,
Sebastien
Date: Wed, 11 Jun 2008 11:23:49 +0100 From: Joe <[email protected]> Subject: [xwiki-users] Toucan and rico accordian? To: "XWiki Users" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1
Hello all xwiki'ers
I've recently upgraded from 1.1 to 1.4, and am keen on using the toucan skin.. but I can't seem to get the rico/accordian feature working. On Albatross, this is setup by just adding a bit of script, but this doesn't seem to be the case on toucan.
Has Rico been removed? Or do I need to enable it somehow?
------------------------------
Message: 3 Date: Wed, 11 Jun 2008 12:45:42 +0200 From: Vincent Massol <[email protected]> Subject: Re: [xwiki-users] Failed to change the Lucene Index Dir To: XWiki Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi,
I've just tested this on both Jetty and Tomcat and it worked fine. I only changed the xwiki.cfg by adding: xwiki.plugins.lucene.indexdir=/tmp/lucene
So maybe the problem is that you're on windows. Maybe the directory doesn't exist and fails to be created for some reason. What do the tomcat and xwiki logs say?
Thanks -vVncent
On Jun 11, 2008, at 6:40 AM, lidan wrote:
I installed XWiki 1.4.1 with tomcat and mysql. I followed
http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePlugin
to change the index directory. For example, xwiki.plugins.lucene.indexdir=D:/lucene . I changee the dir, saved xwiki.cfg and restarted xwiki. But the index still in the tomcat/ work/luc
-- Sébastien Fieux [email protected] +336 78 08 06 62 _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Why Rico has been deleted? Quoting Joe : Ok.. that makes (some) sense. Will try that out - thanks. One other thing pops in my head then, how do I automatically expand/collapse the feature (like previously used to be new Rico.Accordion( 'xwikinav', {panelHeight:'100',onLoadShowTab:'${activeTabNumber}'} )) ? On Wed, Jun 11, 2008 at 2:04 PM, Sebastien Fieux <[email protected]> wrote: > Hi, > > Rico has been deleted. The Javascript code is still called by the Panel or > the Page (stored in a DB and therefore still the same as it was in version > 1.1), however the .js file has been deleted from the skin directory. You > need to change the page code wherever it appears and > change it to something like : > > <div id="xwikihelpgroupsHeader" class="accordionTabTitleBar">[Title of the > subpart]</div> > <div id="xwikihelpgroupsContent" class="accordionTabContentBox">Text in the > subpart</div> > > Hope it helped, > > Sebastien > > > > Date: Wed, 11 Jun 2008 11:23:49 +0100 > > From: Joe <[email protected]> > > Subject: [xwiki-users] Toucan and rico accordian? > > To: "XWiki Users" <[email protected]> > > Message-ID: > > <[email protected]> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Hello all xwiki'ers > > > > I've recently upgraded from 1.1 to 1.4, and am keen on using the toucan > > skin.. but I can't seem to get the rico/accordian feature working. On > > Albatross, this is setup by just adding a bit of script, but this doesn't > > seem to be the case on toucan. > > > > Has Rico been removed? Or do I need to enable it somehow? > > > > > > ------------------------------ > > > > Message: 3 > > Date: Wed, 11 Jun 2008 12:45:42 +0200 > > From: Vincent Massol <[email protected]> > > Subject: Re: [xwiki-users] Failed to change the Lucene Index Dir > > To: XWiki Users <[email protected]> > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > > > Hi, > > > > I've just tested this on both Jetty and Tomcat and it worked fine. I > > only changed the xwiki.cfg by adding: > > xwiki.plugins.lucene.indexdir=/tmp/lucene > > > > So maybe the problem is that you're on windows. Maybe the directory > > doesn't exist and fails to be created for some reason. What do the > > tomcat and xwiki logs say? > > > > Thanks > > -vVncent > > > > On Jun 11, 2008, at 6:40 AM, lidan wrote: > > > > > > > > I installed XWiki 1.4.1 with tomcat and mysql. I followed > > http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePlugin > > > to change the index directory. For example, > > > xwiki.plugins.lucene.indexdir=D:/lucene . I changee the dir, saved > > > xwiki.cfg and restarted xwiki. But the index still in the tomcat/ > > > work/luc > > > > -- > Sébastien Fieux > [email protected] > +336 78 08 06 62 > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users Ar cieņu, Mihails Links: ------ [1] mailto:[email protected]
Doesn't seem to do anything when setting up the included? No collapsing, etc is getting done.. Alternatively, how do I graft the rico system back into toucan? On Wed, Jun 11, 2008 at 2:04 PM, Sebastien Fieux <[email protected]> wrote:
Hi,
Rico has been deleted. The Javascript code is still called by the Panel or the Page (stored in a DB and therefore still the same as it was in version 1.1), however the .js file has been deleted from the skin directory. You need to change the page code wherever it appears and change it to something like :
<div id="xwikihelpgroupsHeader" class="accordionTabTitleBar">[Title of the subpart]</div> <div id="xwikihelpgroupsContent" class="accordionTabContentBox">Text in the subpart</div>
Hope it helped,
Sebastien
Date: Wed, 11 Jun 2008 11:23:49 +0100 From: Joe <[email protected]> Subject: [xwiki-users] Toucan and rico accordian? To: "XWiki Users" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1
Hello all xwiki'ers
I've recently upgraded from 1.1 to 1.4, and am keen on using the toucan skin.. but I can't seem to get the rico/accordian feature working. On Albatross, this is setup by just adding a bit of script, but this doesn't seem to be the case on toucan.
Has Rico been removed? Or do I need to enable it somehow?
------------------------------
Message: 3 Date: Wed, 11 Jun 2008 12:45:42 +0200 From: Vincent Massol <[email protected]> Subject: Re: [xwiki-users] Failed to change the Lucene Index Dir To: XWiki Users <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi,
I've just tested this on both Jetty and Tomcat and it worked fine. I only changed the xwiki.cfg by adding: xwiki.plugins.lucene.indexdir=/tmp/lucene
So maybe the problem is that you're on windows. Maybe the directory doesn't exist and fails to be created for some reason. What do the tomcat and xwiki logs say?
Thanks -vVncent
On Jun 11, 2008, at 6:40 AM, lidan wrote:
I installed XWiki 1.4.1 with tomcat and mysql. I followed
http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePlugin
to change the index directory. For example, xwiki.plugins.lucene.indexdir=D:/lucene . I changee the dir, saved xwiki.cfg and restarted xwiki. But the index still in the tomcat/ work/luc
-- Sébastien Fieux [email protected] +336 78 08 06 62 _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Mihail, 2008/6/11 Mihails Agafonovs <[email protected]>:
Why Rico has been deleted?
There's an ongoing discussion (search for "javascript framework" on http://xwiki.markmail.org/ for more info) on which JS framework XWiki should standardize on. AFAIR right now the choice is to focus on rewriting every XWiki interface using Prototype + Scriptaculous. However once the Interface Extensions ( http://dev.xwiki.org/xwiki/bin/view/Design/InterfaceExtensions) will be ready I think you'll be able to plug and use the JS code of your choice for your applications... [snip] Hope this helps, Guillaume
I think it's a move in the right direction, standardization is good. However.. it still leaves me somewhat in the lurch as I want to use the toucan system (the page listed indicates this new project is a bit far down the line). Is there no method available in the current (1.4.1) toucan implementation for accordion style content inside a panel? On Wed, Jun 11, 2008 at 2:56 PM, Guillaume Lerouge <[email protected]> wrote:
Hi Mihail,
2008/6/11 Mihails Agafonovs <[email protected]>:
Why Rico has been deleted?
There's an ongoing discussion (search for "javascript framework" on http://xwiki.markmail.org/ for more info) on which JS framework XWiki should standardize on. AFAIR right now the choice is to focus on rewriting every XWiki interface using Prototype + Scriptaculous.
However once the Interface Extensions ( http://dev.xwiki.org/xwiki/bin/view/Design/InterfaceExtensions) will be ready I think you'll be able to plug and use the JS code of your choice for your applications...
[snip]
Hope this helps, Guillaume _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I guess there's 3 solutions : 1. Recommended one : look at the class edition page code (I'm not quite sure where that is though, Firebug might help you find it) and see how its rico accordion was replaced with a scriptaculous one 2. Second one : check on the Prototype / Scriptaculous websites how you can build an accordion 3. Other one : copy a rico.js file from an older XWiki distrib (say, 1.3) and paste it into your 1.4 wiki's albatross skin folder (YourWikiFolder > webapps > xwiki > skins > albatross) -> I guess this should make the JS resources available again... Though probably at the detriment of performance. Guillaume On Wed, Jun 11, 2008 at 4:11 PM, Joe <[email protected]> wrote:
I think it's a move in the right direction, standardization is good. However.. it still leaves me somewhat in the lurch as I want to use the toucan system (the page listed indicates this new project is a bit far down the line). Is there no method available in the current (1.4.1) toucan implementation for accordion style content inside a panel?
On Wed, Jun 11, 2008 at 2:56 PM, Guillaume Lerouge <[email protected]> wrote:
Hi Mihail,
2008/6/11 Mihails Agafonovs <[email protected]>:
Why Rico has been deleted?
There's an ongoing discussion (search for "javascript framework" on http://xwiki.markmail.org/ for more info) on which JS framework XWiki should standardize on. AFAIR right now the choice is to focus on rewriting every XWiki interface using Prototype + Scriptaculous.
However once the Interface Extensions ( http://dev.xwiki.org/xwiki/bin/view/Design/InterfaceExtensions) will be ready I think you'll be able to plug and use the JS code of your choice for your applications...
[snip]
Hope this helps, Guillaume _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks Guillaume, Actually, turns out it's even simpler; I followed the "Preferences" page. If I get some time this week, I'll put up a code snippet for using it. One tiny additional thing: how to define if I want to use vertical? The scriptaculous version supports this; and it would be useful to add this feature to the panel "navigation" - so that more view space can be easily acquired. On Wed, Jun 11, 2008 at 3:16 PM, Guillaume Lerouge <[email protected]> wrote:
I guess there's 3 solutions :
1. Recommended one : look at the class edition page code (I'm not quite sure where that is though, Firebug might help you find it) and see how its rico accordion was replaced with a scriptaculous one 2. Second one : check on the Prototype / Scriptaculous websites how you can build an accordion 3. Other one : copy a rico.js file from an older XWiki distrib (say, 1.3) and paste it into your 1.4 wiki's albatross skin folder (YourWikiFolder > webapps > xwiki > skins > albatross) -> I guess this should make the JS resources available again... Though probably at the detriment of performance.
Guillaume
On Wed, Jun 11, 2008 at 4:11 PM, Joe <[email protected]> wrote:
I think it's a move in the right direction, standardization is good. However.. it still leaves me somewhat in the lurch as I want to use the toucan system (the page listed indicates this new project is a bit far down the line). Is there no method available in the current (1.4.1) toucan implementation for accordion style content inside a panel?
On Wed, Jun 11, 2008 at 2:56 PM, Guillaume Lerouge <[email protected]> wrote:
Hi Mihail,
2008/6/11 Mihails Agafonovs <[email protected]>:
Why Rico has been deleted?
There's an ongoing discussion (search for "javascript framework" on http://xwiki.markmail.org/ for more info) on which JS framework XWiki should standardize on. AFAIR right now the choice is to focus on rewriting every XWiki interface using Prototype + Scriptaculous.
However once the Interface Extensions ( http://dev.xwiki.org/xwiki/bin/view/Design/InterfaceExtensions) will be ready I think you'll be able to plug and use the JS code of your choice for your applications...
[snip]
Hope this helps, Guillaume _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- http://wikibc.blogspot.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Jun 11, 2008, at 5:11 PM, Joe wrote:
Thanks Guillaume, Actually, turns out it's even simpler; I followed the "Preferences" page. If I get some time this week, I'll put up a code snippet for using it.
One tiny additional thing: how to define if I want to use vertical? The scriptaculous version supports this; and it would be useful to add this feature to the panel "navigation" - so that more view space can be easily acquired.
No idea about your question. However it's not recommended to use the navigation panel since it's very performance intensive. It'll load all docs in memory and for all pages. It's ok on small wikis but doesn't scale. The general solution is to create your own navigation as we've done in the default Wiki. Thanks -Vincent
On Wed, Jun 11, 2008 at 3:16 PM, Guillaume Lerouge <[email protected]
wrote:
I guess there's 3 solutions :
1. Recommended one : look at the class edition page code (I'm not quite sure where that is though, Firebug might help you find it) and see how its rico accordion was replaced with a scriptaculous one 2. Second one : check on the Prototype / Scriptaculous websites how you can build an accordion 3. Other one : copy a rico.js file from an older XWiki distrib (say, 1.3) and paste it into your 1.4 wiki's albatross skin folder (YourWikiFolder > webapps > xwiki > skins > albatross) -> I guess this should make the JS resources available again... Though probably at the detriment of performance.
Guillaume
On Wed, Jun 11, 2008 at 4:11 PM, Joe <[email protected]> wrote:
I think it's a move in the right direction, standardization is good. However.. it still leaves me somewhat in the lurch as I want to use the toucan system (the page listed indicates this new project is a bit far down the line). Is there no method available in the current (1.4.1) toucan implementation for accordion style content inside a panel?
On Wed, Jun 11, 2008 at 2:56 PM, Guillaume Lerouge <[email protected]
wrote:
Hi Mihail,
2008/6/11 Mihails Agafonovs <[email protected]>:
Why Rico has been deleted?
There's an ongoing discussion (search for "javascript framework" on http://xwiki.markmail.org/ for more info) on which JS framework XWiki should standardize on. AFAIR right now the choice is to focus on rewriting every XWiki interface using Prototype + Scriptaculous.
However once the Interface Extensions ( http://dev.xwiki.org/xwiki/bin/view/Design/InterfaceExtensions) will be ready I think you'll be able to plug and use the JS code of your choice for your applications...
[snip]
Hope this helps, Guillaume _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- http://wikibc.blogspot.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I'm using a custom Navigation already.. however this takes up a good chunk of viewing space. It would be far smoother to allow a user to click on the "coloured" band just outside the navigational panels and collapse that, similar to how one can collapse panels. I could do my own implementation of this if I knew how to define the vertical accordion (scriptaculous defines this but there doesn't seem to be a simple override in the wiki code to show both in the same page). On Wed, Jun 11, 2008 at 4:21 PM, Vincent Massol <[email protected]> wrote:
On Jun 11, 2008, at 5:11 PM, Joe wrote:
Thanks Guillaume, Actually, turns out it's even simpler; I followed the "Preferences" page. If I get some time this week, I'll put up a code snippet for using it.
One tiny additional thing: how to define if I want to use vertical? The scriptaculous version supports this; and it would be useful to add this feature to the panel "navigation" - so that more view space can be easily acquired.
No idea about your question. However it's not recommended to use the navigation panel since it's very performance intensive. It'll load all docs in memory and for all pages. It's ok on small wikis but doesn't scale.
The general solution is to create your own navigation as we've done in the default Wiki.
Thanks -Vincent
On Wed, Jun 11, 2008 at 3:16 PM, Guillaume Lerouge <[email protected]
wrote:
I guess there's 3 solutions :
1. Recommended one : look at the class edition page code (I'm not quite sure where that is though, Firebug might help you find it) and see how its rico accordion was replaced with a scriptaculous one 2. Second one : check on the Prototype / Scriptaculous websites how you can build an accordion 3. Other one : copy a rico.js file from an older XWiki distrib (say, 1.3) and paste it into your 1.4 wiki's albatross skin folder (YourWikiFolder > webapps > xwiki > skins > albatross) -> I guess this should make the JS resources available again... Though probably at the detriment of performance.
Guillaume
On Wed, Jun 11, 2008 at 4:11 PM, Joe <[email protected]> wrote:
I think it's a move in the right direction, standardization is good. However.. it still leaves me somewhat in the lurch as I want to use the toucan system (the page listed indicates this new project is a bit far down the line). Is there no method available in the current (1.4.1) toucan implementation for accordion style content inside a panel?
On Wed, Jun 11, 2008 at 2:56 PM, Guillaume Lerouge < [email protected]
wrote:
Hi Mihail,
2008/6/11 Mihails Agafonovs <[email protected]>:
Why Rico has been deleted?
There's an ongoing discussion (search for "javascript framework" on http://xwiki.markmail.org/ for more info) on which JS framework XWiki should standardize on. AFAIR right now the choice is to focus on rewriting every XWiki interface using Prototype + Scriptaculous.
However once the Interface Extensions ( http://dev.xwiki.org/xwiki/bin/view/Design/InterfaceExtensions) will be ready I think you'll be able to plug and use the JS code of your choice for your applications...
[snip]
Hope this helps, Guillaume _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- http://wikibc.blogspot.com/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (5)
-
Guillaume Lerouge -
Joe -
Mihails Agafonovs -
Sebastien Fieux -
Vincent Massol