Re: [xwiki-users] Moving elements

2008-09-02 Thread Edward Laptop
Thanks!

That was so easy to do once I got it!

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEADTITLEeeweb Signature/TITLE
META http-equiv=Content-Type content=text/html; charset=windows-1252
META content=MSHTML 6.00.6000.16640 name=GENERATOR/HEAD
BODYIMG src=http://www.maxelcat.co.uk/small_eeweb.jpg;
DIVFONT face=ver size=2ee-web.co.uk/FONT/DIV
DIVA href=mailto:[EMAIL PROTECTED]
FONT face=verdana size=2[EMAIL PROTECTED]/FONT/AFONT face=ver
size=2 /FONT/DIV
DIVFONT face=ver size=207760 392284/FONT/DIV/BODY/HTML

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of adoro
Sent: 02 September 2008 08:35
To: users@xwiki.org
Subject: Re: [xwiki-users] Moving elements



Hello Edward,

did you save any Menu Panel in your left side column?

In this way it should work:
Go to
- Administration (button in the top right corner) - Administrate Wiki (if
you want to have the same layout for the whole wiki, otherwise you can also
set different layout for different spaces)
- Panel Wizard
- Tab Page Layout
- choose Left column - btn Save the new Layout
- ! go to the Panel List and move at least one Panel into your left side
menu (drag them from the list of available panels to the left column)
- btn Save the new Layout

By default the home page belongs to the Main Space (Main.WebHome), so you
can also try to set certain layout for the Main space (- Edit space
preferences - Main)


Edward Laptop wrote:


 I go to pagelayout as you describe, press a different layout. It tells me
 its saved. When I go back to the home page nothing has changed!



Regards,
Alla
--
View this message in context:
http://n2.nabble.com/Moving-elements-tp796954p833237.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


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


Re: [xwiki-users] Broken link and error message

2008-09-02 Thread Tiago Rinck Caveden
Hello Jerome,

On Mon, Sep 1, 2008 at 8:10 PM, Jerome Velociter [EMAIL PROTECTED] wrote:

 Are you sure the watch application you installed on your wiki matches
 your wiki version ?

 What versions did you use ?


Well, I was testing in a build of my own, because I need this patch:
http://jira.xwiki.org/jira/browse/XWIKI-2571
(By the way, any chances of having it reviewed and applied? It's simple
stuff :) )

The version that it shows on the bottom of the page is XWiki Enterprise
1.6-SNAPSHOT.${buildNumber}
So I assume it's new, right?
It's not the most recent copy of the HEAD though. Last week I tried updating
it but I had some errors on the build, apparently some dependency problem in
the POM, some jar didn't have the artifact-id filled. I didn't investigate
much on that.

XWiki Watch version was 1.0.

I guess the versions should be compatible, shouldn't they?

Thanks,
-- 
Tiago Rinck Caveden
http://caveden.multiply.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] blog rss headers enumeration

2008-09-02 Thread Martin Molhanec

OK, no one answered me yet :-( But I discover a matter.
When I restarted Tomcat, I can see all messages at once. Probably a matter
of caching?
How it is possible to disable a cache for blog before I execute a command
getFeed()?
Yes, it is a very strange behavior  :-( Help me!
So no one have made a panel with blog/rss headers yet?
-- 
View this message in context: 
http://n2.nabble.com/blog-rss-headers-enumeration-tp794045p833867.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


[xwiki-users] Move the search box

2008-09-02 Thread Edward Laptop
Hi

I have used the panels to place the search box down under a box of links -
that are in the left hand column. However, I really want to get the search
box up in the right of the header.

How would I do that please

(I have moved the login by taking some code out of global.vm and placing it
inside leftpanels.vm)

thanks

ee-web.co.uk
[EMAIL PROTECTED]
07760 392284
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Move the search box

2008-09-02 Thread adoro

Hi Edward,

do you want the search panel to appear in the top corner or just search
input field in the place where normally login link is placed?

If so, you can copy the source code from the Search Panel - available in
inline edit mode - and put it where you want. 

You'll find it either from /bin/Panels/ - choose  Search [Edit]  from the
list of Panels
or bin/Panels/Search -menu Edit - Inline form  

I like the panels in XWiki! - it's a very helpful tool to create your own
design :-)
 

Edward Laptop wrote:
 
 
 However, I really want to get the search
 box up in the right of the header.
 
 
 (I have moved the login by taking some code out of global.vm and placing
 it
 inside leftpanels.vm)
 
 thanks
 
 ee-web.co.uk
 [EMAIL PROTECTED]
 07760 392284
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

Regards,
Alla
-- 
View this message in context: 
http://n2.nabble.com/Move-the-search-box-tp833988p834158.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] - trouble restarting xwiki

2008-09-02 Thread Jean-Vincent Drean
On Tue, Sep 2, 2008 at 5:45 PM, John V. Skinner [EMAIL PROTECTED] wrote:
 My first posting:
 I am unable to start my xwiki, (beta 4).

You mean XWiki 1.0 beta 4 ?!

 I saw some discussions regarting this problem, but didn't quite
 see the solution.
 any help, plus help on exporting data without xwiki service
 running in case it does come back to life would be appreciated.

 http://ctaa.ct.med.ge.com:8080/xwiki/bin/view/Main/WebHome
 DBCPConnectionProvider:configure:191 - Could not create a DBCP pool
 org.apache.commons.dbcp.SQLNestedException: Cannot create
 PoolableConnectionFactory (User not found: SA)

This error means that xwiki is not able to connect to your database.
What kind of db are you trying to use ? Considering the user SA it
looks like your wiki is configured to use the embedded hsqldb
database, have you deleted the database/ directory ?

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


Re: [xwiki-users] Move the search box

2008-09-02 Thread Edward Laptop
I basically want it to look as is. I have tried copying the code as you
desribe into the global.vm but I have been staring at my screen for about 5
hours now and I have begun to do silly things like */ instead of *#

So I need a break

thanks for reply

Edward


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


Re: [xwiki-users] Add attachment form to inline mode.

2008-09-02 Thread Sergiu Dumitriu
ming chen wrote:
 As I know, the attachment form exists only in view mode. If I want to upload
 a file (e.g. xxx.png) to an object, I must create the object in inline mode,
 then attach a file in view mode. Why don't we just keep an attatchment form
 in inline mode?

Please file a bug report on jira.xwiki.org

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] - trouble restarting xwiki

2008-09-02 Thread Skinner, John (GE Healthcare)
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jean-Vincent Drean
Sent: Tuesday, September 02, 2008 10:30 AM
To: XWiki Users
Subject: Re: [xwiki-users] - trouble restarting xwiki

On Tue, Sep 2, 2008 at 5:45 PM, John V. Skinner
[EMAIL PROTECTED] wrote:
 My first posting:
 I am unable to start my xwiki, (beta 4).

You mean XWiki 1.0 beta 4 ?!

Yes



 I saw some discussions regarting this problem, but didn't quite see 
 the solution.
 any help, plus help on exporting data without xwiki service running in

 case it does come back to life would be appreciated.

 http://ctaa.ct.med.ge.com:8080/xwiki/bin/view/Main/WebHome
 DBCPConnectionProvider:configure:191 - Could not create a DBCP pool
 org.apache.commons.dbcp.SQLNestedException: Cannot create 
 PoolableConnectionFactory (User not found: SA)

This error means that xwiki is not able to connect to your database.
What kind of db are you trying to use ? Considering the user SA it looks
like your wiki is configured to use the embedded hsqldb database, have
you deleted the database/ directory ?

--
Jean-Vincent Drean
___
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] Move the search box

2008-09-02 Thread adoro

Sure you use only cut-out

  form action=$xwiki.getURL('Main.WebSearch')
div id=globalsearch
  input id=globalsearchinput type=text name=text
value=$msg.get('panels.search.inputText') size=15 onfocus=if
(this.value == '$msg.get('panels.search.inputText')') value='';
this.select(); onblur=if (this.value == '')
value='$msg.get('panels.search.inputText')'; this.blur()/
nbsp;
  input class=button value=$msg.get('panels.search.submit')
type=image src=$xwiki.getSkinFile(go.png)/
/div
  /form

without panelheader and footer? :-)




Edward Laptop wrote:
 
 I basically want it to look as is. I have tried copying the code as you
 desribe into the global.vm but I have been staring at my screen for about
 5
 hours now and I have begun to do silly things like */ instead of *#
 
 So I need a break
 
 thanks for reply
 
 Edward
 
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Move-the-search-box-tp833988p834350.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] - trouble restarting xwiki

2008-09-02 Thread John V. Skinner
On Tue, 2008-09-02 at 10:31, Skinner, John (GE Healthcare) wrote:
  
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of Jean-Vincent Drean
 Sent: Tuesday, September 02, 2008 10:30 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] - trouble restarting xwiki
 
 On Tue, Sep 2, 2008 at 5:45 PM, John V. Skinner
 [EMAIL PROTECTED] wrote:
  My first posting:
  I am unable to start my xwiki, (beta 4).
 
 You mean XWiki 1.0 beta 4 ?!
 
 Yes
 
 
 
  I saw some discussions regarting this problem, but didn't quite see 
  the solution.
  any help, plus help on exporting data without xwiki service running in
 
  case it does come back to life would be appreciated.
 
  http://ctaa.ct.med.ge.com:8080/xwiki/bin/view/Main/WebHome
  DBCPConnectionProvider:configure:191 - Could not create a DBCP pool
  org.apache.commons.dbcp.SQLNestedException: Cannot create 
  PoolableConnectionFactory (User not found: SA)
 
 This error means that xwiki is not able to connect to your database.
 What kind of db are you trying to use ? Considering the user SA it looks
 like your wiki is configured to use the embedded hsqldb database, have
 you deleted the database/ directory ?

from webapps/xwiki/WEB-INF/hobernate.cfg.xml it reads like i am using
myql, although i thought i was using hsqldb.  Am I looking int the
right file?

hibernate-configuration
  session-factory

  
property name=show_sqlfalse/property
property name=use_outer_jointrue/property

  
property name=dbcp.defaultAutoCommitfalse/property
property name=dbcp.maxActive50/property
property name=dbcp.maxIdle5/property
property name=dbcp.maxWait3/property
property name=dbcp.whenExhaustedAction1/property
property name=dbcp.ps.whenExhaustedAction1/property
property name=dbcp.ps.maxActive20/property
property name=dbcp.ps.maxWait12/property
property name=dbcp.ps.maxIdle20/property

  
!-- Uncomment if you want to use HSQLDB.
 Note that the database will be created automatically if it
doesn't already exist.property
name=connection.urljdbc:hsqldb:file:/some/path/xwiki_db;shutdown=true/property
property name=connection.usernamesa/property
property name=connection.password/property
property
name=connection.driver_classorg.hsqldb.jdbcDriver/property
property
name=dialectorg.hibernate.dialect.HSQLDialect/property
--

  
!-- Default MySQL configuration --
property
name=connection.urljdbc:mysql://localhost/xwiki?useServerPrepStmts=false/property
property name=connection.usernamexwiki/property
property name=connection.passwordxwiki/property
property
name=connection.driver_classcom.mysql.jdbc.Driver/property
property
name=dialectorg.hibernate.dialect.MySQLDialect/property

  
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property

  
!-- Mapping files --
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/

  

  
  /session-factory
/hibernate-configuration



 
 --
 Jean-Vincent Drean
 ___
 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
-- 
John V. Skinner [EMAIL PROTECTED]
MICT Advanced Applications
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] user admin on myxwiki

2008-09-02 Thread Joel Grailard
Hi,
I've no answer to my request.
It's possible to restart http://rcnthouare.myxwiki.org at the initial
status?

Thanks
Joel

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de
[EMAIL PROTECTED]
Envoye : vendredi 29 aout 2008 16:58
A : XWiki Users
Objet : Re: [xwiki-users] user admin on myxwiki

It's same, it isn't better.

