I've noticed that activating the always authenticate on viewing feature in the
XWiki preferences prevents unregistered users from accessing all pages,
including the registration page. Is there a way to hide content from uregistered
users and allow new users to register?
Thanks
- Mark Lichman
I performed a raw install: installed xwiki version 0.9.840 fresh on a Fedora Core Linux box with mySQL 4.0.26 and Tomcat 5.02. After I finally figured out how to install mySQL everything went smoothly. My wiki is up and running, and I started using it and building pages.
But I noticed that everything I was doing is as the user: XWikiGuest. I want to create user accounts, and disable editing for anonymous guests. So, I click on "register" it takes me to a completely blank page. Just exactly like the blank pages you have when you've got a page and haven't put anything on it yet. So, I click on "edit this page" and it looks exactly like I'm editing a normal page - in fact it lets me edit the page. But no way to register new users.
So, I go to the user's page: xwiki/bin/view/XWiki/XWikiUsers and it is completely blank too. Exactly like the above, I can edit it and do what I want on it, but no user stuff. So, I go back to my main page and click on "log in" and I try out the Admin password that is advertised on the support site user: "Admin" password: "admin" - and no dice. It grinds away for 1 split second and gives me back my log-in screen with the words I just typed in missing. No errors, nothing about bad passwords, nothing.
I looked all over the documentation and couldn't find anything helpful.
Ever seen this problem before? Is there something somewhere on the documentation site that I could paste into those two pages, using "edit page" to make them work?
Thanks
Kevin Miller
Please pardon me for asking, but I couldn't find a good answer for this in
the archive or in the FAQ.
On Main.WebHome and on just about every other page I get the nice left0side
menu. When I click on the various categories on the left, such as News or
Personal, it takes me to a page which shows the recent extracts for that
category, and the page title for all of these pages is Blog.Category.
Unfortunately, the left-sde menu is missing from all Blog.Category page
instances. How can I add it back in?
Also, is there any way to list all the links that have been created but do
not yet have their own pages? I will often just put brackets around
something with the intention of getting back to it later, but sometimes I
forget where they were. On the same note, is there any way to get a list of
all pages that have been created?
Thanks in advance!
Randy
Hi all,
Using XWiki 0.9.840 I get systematically the error below when trying to
export any document to PDF. Do you have any idea about it? I tried both
UTF-8 and ISO-8859-1 encodings and I got the same result. The XML
conversion works fine.
Stéphane
================================
com.xpn.xwiki.XWikiException: Error number 12003 in 12: XSL
Transformation Failed
Wrapped Exception: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
at com.xpn.xwiki.pdf.impl.PdfExportImpl.applyXsl(PdfExportImpl.java:176)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.convertXHtmlToXMLFO(PdfExportImpl.java:154)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:86)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:115)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:129)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportToPDF(PdfExportImpl.java:119)
at com.xpn.xwiki.XWikiService.renderPDF(XWikiService.java:969)
================================
--
Stéphane Laurière
slauriere(a)mandriva.com
Hi.
I've tried to create a blog exactly as described in tutorial, but I get
an error just after first step i.e. after 'save' or even 'preview' of
Test.BlogMacro page containing
#set($page = Blog.WebHome)
#includeForm("Test.BlogMacro")
The error is
Error number 4001 in 4: Error while parsing velocity page Test.BlogMacro
Wrapped Exception: Encountered "Blog" at line 1, column 14. Was
expecting one of: "[" ? "(" ? ? "true" ? "false" ? ? ? "{" ? "!" ?
Do you have any suggestions? Where to begin to look?
I'm using xwiki version 0.9.793.
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Hi,
I try to display a document inlined of another one:
snippet from my CountryClassSheet:
<table border="1" cellspacing="0" cellpadding="2">
#foreach($prop in $class.properties)
<tr>
<td> *${prop.prettyName}* </td>
#if ($prop.name == "region")
<td>
#includeTopic("YlaTst.Sicilia")
</td>
#else
<td>$doc.display($prop.getName())</td>
#end
</tr>
#end
The problem is that the including document itself is included instead
of the YlaTst.Sicilia document ! It's inlined only once without
recursion.
What's wrong here?
Yves
Hi,
I have a class with a database list property which should give the
possibility to make a relation to another document. To achieve this I
put following hibernate query string to the property definition:
select obj.name from BaseObject as obj where
obj.className='MyApp.MyClass'
Now when I create a new object I can edit all other fields except the
one with the database list. Is there any problem with my hibernate
query? Btw, I found the query string in the Demo.RelationalFormDemo
class on the xwiki site. Additional question: what it the BaseObject
table? Is it changing depending on the context?
Thanks
Yves
Excellent, thanks!
Now, if there is just a way to add a toc, at least at the section level this
will be quite an acceptible work around.
- Mark
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Thursday, September 22, 2005 2:16 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] replicate sectional editing behavior
Lichman, Mark Eugene wrote:
> Ok, I've gotten the first part (including all children in a page) with the
> following:
>
> #set($sql = "where doc.parent = '${doc.web}.${doc.name}'")
> #foreach($item in $xwiki.searchDocuments($sql))
> #includeTopic($item)
> #end
>
> Not sure how to do the rest.
>
>
To add a link:
#set($sql = "where doc.parent = '$doc.fullName'")
#foreach($item in $xwiki.searchDocuments($sql))
#set($itemdoc = $xwiki.getDocument($item))
<a href="$itemdoc.getURL("edit")">edit this section</a>
#includeTopic($item)
#end
To add a form field to create a new section.. Another solution could be
to automatically name pages using a counter and use the parent page name..
<form action="">
<input type="hidden" name="parent" value="$doc.fullName" />
Add a section: <input type="text" name="name" value="new section name" />
<input type="button" value="Go"
onclick='action="../../edit/${doc.web}/" + this.form.name.value;
this.form.submit();' />
</form>
Ludovic
> - Mark
>
>
> -----Original Message-----
> From: Lichman, Mark Eugene
> Sent: Thursday, September 22, 2005 12:28 PM
> To: xwiki-users(a)objectweb.org
> Subject: [xwiki-users] replicate sectional editing behavior
>
>
> I'd like to replicate sectional editing behavior. I think a possible way to do
> this is:
>
> 1. create a parent page and include all child pages,
> 2. for each child include a link to the edit page
> 3. add a class at the bottom of the parent page to create a new section, maybe
> automatically creating the link to the new sections edit page
>
> Is this possible? Could someon help me figure out how to do this, i.e. how to
> include all child page in a parent and create the necessaryv class.
>
> Thanks Much,
>
> - Mark Lichman
>
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic