[xwiki-users] Toucan and rico accordian?
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? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Toucan and rico accordian?
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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Toucan and rico accordian?
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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Toucan and rico accordian?
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=accordionTabContentBoxText 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 users@xwiki.org 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 users@xwiki.org 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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Toucan and rico accordian?
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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Toucan and rico accordian?
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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users