Re: [xwiki-users] changing some layout details in a single page
Hi Ricardo, Hi all, Although this issue comes from some previous threads, please, allow me to reformulate it here. I do need to change some layout appearance details in some single pages. I more or less understand how CSS now allows to change most of the layout characteristics, and how, skins are the best vehicle to apply CSS, but I don't know how to apply a skin to a single page. I've tried by adding a skin document to a page, but this doesn't work. So: 1. Is it possible to apply a skin to a page? How? 2. Is there any simpler way of using some new/different CSS definitions on a per-page basis? What you can do is to append ?skin= at the end of your page name to force it to use that given skin, for instance : mywiki.com/xwiki/bin/view/Main/WebHome?skin=albatross (or toucan) Then you can add this code to your selected pages (it's not clean but it will work) : #if(!$request.skin || $request.skin $request.skin != 'myskin') #set($skin = '?skin=myskin') #set($url = $xwiki.getURL($doc.fullName)) #set($pageurl = $url + $skin) $response.sendRedirect($pageurl) #end Hope this helps, Guillaume ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] name of default database
Hi, have you considered changing WEB-INF/hibernate.cfg.xml? I've changed xwiki with xwiki_dev in the following lines: property name=connection.urljdbc:mysql://localhost/xwiki?useServerPrepStmts=false/property property name=connection.usernamexwiki/property property name=connection.passwordxwiki/property and in the steps from http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL and now I have: http://localhost:8080/xwiki for xwiki scheme http://localhost:9090/xwiki for xwiki_dev scheme running simultaneously. Hope that helps. Marius vmassol wrote: On Jan 10, 2008, at 2:31 PM, rssh wrote: Good day. I just download xwiki, and see, that it is not possible to set name of default database scheme other than 'xwiki'. (Becouse xwiki.tableName is hardcoded in SQL statements) Unfortunately. this means that it is hard to use xwiki as platform for web application, because usually we have situation 'one application/one database scheme' and want to use few applications (or few version of same application) simultaneously. Question: if I change this and wull create path for configurable database scheme name of main xwiki instance, would this patches be accepted (?) or such using is out of scope of interest for xwiki community ? We'd love that patch . However it's not an easy patch (you/we'll need to test it in lots of different conditions: XE, XEM, different databases). Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Any news on this? I did just run into this issue... -- View this message in context: http://www.nabble.com/name-of-default-database-tp14734850p16043053.html Sent from the XWiki- Users mailing list archive at Nabble.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] name of default database
On Mar 14, 2008, at 3:39 AM, squirrely_wrath wrote: vmassol wrote: On Jan 10, 2008, at 2:31 PM, rssh wrote: Good day. I just download xwiki, and see, that it is not possible to set name of default database scheme other than 'xwiki'. (Becouse xwiki.tableName is hardcoded in SQL statements) Unfortunately. this means that it is hard to use xwiki as platform for web application, because usually we have situation 'one application/one database scheme' and want to use few applications (or few version of same application) simultaneously. Question: if I change this and wull create path for configurable database scheme name of main xwiki instance, would this patches be accepted (?) or such using is out of scope of interest for xwiki community ? We'd love that patch . However it's not an easy patch (you/we'll need to test it in lots of different conditions: XE, XEM, different databases). Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Any news on this? I did just run into this issue... For the record the jira issue is there and not implemented yet: http://jira.xwiki.org/jira/browse/XWIKI-2006 -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] upgrading xwiki 1.2.2
I think this path could go in a FAQ entry. Perhaps it does not make sense to propose a way of updating from the zipped standalone distribution running on Jetty/hhsqldb to the war one. The standalone release is intended to entry level users, and it would be advisable to move to the war distribution running on whatever servlet container and a relational database like MySQL or Oracle. But you have your contents in the standalone version... what database are you planning to run with XWiki war? I'll make a post in the FAQ. As for the database, I'm not sure, since I'm not responsible for the server and don't know yet what database and servlets are availabe. Will try to find out... This is not a good idea. Albatross has changed a lot since 1.2.2 times (better, the pair Albatross/Toucan :-), so I think you MUST use the new release. I will be glad to help you to recover your customized behavior, but first of all we need to work out the collapsed/expanded panels issue. What do you think? I think you're right, even with the collapsed panels problem solved. Just have to find a time when I can allow myself to break the layout of the wiki. Even though the page its in the very early construction phase, I have couple of co-workers who also make contributions. So my first question regarding the albatross skin is the following: Since the global.vm file is missing, and at least a few of the properties it defined are now elsewhere (such as colors.css), while others are not, should I create a new global.vm or is it entirely deprecated? In my case, I want to modify the url of the main logo, which was defined in global.vm as [...] div id=company div id=companylogo a href=SOMEURL [] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] After installation, Admin cannot log in
Hi, do you have in the log something about a wrong hash password ? you can edit xwiki.cfg (in jetty/webapps/WEB-INF) to allow 'superuser' to log in with a password put in this file. good luck 2008/3/14, Gregory Mazurek [EMAIL PROTECTED]: Hello, I've installed xwiki from the standalone installation and have chosen to use mysql instead of hsqldb. I run the server and everything looks great. I can get into mysql and see that the tables are populated, and I see the web pages in firefox. But, when I then try to log in using Admin/admin, I receive a wrong user name response that prevents me from going any further. I've tried variations on the log in (caps, no caps, etc.) but nothing seems to work. If I attempt to add a user (not logged in), there are no errors but upon pressing save, the user list does not update for the new user. In addition, I looked at the database table xwikipreferences (I assume this is where the user names and passwords are stored) and the username is not there. Here are my specs: xwiki 1.3 windows vista mysql 5.0.14 JDK 1.5.0 I've searched through Nabble, xwiki.org, and google but haven't found anything that has helped. I'm emailing the list to see if anyone knows anything about this or whether this may be a compatibility issue. I've also tried this with the graphical windows native installer and encounter the same issue. As a side note, with the graphical windows native installer, I notice that the css and js files do not load but images and text do. Any help would be very appreciated, Greg ___ 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] After installation, Admin cannot log in
Hi Greg, I've experienced that too. The problem is gone after I imported the default wiki (One of the file you can download from xwiki.org with a XAR extension) and I didn't investigate the problem further. You probably want to install the default wiki anyway. That default wiki installs the Admin login I think. have fun. On Fri, Mar 14, 2008 at 9:20 AM, Gregory Mazurek [EMAIL PROTECTED] wrote: Hello, I've installed xwiki from the standalone installation and have chosen to use mysql instead of hsqldb. I run the server and everything looks great. I can get into mysql and see that the tables are populated, and I see the web pages in firefox. But, when I then try to log in using Admin/admin, I receive a wrong user name response that prevents me from going any further. I've tried variations on the log in (caps, no caps, etc.) but nothing seems to work. If I attempt to add a user (not logged in), there are no errors but upon pressing save, the user list does not update for the new user. In addition, I looked at the database table xwikipreferences (I assume this is where the user names and passwords are stored) and the username is not there. Here are my specs: xwiki 1.3 windows vista mysql 5.0.14 JDK 1.5.0 I've searched through Nabble, xwiki.org, and google but haven't found anything that has helped. I'm emailing the list to see if anyone knows anything about this or whether this may be a compatibility issue. I've also tried this with the graphical windows native installer and encounter the same issue. As a side note, with the graphical windows native installer, I notice that the css and js files do not load but images and text do. Any help would be very appreciated, Greg ___ 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] users Digest, Vol 8, Issue 54
For the record, the problem is solved in SVN, and it will be shipped with 1.3.1 and 1.4-M1 [EMAIL PROTECTED] wrote: That works! Thank you. Date: Thu, 13 Mar 2008 22:46:33 +0100 From: Sergiu Dumitriu Subject: Re: [xwiki-users] Login problem with IE7 To: XWiki Users Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1; format=flowed MSilverboard wrote: Hi, I see from previous posts that there was a problem with login using Internet Explorer 7 during development, and I think I may have a related problem. I am able to login using Firefox 2.0, but trying to login using IE7, even as superadmin, simply returns me to the login page. I have deleted all my cookies; that didn't help. Here is the configuration I am using. Any suggestions? Windows 2003 Server SP2 Tomcat 6.0.16 MySQL 5.0.51a Java runtime build 1.6.0_05-b13 XWiki Enterprise Manager 1.1 XWiki Enterprise Manager Wiki Administrator XAR 1.1 I'm using default authentication. Hi, It seems there is a compatibility problem between the way Tomcat 6.0.16 handles cookies and Internet Explorer. For the moment you should downgrade to Tomcat 6.0.14, until we find a workaround in the XWiki code. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to export a number of documents to xar?
Hi Ngo, Cool but how different is it from http://code.xwiki.org/xwiki/bin/view/Applications/PackagerApplication ? Thanks -Vincent On Mar 14, 2008, at 5:49 PM, Ngo Thi Hong Nga wrote: Hi, I have implemented this feature. It allows a user to choose documents to export to xar. I attached the xar file of this feature so that all of you can use when needed. On Sun, Mar 9, 2008 at 9:33 PM, Vincent Massol [EMAIL PROTECTED] wrote: On Mar 9, 2008, at 2:53 PM, Ngo Thi Hong Nga wrote: Hi, I want to export some documents to xar. I go to Administration \Export, enter package name,.. and click Export, then all of my documents are exported. Is there any way allowed me to export only documents that I want? We have a jira issue for this: http://jira.xwiki.org/jira/browse/XWIKI-800 We really need this feature implemented (especially as it's not hard to do). Anyone here feels like contributing a patch for this? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] WYSIWYG editor won't read tables with colored text correctly
I submitted the following as a bug about two weeks ago, but perhaps that wasn't the right way to ask for help about this problem, so I'm trying the list -- I tried both 1.3 M2 and 1.2.2, and I had the following problem (both using the standalone zip version on Windows) : If you create a table on a page using WYSIWYG, it all works great. If you highlight a the first table cell of a row or a whole row and use the palette button to change the color of those cells, it works. If you save the page, it looks good. If you edit it again with the WYSIWYG, however, it doesn't render it right, and the cell/row that you changed color of gets appended to the line above it in the WYSIWYG editor. Using the WIKI editor (as long as you don't save the broken page back down from the WYSIWYG editor), everything still works good. So it's how the editor is choosing to render out the page that seems to be causing the problem. Bolding a cell/row doesn't seem to cause this problem, only changing the text color. Below is an example of some code that won't show up correctly in the WYSIWYG editor (even though it was the WYSIWYG editor that created it) {table} table info |test table test test test |test test test asdklfj|lkajsdlj {style:type=span|color=#99}test{style}|{style:type=span|color=#99}test{style}{table} The last row shows up tacked on to the end of the 2nd to last row, instead of appearing as its own row. This is only the case in the WYSIWYG editor. This code displays fine when just viewing the page. Is this actually a bug or am I doing something screwy? Thanks! -BJ Quinn -- View this message in context: http://www.nabble.com/WYSIWYG-editor-won%27t-read-tables-with-colored-text-correctly-tp16048621p16048621.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG editor won't read tables with colored text correctly
Hi BJ, We know the current WYSIWYG editor is somewhat buggy. However, given the way it is implemented trying to hunt and fix all its bugs would take a really, really long time. Therefore the XWiki Dev Team has started working on a brand new editor that will be much more robust, flexible and efficient - but not available before a few months (we hope a beta release will be available by September / October). You can find out more about it here : http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorBasedOnGwt In the meanwhile (probably for XE 1.4) the dev team may even restrict the number of features available in the WYSIWYG (such as text background color) in order to stop creating situations where the WYSIWYG editor breaks itself through its own formatting (which, I'm sure you'll agree, makes little sense). Thanks for your feedback patience, Guillaume On 14/03/2008, bjquinn [EMAIL PROTECTED] wrote: I submitted the following as a bug about two weeks ago, but perhaps that wasn't the right way to ask for help about this problem, so I'm trying the list -- I tried both 1.3 M2 and 1.2.2, and I had the following problem (both using the standalone zip version on Windows) : If you create a table on a page using WYSIWYG, it all works great. If you highlight a the first table cell of a row or a whole row and use the palette button to change the color of those cells, it works. If you save the page, it looks good. If you edit it again with the WYSIWYG, however, it doesn't render it right, and the cell/row that you changed color of gets appended to the line above it in the WYSIWYG editor. Using the WIKI editor (as long as you don't save the broken page back down from the WYSIWYG editor), everything still works good. So it's how the editor is choosing to render out the page that seems to be causing the problem. Bolding a cell/row doesn't seem to cause this problem, only changing the text color. Below is an example of some code that won't show up correctly in the WYSIWYG editor (even though it was the WYSIWYG editor that created it) {table} table info |test table test test test |test test test asdklfj|lkajsdlj {style:type=span|color=#99}test{style}|{style:type=span|color=#99}test{style}{table} The last row shows up tacked on to the end of the 2nd to last row, instead of appearing as its own row. This is only the case in the WYSIWYG editor. This code displays fine when just viewing the page. Is this actually a bug or am I doing something screwy? Thanks! -BJ Quinn -- View this message in context: http://www.nabble.com/WYSIWYG-editor-won%27t-read-tables-with-colored-text-correctly-tp16048621p16048621.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ 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
[xwiki-users] XWiki 13: Watchlist mails contain scripting code
Hello, I tried to use the Watchlist feature of XWiki 1.3 and finally I receive the emails created by it but they just contain the scripting code, so the code seems not to be excecuted. I already deleted the date fomatting in the code as it stops the creation of the mail at all. Any ideas? Thanks! Bye, Jan Hello Jan-Sebastian, This message is sent by XWiki. Here are the documents in your watchlist that have been created or updated since the last notification : Page Informations - | $udoc.getDisplayTitle() modified by , comment :| | ${udoc.fullName} $udoc.getComment() | |-- | | Modifications on page objects or class| | | ---| Please consider the environment before printing this email Euler Hermes is the world's premier credit insurer, offering solutions for the management of trade receivables, from credit insurance and financing of trade receivables to bonding and guarantees. Euler Hermes is a subsidiary of AGF and a member of Allianz. www.eulerhermes.com - This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, notify the sender immediately and destroy this e-mail. Any unauthorised use, copying, disclosure or distribution of the contents of this e-mail is strictly forbidden and may be unlawful. Read our full e-mail disclaimer statement and monitoring policy (http://www.eulerhermes.com/group/en/disclaim/index.html) before taking any action based on the contents of this e-mail. inline: ecblank.gifinline: 05602162.gif___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] instalation trouble for xwiki enterprise 1.1
hallo hopefully this question is not too stupid. i planned to install xwiki enterprise manager 1.1 on tomcat 5.5 (java 1.5). i copied the war file and set up the database / hibernate.cfg. the db connection seems to work (same config used for another xwiki test). when i open the url in the browser i get redirected to: http://127.0.0.1:9080/xwiki/bin/Main/ThisWikiDoesNotExist (which makes no sense, tomcat runs on 8080 on the server) i found this is configured in WEB-INF but i am not sure what would be the correct value. also the xwiki.log file is not found / does not exist. so i either forgot to add the log configs or they are missing? i found some links on nabble.com like http://www.xwiki.org/xwiki/bin/view/Community/Debugging#Logging but all of them point to nowhere. the documentation link on xwiki.org opens xwiki.org in a new window. so i am a little stuck here. am i doing something wrong completely? (xwki-enterprise-manager comes with xwiki? it does not need it?) any help, hints or doc links would be great! thanks a lot ossi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki 13: Watchlist mails contain scripting code
Hi, the script seems to retreive a list containing 1 document but for some reason the job seems not able to retreive this document with $xwiki.getDocument(). I'd say this could be a right issue, the watchlist job is running with the XWiki.Admin user permissions. Have you deleted the XWiki.Admin user ? Is XWiki.Admin in the XWiki.AdminGroup group ? If not you'll have to create it / put it in the group then restart xwiki. hope this helps, JV. note to self : could it be possible to use the superadmin user for jobs if its password is not set in xwiki.cfg ? On Fri, Mar 14, 2008 at 6:12 PM, Jan-Sebastian Winckelmann [EMAIL PROTECTED] wrote: Hello, I tried to use the Watchlist feature of XWiki 1.3 and finally I receive the emails created by it but they just contain the scripting code, so the code seems not to be excecuted. I already deleted the date fomatting in the code as it stops the creation of the mail at all. Any ideas? Thanks! Bye, Jan Hello Jan-Sebastian, This message is sent by XWiki. Here are the documents in your watchlist that have been created or updated since the last notification : PageInformations $udoc.getDisplayTitle()${udoc.fullName}modified by , comment : $udoc.getComment() Modifications on page objects or class Please consider the environment before printing this email Euler Hermes is the world's premier credit insurer, offering solutions for the management of trade receivables, from credit insurance and financing of trade receivables to bonding and guarantees. Euler Hermes is a subsidiary of AGF and a member of Allianz. www.eulerhermes.com - This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, notify the sender immediately and destroy this e-mail. Any unauthorised use, copying, disclosure or distribution of the contents of this e-mail is strictly forbidden and may be unlawful. Read our full e-mail disclaimer statement and monitoring policy (http://www.eulerhermes.com/group/en/disclaim/index.html) before taking any action based on the contents of this e-mail. ___ 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] [xwiki-devs] Roadmap for XE 1.4
[EMAIL PROTECTED] wrote: Specific issues to implement/fix WYSIWYG editor stability - Table behavior (a new table editor would be welcome) - Whitespace processing - Misbehavior in the presence of code or complex styles Thanks for the WYSIWYG wishlist. We'll take all this into account with the new editor. We believe that by using GWT we can build an editor that is much more stable and capable of advanced stuff usefull in the wiki. This will be possible especially thanks to unit testing since the GWT code is java compiled to JS. GWT also gives us the possiblity to have browser specific implementation of some of the code which allows to not polute the JS code with browser specific stuff when it's not necessary. Furthermore we will built real-time editing (multiple persons editing the same page) in the editor. We already have a prototype working of this. Attachment handling - memory / resource demands - proper versioning (if 2 different users upload the same document name) Wishlist - Table of contents macro a la mediawiki There is {toc}. It might just be a style issue to make it like mediawiki. - WebDAV would be nice... We also have a prototype of this, though it doesn't currently make it in our priority list. We have proposed it for the Google Summer of Code. If any student is interested it's a fun project. We're looking to contribute the notion of a simple reputation engine (user and content rating) that we have in prototype now. Great ! We want it ! Ludovic -- Jim Dowson CTO, Global Services, EMC Corporation Linx: (617) 598-0505 ___ devs mailing list [EMAIL PROTECTED] http://lists.xwiki.org/mailman/listinfo/devs -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] After installation, Admin cannot log in
Hi Benjamin and Sylvain, Thank you both for your responses. Benjamin knew exactly what it was and my problem is now resolved after installing the default wiki. Thanks! Greg On Fri, Mar 14, 2008 at 9:41 AM, Benjamin Leung [EMAIL PROTECTED] wrote: Hi Greg, I've experienced that too. The problem is gone after I imported the default wiki (One of the file you can download from xwiki.org with a XAR extension) and I didn't investigate the problem further. You probably want to install the default wiki anyway. That default wiki installs the Admin login I think. have fun. On Fri, Mar 14, 2008 at 9:20 AM, Gregory Mazurek [EMAIL PROTECTED] wrote: Hello, I've installed xwiki from the standalone installation and have chosen to use mysql instead of hsqldb. I run the server and everything looks great. I can get into mysql and see that the tables are populated, and I see the web pages in firefox. But, when I then try to log in using Admin/admin, I receive a wrong user name response that prevents me from going any further. I've tried variations on the log in (caps, no caps, etc.) but nothing seems to work. If I attempt to add a user (not logged in), there are no errors but upon pressing save, the user list does not update for the new user. In addition, I looked at the database table xwikipreferences (I assume this is where the user names and passwords are stored) and the username is not there. Here are my specs: xwiki 1.3 windows vista mysql 5.0.14 JDK 1.5.0 I've searched through Nabble, xwiki.org, and google but haven't found anything that has helped. I'm emailing the list to see if anyone knows anything about this or whether this may be a compatibility issue. I've also tried this with the graphical windows native installer and encounter the same issue. As a side note, with the graphical windows native installer, I notice that the css and js files do not load but images and text do. Any help would be very appreciated, Greg ___ 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
Re: [xwiki-users] upgrading xwiki 1.2.2
Joao Henrique Silva Santos wrote: I'll make a post in the FAQ. As for the database, I'm not sure, since I'm not responsible for the server and don't know yet what database and servlets are availabe. Will try to find out... Great! As for the database, I think I could offer you temporal hosting for a small MySQL database here. Let me know if you consider it will help you to convince your administrator that to host MySQL there (or any other option) will be a good idea. I think you're right, even with the collapsed panels problem solved. Just have to find a time when I can allow myself to break the layout of the wiki. Even though the page its in the very early construction phase, I have couple of co-workers who also make contributions. So my first question regarding the albatross skin is the following: Since the global.vm file is missing, and at least a few of the properties it defined are now elsewhere (such as colors.css), while others are not, should I create a new global.vm or is it entirely deprecated? In my case, I want to modify the url of the main logo, which was defined in global.vm as [...] div id=company div id=companylogo a href=SOMEURL [] Nope, global.vm is by no means deprecated! But it is now stored in the /templates folder under /xwiki. All Velocity templates have been moved there. But if you create your own skin and put a global.vm file there, it will take precedence over the one in /templates. Take a look to this... http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins#HCreatingawholenewskin This might help. Cheers, 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] changing some layout details in a single page
Guillaume Lerouge wrote: What you can do is to append ?skin= at the end of your page name to force it to use that given skin, for instance : mywiki.com/xwiki/bin/view/Main/WebHome?skin=albatross http://mywiki.com/xwiki/bin/view/Main/WebHome?skin=albatross (or toucan) Then you can add this code to your selected pages (it's not clean but it will work) : #if(!$request.skin || $request.skin $request.skin != 'myskin') #set($skin = '?skin=myskin') #set($url = $xwiki.getURL($doc.fullName)) #set($pageurl = $url + $skin) $response.sendRedirect($pageurl) #end Oh! How powerful is this stuff! The only problem is to know how to use all the resources this framework provides us. Don't you think this must go to Code Snippets? Thank you so much, 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] Custom Default Skin Everywhere, Except Login Page
Andrew Hughes wrote: Hi All, I've changed my default skin to a custom skin. Once logged in all users on all pages get this default theme :) However, the login page has the albatross theme still. I've tried adding skin=myskin on the end and that works brilliant. But that's not good behaviour. What am I missing in order to fix this? Have you set Always authenticate on viewing: to Yes? HTH, -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] changing some layout details in a single page
On 15/03/2008, [Ricardo Rodriguez] Your EPEC Network ICT Team [EMAIL PROTECTED] wrote: Guillaume Lerouge wrote: What you can do is to append ?skin= at the end of your page name to force it to use that given skin, for instance : mywiki.com/xwiki/bin/view/Main/WebHome?skin=albatross (or toucan) Then you can add this code to your selected pages (it's not clean but it will work) : #if(!$request.skin || $request.skin $request.skin != 'myskin') #set($skin = '?skin=myskin') #set($url = $xwiki.getURL($doc.fullName)) #set($pageurl = $url + $skin) $response.sendRedirect($pageurl) #end Oh! How powerful is this stuff! The only problem is to know how to use all the resources this framework provides us. Don't you think this must go to Code Snippets? Sure, please feel free to add it ;-) Thank you so much, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ 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
[xwiki-users] How to using prototype 1.5 in xe1.3
Hi everybody! I see a problem with prototype 1.5. I use TableKit in XWiki which was written by prototype 1.5. When I run, it display error message: Stack Overflow. Please help me! KhanhVk. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] changing some layout details in a single page
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Guillaume Lerouge wrote: What you can do is to append ?skin= at the end of your page name to force it to use that given skin, for instance : mywiki.com/xwiki/bin/view/Main/WebHome?skin=albatross http://mywiki.com/xwiki/bin/view/Main/WebHome?skin=albatross (or toucan) Then you can add this code to your selected pages (it's not clean but it will work) : #if(!$request.skin || $request.skin $request.skin != 'myskin') #set($skin = '?skin=myskin') #set($url = $xwiki.getURL($doc.fullName)) #set($pageurl = $url + $skin) $response.sendRedirect($pageurl) #end A shorter code: #if($!request.skin != myskin) $response.sendRedirect($doc.getURL(view, skin=myskin) #end Oh! How powerful is this stuff! The only problem is to know how to use all the resources this framework provides us. Don't you think this must go to Code Snippets? Thank you so much, Ricardo -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users