[xwiki-users] Query module count() function returning -1?

2013-01-21 Thread xwiki . mexon
Hi, I'm trying to write a page to return some LiveTable results.  I'm 
finding that $query.count() is returning -1 instead of the actual number 
of results.  Can anyone tell me why?


{{velocity}}
#set($query = $services.query.xwql(from 
doc.object(Invitation.InvitationMailClass) as inv))

#set($invitations = $query.execute())
#foreach($invite in $invitations)
* $invite
#end
Number of results is: $query.count()
{{/velocity}}

...gives results:

Invitation.InvitationMessages
Invitation.InvitationMessages
Number of results is: -1

I was expecting the number of results to be 2.  I'm trying to make 
sense of the documentation here:


http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module

...but it doesn't seem to have much description of the API, and I can't 
see anything on maven.xwiki.org either.


Thanks,
Matthew Exon

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Question : configuration of right access

2013-01-21 Thread Marius Dumitru Florea
One option is to add the following to the layoutExtraVars.vm Velocity template:

#if ($isGuest)
  #set ($showLeftPanels = 0)
  #set ($showRightPanels = 0)
#end

Hope this helps,
Marius

On Fri, Jan 18, 2013 at 8:28 PM, Bey Youcef youcef@gmail.com wrote:
 Hello,

 I installed the last vesion of XWiki.

 I choose Panel configuration which allow to have three colomns (few panels
 on right and left, and in the middle the main page)

 Is it possible de allow only the main page PUBLIC (access for guests), and
 disable VIEW of panels on right and left? I want that guest VIEW only the
 main page, but not the other panels?

 I tried all kind of configuations ! I could put main page accessible for
 GUEST users, but both panels in right and left are visible for GUESTS.

 Thanks so much.

 Sincerely yours.
 ___
 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] Query module count() function returning -1?

2013-01-21 Thread Marius Dumitru Florea
On Mon, Jan 21, 2013 at 10:51 AM,  xwiki.me...@spamgourmet.com wrote:
 Hi, I'm trying to write a page to return some LiveTable results.  I'm
 finding that $query.count() is returning -1 instead of the actual number of
 results.  Can anyone tell me why?

You found a bug.. I reported and fixed
http://jira.xwiki.org/browse/XWIKI-8719 . The workaround is, I think,
to use HQL instead of XWQL, until you upgrade to 4.4.1 or newer.

Thanks,
Marius


 {{velocity}}
 #set($query = $services.query.xwql(from
 doc.object(Invitation.InvitationMailClass) as inv))
 #set($invitations = $query.execute())
 #foreach($invite in $invitations)
 * $invite
 #end
 Number of results is: $query.count()
 {{/velocity}}

 ...gives results:

 Invitation.InvitationMessages
 Invitation.InvitationMessages
 Number of results is: -1

 I was expecting the number of results to be 2.  I'm trying to make sense
 of the documentation here:

 http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module

 ...but it doesn't seem to have much description of the API, and I can't see
 anything on maven.xwiki.org either.

 Thanks,
 Matthew Exon

 ___
 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] OfficeImporterScriptService - Error while converting document

2013-01-21 Thread Marius Dumitru Florea
Does it happen for other docx files? Did you try to import odt or doc
files? Can you send me (privately) an example of docx file that fails
to be imported? When you say latest XWiki version are you referring
to 4.4?

Hope this helps,
Marius

On Fri, Jan 18, 2013 at 12:06 PM, StefanS sabolowitsc...@in-trier.de wrote:
 Hi all,
 i have here latest X wiki Version with libreoffice-headless (Centos 6.2).
 Xwiki can start OpenOffice Server local successful.
 However, i cannot import a document.
 I get always this error messages.

 Thanks for any help
 Stefan

 #.#.#.#.
 WARNUNG: Parameters: Invalid chunk '' ignored.
 013-01-18 10:50:54,950
 [http://wiki.felten-group.com:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
 ERROR .s.OfficeImporterScriptService - Error while converting document
 [ETC_CF_Card_Problem.docx] into html.
 org.xwiki.officeimporter.OfficeImporterException: Error while converting
 document [ETC_CF_Card_Problem.docx] into html.

 Caused by: org.xwiki.officeimporter.openoffice.OpenOfficeConverterException:
 Error while performing conversion.

 aused by: org.artofsolving.jodconverter.office.OfficeException: could not
 load document: ETC_CF_Card_Problem.docx

 Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be an
 unsupported one.






 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/OfficeImporterScriptService-Error-while-converting-document-tp7583364.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] Query module count() function returning -1?

