Is it possible to have different permissions on a object Vs the page
the object lives on?
For example, if I have an instance of a custom class attached to a
page, can I allow users to edit the page, but prevent them from
editing (or even viewing) the object?
Matt
Hi there,
I think this is a way. For example I can limit the display to 5 by
"count=5". How can I set it to include description? "full=true"
doesn't seem to work.
Thanks in advance.
Howard
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
Also, this file has some of the different interface items labeled
http://pause-java.com/xwiki/doc/doc-xwiki.jpg
Even if you don't know css, all that's needed to change the color at least is
the line background-colo: #(6 digit html color code, check the net to see color
codes)
- Mark Lichman
-----Original Message-----
From: kenk(a)ucar.edu [mailto:kenk@ucar.edu]
Sent: Thursday, September 22, 2005 11:53 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Re: Xwiki Logo
> Can someone explain how to change the xwiki logo in the upper left
> corner of the pages so that all of them will be changed?
go to this page:
http://<yourdomain.com>/xwiki/bin/view/XWiki/MySkin
and look at the attachments, you see the graphic. And on 'Edit this skin'
you'll see the style.css for logo and other things. Maybe that border too, but
I don't know css either.
To modify the logo
- Make your new logo (the default logo size is 150x40)
- Drop the file into ../xwiki/skins/default
- modify the last line of style.css file to have your logo filename
To modify the background color of the heading bar (make it white say)
- in xwiki.css add the folowing line to the #banner
background-color:#ffffff;
if you want to change the height of the top heading/banner/logo
- in xwiki.css modify #banner height for the desired pixel height
easiest way to ensure consistent display of the logo if you want to change the
logo size is
- modify the following line in header.vm
<img src="$logourl" alt="XWiki" width="150" height="40"/>
to have the proper width and height of your logo. Make sure that the height is
no bigger than the banner height in xwiki.css
- Mark Lichman
Note: if your logo width is smaller than the default, you will likely have a
tiled logo display unless you remove background doubling. Cheap way to solve
this for all browsers is to shrink the logo size in header.vm
-----Original Message-----
From: Tim Suter [mailto:tsuter@cait.org]
Sent: Thursday, September 22, 2005 11:34 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] Xwiki Logo
Can someone explain how to change the xwiki logo in the upper left
corner of the pages so that all of them will be changed? I also want to
remove that gradient blue bar out of there so I can just put my company
logo on it and not worry about it looking funky. Is it really as
difficult as the howto on the xwiki.org site suggests or has someone
developed a quick and dirty howto on this? I am new at CSS and
inevitably will break something if I go messing with the skins.
Peace be with all of you,
Tim Suter
Hi
I'm looking for a way to define some kind of associations between
classes. Let me explain by an example what I mean exactly:
I want to collect structured data for countries and its regions. To
achieve this I define to classes, CountryClass and a RegionClass (incl.
the sheets and templates). Now the user should be able to create new
country objects _and_ he should have the possibility (in the form
itself) to define which regions belong to a country.
I tried to achieve this by adding a database list property to the
country class with an appropriate hibernate query which selects all
region documents. This let the user select one or more regions for a
country. This is fine so far but
- Is there any more general or a better way to achieve this associations
(e.g. without hibernate queries)?
- How can I adapt my ClassSheet so that the selected region associations
are hyperlinked to the appropriate region objects?
Thanks
Yves
I am trying to enable LDAP authentication against an OpenLDAP server and
need some advice on how to get this up and running. Can someone help me
out?
Heres the content of the authentication portion of my xwiki.cfg file in
following the configuration instructions here:
http://www.xwiki.org/xwiki/bin/view/Dev/LDAPIntegrationAD
You will note that I have asked some questions throughout the file.
xwiki.authentication=form
xwiki.authentication.validationKey=totototototototototototototototo
xwiki.authentication.encryptionKey=titititititititititititititititi
xwiki.authentication.cookiedomains=xwiki.com,wiki.fr
xwiki.authentication.useip=false
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=ldap.cait.org
xwiki.authentication.ldap.port=389
#xwiki.authentication.ldap.check_level= <? Wasn't sure of what this
should be. Need more info on what this is and does.>
xwiki.authentication.ldap.base_DN=ou=People,o=cait.org
#xwiki.authentication.ldap.bind_DN= <blank for anonymous access What's
the proper way to indicate 'blank'?>
#xwiki.authentication.ldap.bind_pass= <blank for anonymous access>
#xwiki.authentication.ldap.UID_attr=uid
The ones I have commented out are also commented out currently in the
config file. Should I comment some out or change others?
Tim
This time I deleted something in the database to get rid of my rogue page (see
previous threads). Since then the attachments made with the form
{attach:file.ext} do not work. Instead of making the link it just shows the
name of the file.
I get this error message in the logs:
23:15:57,855 INFO [Engine] StandardContext[/xwiki] Velocity [error] RHS of
#set statement is null. Context will not be modified. [line 6, column 1]
Where should I look to get the attachment back at work? Do you know?
Thanks.
Marc