13 May
2006
13 May
'06
10:12 a.m.
Hi, > Skins Someone has kindly created a French translation but has overwritten the English version in so doing. It looks like the multi language support for forms isn't working, or maybe it's not clear how to use it (I can't see how to create a translation of an object without affecting the original, unless I manually created a new object etc... - maybe Ludovic or other dev'ers can comment). You can see the original English version by going to history and looking at the previous revision. Here's a direct link: http://www.xwiki.com/xwiki/bin/view/Doc/HowToCreateASkin?rev=1.48 > So it appears that if your current skin object doesn't have anything defined for a particular property, it defaults to the file in the templates directory. Is this true? That's exactly right. > Where and how are these preference values defined? I think the $xwiki.getWebPreference() obtains data from the current space's XWikiPreferences object, which resides in MySpace.WebPreferences. I notice that by default in xwiki v0.9.840 the fields you mention do not exists in the XWikiPreferences class, so it will fall back to default behaviour. I assume the XWikiPreferences class can be modified using the class editor to include new fields, so you can define your own preferences. But note that when you go via the more actions menu to access preferences, you see these fields through a special template (note the xpage=editprefs on the URL query string) that sorts them into categories, but only presents the prefs that template expects to find. So if you modify the preferences class to include your own pref fields, you'll either have to modify the editprefs template too, or edit your prefs directly via the object editor. > Email registration verification Not sure about that one, sorry. :) On 12/05/06, Chris Rigsby <rigsb007@umn.edu> wrote: > I've read some of the archives, and this list looks pretty friendly. > I'd be grateful for some help. I've been running XWiki for about two > weeks and plan to use it for work. The PDF and RSS features are > outstanding! I've also spend a lot of time looking at the xwiki.org > site and the FAQs on xwiki.com, looking for answers and finding some > good ones > > Now the list of questions: > > Skins > I'd really like to change the look of the site. There's an FAQ for > creating skins, but I can only see it in French. Unfortunately, I > don't read French. Is there an English language version? > > I did manage to get Google to try to translate the document, but it > wasn't really readable. > > Comments preferences > I found the FAQ on reversing comments order. Either I missed something, > or it wasn't clear whether I was supposed to directly edit comments2.vm > in the templates dir, or paste the contents of the file into the > "Comments" area for the default skin. So I did the pasting and modified > the code there with good results. So it appears that if your current > skin object doesn't have anything defined for a particular property, it > defaults to the file in the templates directory. Is this true? Next > question is about preferences. Looking deeper at the code for > comments2.vm, there are calls to $xwiki.getWebPreference to retrieve > values for "showcomments" and "commentsorder". Where and how are these > preference values defined? I search xwiki.org, the FAQ, and Googled, > with no luck. > > Email registration verification > Okay, I found the setting for using email verification of registrations > by going to XWiki preference, registration. Do these settings do > anything yet? I tried turning them on, but it doesn't appear to change > anything about the registration process. I'm on 0.9.840. > > I have many more questions, but that's probably too many already. > > Thanks in advance, > > </CR> > > -- > Chris Rigsby > Systems Architect, Enterprise Application Systems > University of Minnesota > rigsb007@umn.edu * 612/624-5334 > > > > > > > > -- > You receive this message as a subscriber of the xwiki-users@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 > > >