2013-01-21 Thread xwiki . mexon
On 2013-01-21 19:05 , Marius Dumitru Florea - 
mariusdumitru.flo...@xwiki.com wrote:

On Mon, Jan 21, 2013 at 10:51 AM,  xwiki.me...@spamgourmet.com wrote:

Hi, I'm trying to write a page to return some LiveTable results.  I'm
finding that $query.count() is returning -1 instead of the actual number of
results.  Can anyone tell me why?


You found a bug.. I reported and fixed
http://jira.xwiki.org/browse/XWIKI-8719 . The workaround is, I think,
to use HQL instead of XWQL, until you upgrade to 4.4.1 or newer.


Hooray!  Always happy when it turns out to be Not My Fault :-)  Thanks 
for doing the bug report for me.



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [myxwiki] new wiki request

2013-01-21 Thread Stefan Taferner
Hello all!

I would like to kindly ask for a wiki space for our interest group.
We want to develop free hardware and software for home automation.

Unfortunately several key developers only speak little English,
so the wiki would be mostly in German. I hope this is no problem.

My xwiki user name is StefanT
Prefered server name: selfbus

Thanks in advance,
Stefan
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] OfficeImporterScriptService - Error while converting document

2013-01-21 Thread StefanS
Hi Marius,
thank you for your quick response and help.
That was my mistake, it lacked a rpm packet of libreoffice.

Sorry..
Stefan



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/OfficeImporterScriptService-Error-while-converting-document-tp7583364p7583418.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] Xwiki Enterprise 4.4: Custom skin for a space

2013-01-21 Thread Ecaterina Moraru (Valica)
Hi,

http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins already given by
Sorin should help you with most of your questions.

You could use http://extensions.xwiki.org/xwiki/bin/view/Extension/DebugSkinto
see the part you want to change in what template is defined.

Also take a look at the current style for Colibri
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-colibri/src/main/resources/colibri
and the structure
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp

Thanks,
Caty

On Fri, Jan 18, 2013 at 6:03 PM, Naoufel Chbihi 
naoufel.chb...@ssc-spc.gc.ca wrote:

 Thank you Sorin and Vincent for responding.

 I plan to make a lot of changes to the page layout and I already have CSS
 and JavaScript files that I would like to use, so I would prefer a solution
 that would allow the most flexibility.  I looked through the ColorTheme
 Application tutorial page suggested by Sorin but it seems that this
 application only changes the colors, not the page layout.  So, I would like
 to try to override a skin.  Regarding the Toucan skin, I was just tring to
 use it as a test since it was part of the tutorial -  I don't really need
 it.

 I finally understood how to use class properties to override the skin.  I
 have been able to attached a logo to the skin document and reference it.
  Now I'm trying to use custom CSS files and it doesn't seem practical to
 attach CSS files to the skin document.  So, here's what I would like to do:
 1. Upload my CSS files to the server (ex. to /xwiki/skins/myskin/)
 1. Use class properties to override various Velocity templates
 2. Reference the CSS files from the inside the Velocity templates that I
 will write using the inline editor

 Question: How can I reference them from within the Velocity template?

 Thank you.

 Naoufel Chbihi
 Technical Specialist | Spécialiste technique
 Mainframe Operating System Technology | Technologie du système
 d'exploitation des ordinateurs centraux
 Service Management  Delivery (SMD) | Gestion et prestation des services
 (GPS)
 Information Technology Services Branch (ITSB) | Direction générale des
 services d'infotechnologie (DGSIT)
 Shared Services Canada | Services partagés Canada
 7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, chemin Montréal,
 Ottawa, ON K1A 0P7
 Tel.: 613-748-2169
 Fax: 613-748-2617
 E-mail: naoufel.chb...@ssc.gc.ca | naoufel.chb...@spc.gc.ca

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
 Of Vincent Massol
 Sent: Thursday, January 17, 2013 3:04 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Xwiki Enterprise 4.4: Custom skin for a space


 On Jan 16, 2013, at 11:27 PM, Sorin Burjan sorin.bur...@xwiki.com wrote:

  Hello, see my comments below
 
  On Wed, Jan 16, 2013 at 11:40 PM, Naoufel Chbihi 
  naoufel.chb...@ssc-spc.gc.ca wrote:
 
  Hello
 
  I'm running Xwiki Enterprise 4.4 on Apache Tomca 6 and I'm trying to
  create a custom skin for a space that I defined in the default wiki
  but nothing is changing.  I tried following the steps provided in
  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins#HChangingth
  eSkinatspacelevel(and specifying toucan as the skin) but nothing
  happened.  I also tried the procedure described in
  http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins under How to
 override a Skin sections A, B, C, D and F.1 but I didn't see any changes.

 What you've done should work fine. You just need to specify a skin that
 exists.

 Thanks
 -Vincent

 
  The Toucan skin was retired in 4.4-rc1, so it is no longer available
  in 4.4 final. It was considered deprecated and was not maintained
  anymore for some quite time now, and we decided to remove it. If you
  are still you want to use it, you can still download it and deploy it
  in your wiki instance (see
  http://extensions.xwiki.org/xwiki/bin/view/Extension/Toucan+Skin )
  Colibri is now the only skin we bundle by default in XWiki products.
  XWiki skins are much more than just some css and js files, writing a
 full skin from scratch requires quite a lot of work.
 
 
  Could someone please tell me how I can create a custom skin?  I don't
  mind doing it either through web interface or by editing files
  directly on the server.
 
 
  To solve your issue you have 2 options from my point of view:
 
  1) If you want to have different look for each space, you should use
  the ColorTheme application (bundled by default), and create custom
  themes which can be applied on a per space basis. This is the easiest
  way of achieving what you want. For more info, look
  http://extensions.xwiki.org/xwiki/bin/view/Extension/Color+Theme+Appli
  cation
  2) You can follow the tutorial on Overriding a skin and override the
  parts which you want to change. This approach is a little bit harder.
 
  Hope it will help
 
  Regards,
  Sorin B.
 
 
  Thank you.
 
  Naoufel Chbihi
  Technical Specialist 

Re: [xwiki-users] Xwiki Enterprise 4.4: Custom skin for a space

2013-01-21 Thread Naoufel Chbihi
Thank you, Caty.  I think that I'm starting to understand how Velocity 
templates are used.  I still need to try overriding the template by creating a 
custom skin directory and placing files inside, as opposed to using class 
properties.


Naoufel Chbihi 
Technical Specialist | Spécialiste technique
Mainframe Operating System Technology | Technologie du système d'exploitation 
des ordinateurs centraux
Service Management  Delivery (SMD) | Gestion et prestation des services (GPS)
Information Technology Services Branch (ITSB) | Direction générale des services 
d'infotechnologie (DGSIT)
Shared Services Canada | Services partagés Canada
7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, chemin Montréal, Ottawa, 
ON K1A 0P7 
Tel.: 613-748-2169
Fax: 613-748-2617
E-mail: naoufel.chb...@ssc.gc.ca | naoufel.chb...@spc.gc.ca

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Ecaterina Moraru (Valica)
Sent: Monday, January 21, 2013 9:43 AM
To: XWiki Users
Subject: Re: [xwiki-users] Xwiki Enterprise 4.4: Custom skin for a space

Hi,

http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins already given by Sorin 
should help you with most of your questions.

You could use http://extensions.xwiki.org/xwiki/bin/view/Extension/DebugSkinto
see the part you want to change in what template is defined.

Also take a look at the current style for Colibri 
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-colibri/src/main/resources/colibri
and the structure
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp

Thanks,
Caty