I've just begenning to create myxwiki (one page only).
It's possible to delete all (user and pages) and recreate them at the
initial ?

Thanks
Joel

Selon Jean-Vincent Drean [EMAIL PROTECTED]:

 Is it better now ?
 If not I guess we have a rights check + multiwiki problem in the panel
 wizard.

 On Fri, Aug 29, 2008 at 3:30 PM,  [EMAIL PROTECTED] wrote:
  Thank for your answer.
 
  I've this message
  You need to have administrative rights to use the Panel Wizard
  at the validation.
 
 
  Selon Jean-Vincent Drean [EMAIL PROTECTED]:
 
  The admin right was given to unregistered users on your wiki, it can
  have interfered with your admin rights.
  Can you check that you have them back ?
 
  On Fri, Aug 29, 2008 at 2:42 PM, Joel Grailard [EMAIL PROTECTED]
wrote:
   Hi,
   I've a problem with my user admin of myxwiki :
  
   The user (rcnthouare) of myxwiki http://rcnthouare.myxwiki.org  on
the
 wiki
   farm doesn't have admin permit.
  
   For exemple :
  I can't modify the presentation with the Panel Wizard : I
would
  like
   change No colum to Both Colums.
  
  
   How my user can have admin permit?
  
   I hope someone will be watch this.
   Thanks
   Joel Grailard
  
  
   ___
   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
  
 
 
 
  --
  Jean-Vincent Drean
  ___
  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
 



 --
 Jean-Vincent Drean
 ___
 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

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


Re: [xwiki-users] Broken link and error message

2008-09-02 Thread Sergiu Dumitriu
Tiago Rinck Caveden wrote:
 Hello Jerome,
 
 On Mon, Sep 1, 2008 at 8:10 PM, Jerome Velociter [EMAIL PROTECTED] wrote:
 
 Are you sure the watch application you installed on your wiki matches
 your wiki version ?

 What versions did you use ?
 
 
 Well, I was testing in a build of my own, because I need this patch:
 http://jira.xwiki.org/jira/browse/XWIKI-2571
 (By the way, any chances of having it reviewed and applied? It's simple
 stuff :) )

I commented on jira about this patch.

 The version that it shows on the bottom of the page is XWiki Enterprise
 1.6-SNAPSHOT.${buildNumber}
 So I assume it's new, right?
 It's not the most recent copy of the HEAD though. Last week I tried updating
 it but I had some errors on the build, apparently some dependency problem in
 the POM, some jar didn't have the artifact-id filled. I didn't investigate
 much on that.
 

If you are trying to build on windows, then you should add -Pwindows on 
the mvn command line.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Treeview problem

2008-09-02 Thread Sergiu Dumitriu
Collins, Michael D wrote:
 Hi
 
  
 
 We recently changed our configuration so that mySQL was used to house
 our data. Prior to this change treeview was showing all spaces and pages
 in alphabetical order. Now, the pages are still shown in alphabetical
 order, but the spaces are not. In fact their order seems to change! I
 believe I have the most up to date treeview code, though I am now
 beginning to think that the previous sorting was co-incidental. Is there
 code for a sorted treeview? Or is it a case of configuring something now
 we are using mySQL. I confess this is not an area of my expertise! We
 are using the latest version of XWiki, downloaded last week.
 

You should edit XWiki/Treeview (in wiki mode) and locate the line:

  #foreach ($space in $xwiki.spaces)

and replace it with:

  #foreach ($space in $util.sort($xwiki.spaces))

 
 Further to this, we also used to have the simple foreach($subdoc...code
 on each landing page per space so that all pages within that space were
 listed at the top. Again, this used to be in alphabetical order. It no
 longer is after this migration. I have managed to get around that by
 using a query (as per documentation), and this has put things back to
 how they were.
 

Either that, or you could again use $util.sort to sort the search results.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] user admin on myxwiki

2008-09-02 Thread Sergiu Dumitriu
Joel Grailard wrote:
 Hi,
 I've no answer to my request.
 It's possible to restart http://rcnthouare.myxwiki.org at the initial
 status?
 

Done.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users