Hi,
i am using xwiki 1.7 and if I edit some document, xwiki change xwd_hidden
in database to 1. So my problem is, i have some custom panels where i run
some sql queries. The documents with this bit is invisible now. How can I
change it ? I mean I want them visible. Can I add input type in wiki editor
(like <input type=hidden name=hidden value=0) or it is nessecary to rewrite
my queries?
Thanks for help
Jan
Dear all,
i am playing with the calendar to do what i thought was quite simple,
but i am stuck. Some explanations :
I am trying to put the calendar table on my wiki home page, without the
event list or the add event form.
What i have done is :
- add a section between calendar and event list on XWiki.CalendarEvent
- use code to retrieve only the first section of this document and
render it :
#set( $doc1=$xwiki.getDocument("XWiki.CalendarSheet").getDocument())
#set ($content = $doc1.getContentOfSection(1))
#set( $doc2=$xwiki.getDocument("Main.EventCalendar"))
$xwiki.renderText($content, $doc2)
It's nice, i have my calendar table rendered, but no sign of my events.
I tried to change the $doc2 variable to see if it was a context problem
or something but nothing worked out.
Am i missing something ?
Thanks in advance
Jean
I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18. I am having some
problems logging in when using IE 7. I'm putting in what I know is a valid
username and password, but after submitting the login form I am brought back
to the login screen. I found a closed issue in Jira that may be the same
problem I'm running into (http://jira.xwiki.org/jira/browse/XWIKI-2211). I
have never had a problem with Firefox or Safari, only IE. Something to add
to the mix though is that I was able to login with IE from within the LAN
where XWiki is installed using my work laptop. If I try to login with IE on
the same laptop, but across the Internet, the login fails. Does anyone have
any insight into this problem?
--
Nick Watts
blog: thewonggei.wordpress.com
Is it normal that the blog listing page
(http://localhost:8080/xwiki/bin/view/Blog) is generated in 6-10
seconds if I have only one word per title/content and in 25-30 seconds
if I am using some more detailed articles?
I am using XWiki 1.7 with 1.0 XWiki syntax + Mysql (with indexes).
Is there any solution to achieve faster performance?
Thanks
m.
Hi,
How to remote the trailing "?" for new pages ? I found out how to
change the style in the css file but I didn't see anything about the
trailing "?" that I want to remove.
Thanks
Dave
Hello
I'm a new user of xwiki and i try to create a new wiki with the manager.
But I have a problem...
though I put in "Wiki identifier" field I have the following message :
"A database with this identifier already exists"
When I "force" creation, I have the following message in logs :
2008-12-31 15:42:20,357
[http://127.0.0.1:8080/xwiki/bin/view/WikiManager/CreateNewWiki?wikiname
=test&forcewikiname=on&XWiki.XWikiServerClass_0_wikiprettyname=Test&XWik
i.XWikiServerClass_0_description=&XWiki.XWikiServerClass_0_server=test.l
ocaldomain.com&XWiki.XWikiServerClass_0_owner=XWiki.Admin&XWiki.XWikiSer
verClass_0_owner=&readersgroups=xwiki%3AXWiki.XWikiAdminGroup&readersgro
ups=xwiki%3AXWiki.XWikiAllGroup&writersgroups=xwiki%3AXWiki.XWikiAdminGr
oup&adminsgroups=xwiki%3AXWiki.XWikiAdminGroup&stepbystep=0&doc=1&action
create=Cr%E9er] [http-8080-1] WARN wikimanager.WikiManager -
Wiki [test] creation failed: wiki database creation threw exception
com.xpn.xwiki.XWikiException: Error number 3401 in 3: Exception while
create wiki database test
Wrapped Exception: ERROR: CREATE DATABASE cannot run inside a
transaction block
at
com.xpn.xwiki.store.XWikiHibernateStore.createWiki(XWikiHibernateStore.j
ava:243)
at
com.xpn.xwiki.store.XWikiCacheStore.createWiki(XWikiCacheStore.java:542)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createWikiDatabase(WikiMana
ger.java:610)
at
com.xpn.xwiki.plugin.wikimanager.WikiManager.createNewWiki(WikiManager.j
ava:503)
at
com.xpn.xwiki.plugin.wikimanager.WikiManagerPluginApi.createNewWiki(Wiki
ManagerPluginApi.java:192)
...
Someone know how can I solv that???
Thanks for help
After I stop the XWiki service. All the pages that I added are deleted. I
can't even log in again. And i have to re-register and start all over.
It's like everything is being refreshed when the service is stopped. Whats
going on?
--
View this message in context: http://n2.nabble.com/XWiki-is-deleting-my-pages-tp1942010p1942010.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks Guillaume,
You're right - I don't. I suspected that might be the issue, but hoped
there's a way around it. Shall I send someone the list of pages that needs
to be saved with programming rights? Or is there a way I can programming
obtain rights for myself?
Also, I think there may be another issue - the code that sets privileges on
the pages is common to several sections, so I refactored it into a script
page I include in the classSheets for various classes:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/scripts/DesObjClas…
I'm worried that the macros on this page are not evaluated when a new page /
object is created.
I have a feeling that the right way to go about this is by adding some
helper classes in Java, rather than hacking it in Velocity. But again, I do
not have the privileges to do that. If other people find this issue
relevant, I'm happy to contribute my time towards a generic, stable
solution.
A reminder: the core of the problem is that I want to allow users to create
objects (and respective pages) in a space, and to have ownership over those
objects / pages, but without giving them overall edit rights on the space.
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
------------------------------
> From: "Guillaume Lerouge" <guillaume(a)xwiki.com>
> Subject: Re: [xwiki-users] chicken & egg / catch 21 problem
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <1c35d2320812291005l5bbdccfnd9e75af1778cfc3e(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Mon, Dec 29, 2008 at 6:59 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
>
> > Yishay Mor wrote:
> > >
> > > Ideally, I would like to either:
> > > * have a separate"create" column in the rights editor, which will allow
> > > users to create a new object and give them edit rights over it.
> > > * have a script attached to the current create form which would do the
> > same.
> > > Currently that doesn't work unless the user invoking the form already
> has
> > > edit rights.
> > >
> >
> > Hint: saveWithProgrammingRights
> >
>
> You'll probably need to help him sicne I'm not sure Yishay is an Admin on
> the master wiki on myxwiki.org, thus he probably cannto save the page with
> programming rights, can he Sergiu ?
>
> Guillaume
>
>
>