On Fri, Jan 18, 2013 at 6:03 PM, Naoufel Chbihi  naoufel.chb...@ssc-spc.gc.ca 
wrote:

 Thank you Sorin and Vincent for responding.

 I plan to make a lot of changes to the page layout and I already have 
 CSS and JavaScript files that I would like to use, so I would prefer a 
 solution that would allow the most flexibility.  I looked through the 
 ColorTheme Application tutorial page suggested by Sorin but it seems 
 that this application only changes the colors, not the page layout.  
 So, I would like to try to override a skin.  Regarding the Toucan 
 skin, I was just tring to use it as a test since it was part of the 
 tutorial -  I don't really need it.

 I finally understood how to use class properties to override the skin.  
 I have been able to attached a logo to the skin document and reference it.
  Now I'm trying to use custom CSS files and it doesn't seem practical 
 to attach CSS files to the skin document.  So, here's what I would like to do:
 1. Upload my CSS files to the server (ex. to /xwiki/skins/myskin/) 1. 
 Use class properties to override various Velocity templates 2. 
 Reference the CSS files from the inside the Velocity templates that I 
 will write using the inline editor

 Question: How can I reference them from within the Velocity template?

 Thank you.

 Naoufel Chbihi
 Technical Specialist | Spécialiste technique Mainframe Operating 
 System Technology | Technologie du système d'exploitation des 
 ordinateurs centraux Service Management  Delivery (SMD) | Gestion et 
 prestation des services
 (GPS)
 Information Technology Services Branch (ITSB) | Direction générale des 
 services d'infotechnologie (DGSIT) Shared Services Canada | Services 
 partagés Canada 7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, 
 chemin Montréal, Ottawa, ON K1A 0P7
 Tel.: 613-748-2169
 Fax: 613-748-2617
 E-mail: naoufel.chb...@ssc.gc.ca | naoufel.chb...@spc.gc.ca

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Vincent Massol
 Sent: Thursday, January 17, 2013 3:04 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Xwiki Enterprise 4.4: Custom skin for a 
 space


 On Jan 16, 2013, at 11:27 PM, Sorin Burjan sorin.bur...@xwiki.com wrote:

  Hello, see my comments below
 
  On Wed, Jan 16, 2013 at 11:40 PM, Naoufel Chbihi  
  naoufel.chb...@ssc-spc.gc.ca wrote:
 
  Hello
 
  I'm running Xwiki Enterprise 4.4 on Apache Tomca 6 and I'm trying 
  to create a custom skin for a space that I defined in the default 
  wiki but nothing is changing.  I tried following the steps provided 
  in 
  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins#HChanging
  th eSkinatspacelevel(and specifying toucan as the skin) but 
  nothing happened.  I also tried the procedure described in 
  http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins under How 
  to
 override a Skin sections A, B, C, D and F.1 but I didn't see any changes.

 What you've done should work fine. You just need to specify a skin 
 that exists.

 Thanks
 -Vincent

 
  The Toucan skin was retired in 4.4-rc1, so it is no longer available 
  in 4.4 final. It was considered deprecated and was not maintained 
  anymore for some quite time now, and we decided to remove it. If you 
  are still you want to use it, you can still download it and deploy 

Re: [xwiki-users] Question : configuration of right access

2013-01-21 Thread Bey Youcef
Yes, it work. Thanks so much.

However, I'm testing XWiki and I found out that when logged on XWiki, the
user is redirected to the main page. Is there any way on how to redirect
the logged user to an another page?

Another question, When creating a new page, it is often, in default mode,
not published. After creation, so I need to click each time on publish
button to make it public and visible. Is it possible de skip the
publication step? I mean make page published directly after saving it?

Thank you all in advance.

Youcef

On Mon, Jan 21, 2013 at 11:14 AM, Marius Dumitru Florea 
mariusdumitru.flo...@xwiki.com wrote:

 One option is to add the following to the layoutExtraVars.vm Velocity
 template:

 #if ($isGuest)
   #set ($showLeftPanels = 0)
   #set ($showRightPanels = 0)
 #end

 Hope this helps,
 Marius

 On Fri, Jan 18, 2013 at 8:28 PM, Bey Youcef youcef@gmail.com wrote:
  Hello,
 
  I installed the last vesion of XWiki.
 
  I choose Panel configuration which allow to have three colomns (few
 panels
  on right and left, and in the middle the main page)
 
  Is it possible de allow only the main page PUBLIC (access for guests),
 and
  disable VIEW of panels on right and left? I want that guest VIEW only the
  main page, but not the other panels?
 
  I tried all kind of configuations ! I could put main page accessible for
  GUEST users, but both panels in right and left are visible for GUESTS.
 
  Thanks so much.
 
  Sincerely yours.
  ___
  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


