Re: [xwiki-users] CSS files reklated to blog section
Hello, The blog uses a Skin Extension (see http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial) stored as an object attached to 'Blog.BlogStyle' document. So edit that document in Object mode (http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmode) and you'll be able to edit the styles. Raluca. On Wed, Oct 13, 2010 at 8:23 AM, Bauyrzhan Matyganov bauyrzhanmatyga...@gmail.com wrote: Wheren can I edit css files related to Blog section? ___ 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] CSS files reklated to blog section
thanks alot, I will try On Wed, Oct 13, 2010 at 1:04 PM, Raluca Stavro raluca.moro...@xwiki.comwrote: Hello, The blog uses a Skin Extension (see http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial) stored as an object attached to 'Blog.BlogStyle' document. So edit that document in Object mode ( http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmode ) and you'll be able to edit the styles. Raluca. On Wed, Oct 13, 2010 at 8:23 AM, Bauyrzhan Matyganov bauyrzhanmatyga...@gmail.com wrote: Wheren can I edit css files related to Blog section? ___ 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] CSS files reklated to blog section
On Oct 13, 2010, at 9:04 AM, Raluca Stavro wrote: Hello, The blog uses a Skin Extension (see http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial) stored as an object attached to 'Blog.BlogStyle' document. So edit that document in Object mode (http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmode) and you'll be able to edit the styles. And now added to http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication Would be great that when we answer someone's question we never give the answer in the mail but instead give a link where to find the answer (and put it there of course ;)). In that way our documentation will improve. We're wasting so much time and effort in replying to emails and not capitalizing on the time we spend to answer questions. Thanks -Vincent Raluca. On Wed, Oct 13, 2010 at 8:23 AM, Bauyrzhan Matyganov bauyrzhanmatyga...@gmail.com wrote: Wheren can I edit css files related to Blog section? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] CSS files reklated to blog section
On Oct 13, 2010, at 9:17 AM, Vincent Massol wrote: On Oct 13, 2010, at 9:04 AM, Raluca Stavro wrote: Hello, The blog uses a Skin Extension (see http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial) stored as an object attached to 'Blog.BlogStyle' document. So edit that document in Object mode (http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmode) and you'll be able to edit the styles. And now added to http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication Would be great that when we answer someone's question we never give the answer in the mail but instead give a link where to find the answer (and put it there of course ;)). In that way our documentation will improve. We're wasting so much time and effort in replying to emails and not capitalizing on the time we spend to answer questions. BTW this is documented here: http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforansweringquestions :) That's eating one's dog food! -Vincent Raluca. On Wed, Oct 13, 2010 at 8:23 AM, Bauyrzhan Matyganov bauyrzhanmatyga...@gmail.com wrote: Wheren can I edit css files related to Blog section? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] CSS files reklated to blog section
On Wed, Oct 13, 2010 at 10:19 AM, Vincent Massol vinc...@massol.net wrote: On Oct 13, 2010, at 9:17 AM, Vincent Massol wrote: On Oct 13, 2010, at 9:04 AM, Raluca Stavro wrote: Hello, The blog uses a Skin Extension (see http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial) stored as an object attached to 'Blog.BlogStyle' document. So edit that document in Object mode (http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmode) and you'll be able to edit the styles. And now added to http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication Would be great that when we answer someone's question we never give the answer in the mail but instead give a link where to find the answer (and put it there of course ;)). In that way our documentation will improve. We're wasting so much time and effort in replying to emails and not capitalizing on the time we spend to answer questions. BTW this is documented here: http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforansweringquestions Ok, I will follow the process from now on. Raluca. :) That's eating one's dog food! -Vincent Raluca. On Wed, Oct 13, 2010 at 8:23 AM, Bauyrzhan Matyganov bauyrzhanmatyga...@gmail.com wrote: Wheren can I edit css files related to Blog section? ___ 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] CSS files reklated to blog section
On Oct 13, 2010, at 10:44 AM, Raluca Stavro wrote: On Wed, Oct 13, 2010 at 10:19 AM, Vincent Massol vinc...@massol.net wrote: On Oct 13, 2010, at 9:17 AM, Vincent Massol wrote: On Oct 13, 2010, at 9:04 AM, Raluca Stavro wrote: Hello, The blog uses a Skin Extension (see http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial) stored as an object attached to 'Blog.BlogStyle' document. So edit that document in Object mode (http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmode) and you'll be able to edit the styles. And now added to http://code.xwiki.org/xwiki/bin/view/Applications/BlogApplication Would be great that when we answer someone's question we never give the answer in the mail but instead give a link where to find the answer (and put it there of course ;)). In that way our documentation will improve. We're wasting so much time and effort in replying to emails and not capitalizing on the time we spend to answer questions. BTW this is documented here: http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HStrategiesforansweringquestions Ok, I will follow the process from now on. Just to be clear this message wasn't just for you Raluca. It was a general comment for all of us including me of course. It's also a best effort, we don't have to do it all the time but I think it's good that we remember it from time to time, especially since our doc could be improved. It'd be good that someone reminds it to me too next time I reply to something without adding it to xwiki.org ;) Thanks -Vincent Raluca. :) That's eating one's dog food! -Vincent Raluca. On Wed, Oct 13, 2010 at 8:23 AM, Bauyrzhan Matyganov bauyrzhanmatyga...@gmail.com wrote: Wheren can I edit css files related to Blog section? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
I wanna a wiki to storage my small pice of idears, and diary. I have a xwiki instlled at my co's pc, but I can't access it at home. THX! ( Sorry for my bad english. ) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] One wiki in two different layouts
Hello, I would like to ask you about having one instance of xwiki (one database) in two different layouts. I use xwiki for documentation of our product and I need to have two different layouts of xwiki. The first one with all navigation and information panels and the second one only in a simple style without all these panels (e.g. similar to print style (print.css) in xwiki). Do you know if it is possible to have one instance (one database) of xwiki in these two different layouts? Thank you very much for your answer, Zuzana Zapletalova. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Flash File embedding to a header
Hi! Bauyrzhan Matyganov wrote: Hello everyone I have a question about embedding a flash file to my header how can i do that? I tried to embed it to a global.vm of my colibri skin file however it did not show anything. Are you able to include other kind of resources? Images? I've included them in the Albatross header without a glitch by tweaking global.vm. Here you have a simple example... http://ebiotic.org/bin/ICT/ModifyingAlbatrossSkin#Attachments Greetings, Ricardo -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Flash File embedding to a header
already got it, thanks though ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Flash File embedding to a header
Bauyrzhan Matyganov wrote: already got it, thanks though Please, what was the problem? Just in case anybody else runs into problems with this kind of resources! Thanks. -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] One wiki in two different layouts
Hi Zuzana, XWiki uses skins to customize the layout of the pages. You can look at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins for more information. A skin can be applied at the space level, so it seems to be what you need : 2 different spaces with different layout in one xwiki instance. A simpler way, if you just want to change the panels, is to define a custom presentation at the space level (in the space administration). Regards, Maxime 2010/10/13 Zuzana Zapletalova su...@post.cz Hello, I would like to ask you about having one instance of xwiki (one database) in two different layouts. I use xwiki for documentation of our product and I need to have two different layouts of xwiki. The first one with all navigation and information panels and the second one only in a simple style without all these panels (e.g. similar to print style (print.css) in xwiki). Do you know if it is possible to have one instance (one database) of xwiki in these two different layouts? Thank you very much for your answer, Zuzana Zapletalova. ___ 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] One wiki in two different layouts
Hi, Maxime Mathieu wrote: Hi Zuzana, XWiki uses skins to customize the layout of the pages. You can look at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins for more information. A skin can be applied at the space level, so it seems to be what you need : 2 different spaces with different layout in one xwiki instance. A simpler way, if you just want to change the panels, is to define a custom presentation at the space level (in the space administration). Allow me to add two simple but effective tricks, in this cases using some Velocity code, giving the user a nice customized experience: 1. Control what users can see a given panel based on her/his group membership: Sample panel code (after a message from Raluca Stravo; XWiki 1.0 syntax): #set($groupDoc = $xwiki.getDocument(XWiki.TheGroupSeeingThisPanel)) #if($groupDoc.getObject('XWiki.XWikiGroups', 'member', $context.user)) Panel content #end See also... http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIMakeContentAppearOnlyForASpecificGroup It seems that isUserInGroup has some issue in 2.4. 2. Apply a different skin on a per page basis. Sample code to be copied in your page (XWiki 1.0 syntax): #if($!request.skin != XWiki.YourSkin) $response.sendRedirect($doc.getURL(view, skin=XWiki.YourSkin)) #end See... http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoapplyaskinonaperpagebasis Hope this helps! Ricardo -- Ricardo Rodríguez CTO eBioTIC. Life Sciences, Data Modeling and Information Management Systems ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Flash File embedding to a header
there was no problem, i just did not know how to embed flash to my header, and now I've figured it out. just modified the global.vm file, its just a plain html, used standard html tags. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] One wiki in two different layouts
On 10/13/2010 03:40 PM, Zuzana Zapletalova wrote: Hello, I would like to ask you about having one instance of xwiki (one database) in two different layouts. I use xwiki for documentation of our product and I need to have two different layouts of xwiki. The first one with all navigation and information panels and the second one only in a simple style without all these panels (e.g. similar to print style (print.css) in xwiki). Do you know if it is possible to have one instance (one database) of xwiki in these two different layouts? Thank you very much for your answer, Yes, you can write two different skins, and switch between them either using user preferences (setting a skin just for one or some users), or programatically on some conditions, by changing templates/stylesheets.vm See http://platform.xwiki.org/xwiki/bin/Features/Skins#HChangingtheSkin -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] SVGMacro Error This template does not exist when editing after re-importing
I'm trying to use the SVGMacro (2.0) in my XWiki Enterprise 2.5M2. I got editing working, but in an ill-advised experiment trying to change the underlying svg-edit to 2.5.1 by blindly changing the attachment on the SVGMacro page, the edit capability broke. So I deleted all 3 of the pages (and emptied the trash) relating to the SVGMacro, and then re-imported from the XAR. However, now whenever I attempt to edit an SVG, I will get the Modal Box popup, but the main pane contains the message: Error This template does not exist. Does someone know what the correct procedure (I presume I'm doing something wrong) to wipe and restore-from-scratch this macro? Thanks! -- View this message in context: http://xwiki.475771.n2.nabble.com/SVGMacro-Error-This-template-does-not-exist-when-editing-after-re-importing-tp5633703p5633703.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
[xwiki-users] JS running problem
Hello community I have created JS Extension file its code is : alert(Hello world); I configured it as run on demand. I use this code in order to call js: {{velocity}} $xwiki.jsx.use(XWiki.FirstJS) {{/velocity}} however it does not do anything. Any ideas how to run JS? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] JS running problem
Hi there, On Oct 14, 2010, at 6:43 AM, Bauyrzhan Matyganov wrote: Hello community I have created JS Extension file its code is : alert(Hello world); I configured it as run on demand. I use this code in order to call js: {{velocity}} $xwiki.jsx.use(XWiki.FirstJS) {{/velocity}} however it does not do anything. Any ideas how to run JS? Yes, see the skin extension tutorial: http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] JS running problem
I have followed the instructtion from that tutorial so its no help ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] JS running problem
On Oct 14, 2010, at 7:18 AM, Bauyrzhan Matyganov wrote: I have followed the instructtion from that tutorial so its no help Please answer inline and don't remove previous comments since you're making it hard to help you. Right now I cannot even read your initial message again since you removed it from this message and it's just too long to have to open a browser and search the archives to find it. You need to make it easy for people to help you. Could you explain what you did in more details and the error you get, so that we can help you more? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] JS running problem
ok, so the problem is that I have created new JavascriptExtension and CSSExtension files I configured them as to call on demand. However, when i cal them with skin extension plugin: $xwiki.jsx.use(XWiki.SomeJSFile) and $xwiki.ssx.use(XWiki.SomeCSSFile) no changes appear on my page. But, when I configure them as to run Always on this page, it works fine. The problem is that I want to call them on demand but they do not run with skin extension plugin. Thank in advance. Bauyrzhan On Thu, Oct 14, 2010 at 11:34 AM, Vincent Massol vinc...@massol.net wrote: On Oct 14, 2010, at 7:18 AM, Bauyrzhan Matyganov wrote: I have followed the instructtion from that tutorial so its no help Please answer inline and don't remove previous comments since you're making it hard to help you. Right now I cannot even read your initial message again since you removed it from this message and it's just too long to have to open a browser and search the archives to find it. You need to make it easy for people to help you. Could you explain what you did in more details and the error you get, so that we can help you more? Thanks -Vincent ___ 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