Re: [xwiki-users] danish, norsk and swedisch languages

2009-01-31 Thread Gerritjan Koekkoek
We have created a dutch (nl) properties file, can you import these  
into the tool?

Gerritjan

On 29 jan 2009, at 23:36, Ludovic Dubost wrote:

>
> Unfortunately not.. If there are any volunteers to help with the
> translations, we can setup a space to translate to that language on  
> our
> translation tool
>
> http://l10n.xwiki.org/xwiki/bin/view/XE/
>
> We are also looking for volunteers for other languages.
>
> Ludovic
>
> Gerritjan Koekkoek a écrit :
>> Hi,
>>
>> Are the languagefiles for configuring xwiki in the subject languages?
>> Please help...
>>
>> Gerritjan Koekkoek
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>
>
> -- 
> 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

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


Re: [xwiki-users] Admin pages...

2009-01-31 Thread Niels Mayer
One more solution still is to hide the regular "Index" from any regular
users of the
system, replacing the URL in the panel/navbar with a specific and narrow
index to one or more spaces, e.g. hardcode the following in place of
existing UI access links to "Index"
"$xwiki.getURL("Main.SpaceIndex, "view", "space=theworkplace")"

Alternately, you can create a single page containing multiple indexes (w/
the 3 lines taken from Main.SpaceIndex):

By adding multiple sequences of these three lines in a custom index document
for your organization, you can provide easy access to the specific places
you want.

For each "space" you want an index presented, use the code below to create
an index of one space (for multiple, change to doc.space='theworkplace' or
doc.space='...' etc)

#set ($sql = "where doc.space='theworkplace' order by doc.name asc")
#set ($list = $xwiki.searchDocuments($sql))
#includeInContext("XWiki.Results")

Niels
http://nielsmayer.com

PS: i think it would be useful if each space's  'WebHome' was automatically
created and had the above three lines already preinstalled, with doc.space
set to the current space of the WebHome...


On Sat, Jan 31, 2009 at 1:57 AM, Vincent Massol  wrote:

> Hi there,
>
> On Jan 30, 2009, at 9:43 PM, bretteua wrote:
>
> >
> > Is there any way to hide "admin" type pages from users?  What I mean
> > is that
> > when I go to an index or search results, not only does all of the user
> > created pages/content show up, but so does all of the admin pages
> > and pages
> > related to the structure of the XWiki platform.  Given that some of
> > my XWiki
> > users are not savvy programming types, I want to avoid them even
> > being able
> > to see these pages.  They tend to distract and confuse.
> >
> > Is there a way to have only end user created content appear in
> > searches,
> > what's new and index pages?
>
> There are several ways:
>
> 1) exclude them from the search. We already do that for several pages.
> For example if you go to
> http://localhost:8080/xwiki/bin/edit/XWiki/WebSearchCode
>  you'll see this line:
>  #set ($excludedWebs = "doc.space<>'XWiki' and doc.space<>'Admin' and
> doc.space<>'Panels' and doc.name<>'WebPreferences' and")
>
> 2) Mark the pages as hidden. This is a new feature we've added in
> 1.8M1. We need to mark ourselves those technical pages as hidden in
> the default XE XAR. Especially since there's no UI to do that right
> now. Also note that this is a temporary hack while we work on the new
> model. If you really want to mark a page as hidden you can edit that
> page in wiki mode, type the following 2 lines, hit preview and then
> cancel:
>
> $doc.document.setHidden(true)
> $doc.save()
>
> 3) However the best solution is to move your hidden pages to the XWiki
> space since that space is a technical space that doesn't appear in
> search results as is show in 1). We normally do that for pages that we
> consider shouldn't appear in search results. Let us know if we missed
> some pages that should be hidden.
>
> 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


[xwiki-users] Veloity Macros in XWiki 2.0

2009-01-31 Thread hel-o

Hi,

adding velocity macros that create html doesn't work the way it is described
in the XWikiSyntax page:

http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HVelocity2FGroovyScripts

The syntax mentioned here doesn't work:

{{velocity}} #info("Some info text") {{/velocity}} 

The html code ist displayed as code:

test

This syntax works but i don't know if this is correct:

{{velocity}}{{html}} #info("Some info text") {{/html}}{{/velocity}}

hel.

works

-
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Veloity-Macros-in-XWiki-2.0-tp2251210p2251210.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] danish, norsk and swedisch languages

2009-01-31 Thread Henning Sprang
On Thu, Jan 29, 2009 at 11:36 PM, Ludovic Dubost  wrote:
> http://l10n.xwiki.org/xwiki/bin/view/XE/
>
> We are also looking for volunteers for other languages.

How, apart from the obvious - setting the language to German and
searching for missing words - can I check what's missing? (in German,
mainly)

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


Re: [xwiki-users] Document Information Tag Editing

2009-01-31 Thread Guillaume Lerouge
Hi Bret,,

On Fri, Jan 30, 2009 at 9:29 PM, bretteua  wrote:

>
> Thanks for the response Jerome.  I am embarssed to say that I must be
> losing
> my mind.  When I tested this again today, it worked as expected.  I know
> for
> a fact that this was not working before.  But, I just tagged a bunch of
> pages from the Document Information Panel and it worked properly every
> time.
> My apologies for wasting your time.
>

Don't worry, you're not wasting anybody's time here :-)

I had some problems with saving tags as well in the past but I was unable to
trace them back to a specific situation. It somehow happened from time to
time, saving tags stopped working then it worked again. Sometimes flushing
the cache before saving tags seemed to have an effect, sometimes not.

The best thing you can do at this point is to update this thread with
extensive information about your whole setup / configuration / previous
steps / etc... the next times this happens - if it happens again.

Thanks for taking the time to post on the XWiki lists,

Guillaume


> Thank you,
> Bret
>
>
> Jerome Velociter-2 wrote:
> >
> > Hello,
> >
> > That's indeed strange. Can you confirm you click "Save & view" or "Save
> > & continue" when you are done filling in the tag field when editing a
> > document ? Also, can you tell us precisely which version you did download
> > ?
> >
> > Thanks,
> > Jerome.
> >
> > bretteua wrote:
> >> I am a new XWiki user and recently installed the Enterprise version and
> >> am
> >> considering using it for a small company corporate Wiki.  So far, I love
> >> what I see and by comparison is much more user friendly then some of the
> >> other Wikis I have tested.
> >>
> >> But, I am having one small problem.  When I am editing a document, the
> >> Tags
> >> input box in the Document Information panel does not work.  If I make
> any
> >> changes in the Tags input box, they are not saved with the document.
> >> However, if I make changes within the Tags input box in the Information
> >> tab
> >> on a document and click the Save button, the changes are retained.
> >>
> >> Any suggestions as to why the tags input in the Document Information
> >> panel
> >> might not be working?  I have installed the standalone version and have
> >> left
> >> pretty much all of the defaults intact.
> >>
> >> Any help would be appreciated.
> >>
> >> Thank you.
> >>
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
>
> --
> View this message in context:
> http://n2.nabble.com/Document-Information-Tag-Editing-tp2234947p2246925.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
>



-- 
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Admin pages...

2009-01-31 Thread Vincent Massol
Hi there,

On Jan 30, 2009, at 9:43 PM, bretteua wrote:

>
> Is there any way to hide "admin" type pages from users?  What I mean  
> is that
> when I go to an index or search results, not only does all of the user
> created pages/content show up, but so does all of the admin pages  
> and pages
> related to the structure of the XWiki platform.  Given that some of  
> my XWiki
> users are not savvy programming types, I want to avoid them even  
> being able
> to see these pages.  They tend to distract and confuse.
>
> Is there a way to have only end user created content appear in  
> searches,
> what's new and index pages?

There are several ways:

1) exclude them from the search. We already do that for several pages.  
For example if you go to 
http://localhost:8080/xwiki/bin/edit/XWiki/WebSearchCode 
  you'll see this line:
  #set ($excludedWebs = "doc.space<>'XWiki' and doc.space<>'Admin' and  
doc.space<>'Panels' and doc.name<>'WebPreferences' and")

2) Mark the pages as hidden. This is a new feature we've added in  
1.8M1. We need to mark ourselves those technical pages as hidden in  
the default XE XAR. Especially since there's no UI to do that right  
now. Also note that this is a temporary hack while we work on the new  
model. If you really want to mark a page as hidden you can edit that  
page in wiki mode, type the following 2 lines, hit preview and then  
cancel:

$doc.document.setHidden(true)
$doc.save()

3) However the best solution is to move your hidden pages to the XWiki  
space since that space is a technical space that doesn't appear in  
search results as is show in 1). We normally do that for pages that we  
consider shouldn't appear in search results. Let us know if we missed  
some pages that should be hidden.

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


Re: [xwiki-users] How to set page break?

2009-01-31 Thread Marius Dumitru Florea
Hi,

Using XWiki 2.0 syntax you can write:

8<
First paragraph

(% style="page-break-before:always" %)
Second paragraph
>8

See also http://www.w3schools.com/CSS/css_ref_print.asp

Hope this helps,
Marius

wahono wrote:
> I am newbie in xwiki (yesterday I download xwiki enterprise), I want add page 
> break in page. My purpose is if I do export to PDF, this page (although only 
> 1 line) should print in 1 page.
> 
> Thanks in advance.
> 
> Wahono
> ___
> 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