[xwiki-users] Korean translation review

2013-01-21 Thread Sergiu Dumitriu
Hi devs and users,

It looks like the Korean translation is broken in several places. While
most translations are OK, some are just random ISO-8859-1 characters,
probably a bad encoding setting when the file was initially imported
into l10n.xwiki.org. Could someone look at the translations and at least
remove the broken ones?

Anybody can remove broken translations from
http://l10n.xwiki.org/xwiki/bin/XE/XWikiCoreResources?action=viewalllanguage=ko

If they look like 스페이스 블로그 (스페이스 내 포스트 모음) they're good.
If they look like 등록 정보 이름은 이 네이밍 they're bad.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Macro XWiki Google Map

2013-01-21 Thread Bey Youcef
I tested the macro of Google Map. It work fine ;); For the moment, I'm able
only to add one position tag on the map.

Here is an exemple taken from then tuto in Macro Page : {{map location=10,
rue Pernety, France}}{{/map}}

Is it possible de add several postion tags on google map using this Macro?

I tried the following code, but it display 2 maps, which isn't useful.

 {{map location=10, rue Pernety, France}}{{/map}}
 {{map location=20, rue Pernety, France}}{{/map}}

Thanks again for your help.

have nice evening.

Youcef
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Overview of supported languages for the code macro

2013-01-21 Thread Richard Hierlmeier


Hi XWiki users,

I could not find in the XWiki documentation a hint of the supported 
languages for the code macro.


I wrote a small script in a XWiki page that read out of pygment (the 
technology behind the code macro) all supported languages with language 
name, files extension and mimetype.


See:

http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages


Richard
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Overview of supported languages for the code macro

2013-01-21 Thread Vincent Massol
Hi Richard,

On Jan 21, 2013, at 9:10 PM, Richard Hierlmeier rhierlme...@googlemail.com 
wrote:

 
 Hi XWiki users,
 
 I could not find in the XWiki documentation a hint of the supported languages 
 for the code macro.
 
 I wrote a small script in a XWiki page that read out of pygment (the 
 technology behind the code macro) all supported languages with language name, 
 files extension and mimetype.
 
 See:
 
 http://www.hierlmeier.de/wiki/bin/view/Main/SupportedCodeMacroLanguages

Very nice! Would be awesome if you contribute it as a code snippet on 
http://extensions.xwiki.org ! :)

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [myxwiki] new wiki request

2013-01-21 Thread Klemen Grmek
Hello,

My name is Klemen and I would like to request for xwiki hosting. Me and 3
other users would like to start using xwiki enterprise, because we are
working on a non-profit student project and this tool would be very useful
for handling organisation and management for the whole project. In few
words, main goal is to connect students from different faculties and
provide a base of students where people can connect for projects or setting
up start-ups. We think it would expand entrepreneurial possibilities in
Slovenia.

Thank you very much and have a nice day,

Klemen
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Xwiki Enterprise 4.4: Custom skin for a space

2013-01-21 Thread Naoufel Chbihi
Hello again

I have created a templates directory inside my custom skin directory (i.e. 
/xwiki/skins/myskin/templates), I created a file called header.vm inside it, 
and I copied my custom code into the header.vm file.  Now, I want to modify 
the Header attribute in my skin page (using the inline editor) so that it 
simply contains an import or include statement that references the file 
/xwiki/skins/myskin/templates/header.vm file.  I think that I saw this 
somewhere but I can't find it now.  I have made several attempts but I can't 
find the right statement.

Any suggestions would be much appreciated.

Thank you.

Naoufel


-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Naoufel Chbihi
Sent: Monday, January 21, 2013 10:50 AM
To: 'XWiki Users'
Subject: Re: [xwiki-users] Xwiki Enterprise 4.4: Custom skin for a space

Thank you, Caty.  I think that I'm starting to understand how Velocity 
templates are used.  I still need to try overriding the template by creating a 
custom skin directory and placing files inside, as opposed to using class 
properties.


Naoufel Chbihi
Technical Specialist | Spécialiste technique Mainframe Operating System 
Technology | Technologie du système d'exploitation des ordinateurs centraux 
Service Management  Delivery (SMD) | Gestion et prestation des services (GPS) 
Information Technology Services Branch (ITSB) | Direction générale des services 
d'infotechnologie (DGSIT) Shared Services Canada | Services partagés Canada 
7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, chemin Montréal, Ottawa, 
ON K1A 0P7
Tel.: 613-748-2169
Fax: 613-748-2617
E-mail: naoufel.chb...@ssc.gc.ca | naoufel.chb...@spc.gc.ca

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Ecaterina Moraru (Valica)
Sent: Monday, January 21, 2013 9:43 AM
To: XWiki Users
Subject: Re: [xwiki-users] Xwiki Enterprise 4.4: Custom skin for a space

Hi,

http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins already given by Sorin 
should help you with most of your questions.

You could use http://extensions.xwiki.org/xwiki/bin/view/Extension/DebugSkinto
see the part you want to change in what template is defined.

Also take a look at the current style for Colibri 
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-colibri/src/main/resources/colibri
and the structure
https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp

Thanks,
Caty

On Fri, Jan 18, 2013 at 6:03 PM, Naoufel Chbihi  naoufel.chb...@ssc-spc.gc.ca 
wrote:

 Thank you Sorin and Vincent for responding.

 I plan to make a lot of changes to the page layout and I already have 
 CSS and JavaScript files that I would like to use, so I would prefer a 
 solution that would allow the most flexibility.  I looked through the 
 ColorTheme Application tutorial page suggested by Sorin but it seems 
 that this application only changes the colors, not the page layout.
 So, I would like to try to override a skin.  Regarding the Toucan 
 skin, I was just tring to use it as a test since it was part of the 
 tutorial -  I don't really need it.

 I finally understood how to use class properties to override the skin.  
 I have been able to attached a logo to the skin document and reference it.
  Now I'm trying to use custom CSS files and it doesn't seem practical 
 to attach CSS files to the skin document.  So, here's what I would like to do:
 1. Upload my CSS files to the server (ex. to /xwiki/skins/myskin/) 1. 
 Use class properties to override various Velocity templates 2. 
 Reference the CSS files from the inside the Velocity templates that I 
 will write using the inline editor

 Question: How can I reference them from within the Velocity template?

 Thank you.

 Naoufel Chbihi
 Technical Specialist | Spécialiste technique Mainframe Operating 
 System Technology | Technologie du système d'exploitation des 
 ordinateurs centraux Service Management  Delivery (SMD) | Gestion et 
 prestation des services
 (GPS)
 Information Technology Services Branch (ITSB) | Direction générale des 
 services d'infotechnologie (DGSIT) Shared Services Canada | Services 
 partagés Canada 7038-700 Montreal Road, Ottawa, ON K1A 0P7 | 7038-700, 
 chemin Montréal, Ottawa, ON K1A 0P7
 Tel.: 613-748-2169
 Fax: 613-748-2617
 E-mail: naoufel.chb...@ssc.gc.ca | naoufel.chb...@spc.gc.ca

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 Behalf Of Vincent Massol
 Sent: Thursday, January 17, 2013 3:04 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Xwiki Enterprise 4.4: Custom skin for a 
 space


 On Jan 16, 2013, at 11:27 PM, Sorin Burjan sorin.bur...@xwiki.com wrote:

  Hello, see my comments below
 
  On Wed, Jan 16, 2013 at 11:40 PM, Naoufel Chbihi  
  naoufel.chb...@ssc-spc.gc.ca wrote:
 
  Hello
 
  I'm running Xwiki Enterprise 4.4 on Apache Tomca 6 and I'm