Hi, Oskar, Completely new to xWiki I'm afraid I can't be of much help. But I think there is a clear thing: documents are in the database! HTH, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
Oskar E. Skeide<[email protected]> 1/3/2007 15:49 >>>
OK, I guess I just have to edit the document then, to ensure a proper formatting. But when I choose the "Edit" option it seems like it's only the content DIV I can edit. I guess I have to find the document in my filesystem and edit it from there. Problem is, I can't find that document. Where are the WXiki documents stored ? I cannot find them anywhere in [TOMCAT_HOME]/webapps/xwiki/
Yes, I found the document contents in xwiki.xwikiobjects.XWD_CONTENT, but this field seem to include only the content ( content DIV or something). I need to find out from where the rest of the code ( includes: top, side, bottom) is generated. On 3/1/07, Ricardo Rodríguez - Your XEN ICT Team <[email protected]> wrote:
Hi, Oskar,
Completely new to xWiki I'm afraid I can't be of much help. But I think there is a clear thing: documents are in the database!
HTH,
Ricardo
-- Ricardo Rodríguez Your XEN ICT Team
Oskar E. Skeide<[email protected]> 1/3/2007 15:49 >>>
OK, I guess I just have to edit the document then, to ensure a proper formatting. But when I choose the "Edit" option it seems like it's only the content DIV I can edit. I guess I have to find the document in my filesystem and edit it from there. Problem is, I can't find that document. Where are the WXiki documents stored ? I cannot find them anywhere in [TOMCAT_HOME]/webapps/xwiki/
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- if(!Coffee.Exists) { me.Dispose(); throw new NullCoffeeException(); }
Hi, You should first have a look to your pages (view source) to try to find out WHERE there is a missing </div>... by looking at the difference between page that has a problem and the page that works. If it's inside one of your docs, then edit the doc, if it's inside some generated content, then come back, its a xwiki bug... Regards, Gilles, On 2 mars 07, at 15:14, Oskar E. Skeide wrote:
Yes, I found the document contents in xwiki.xwikiobjects.XWD_CONTENT, but this field seem to include only the content ( content DIV or something). I need to find out from where the rest of the code ( includes: top, side, bottom) is generated.
On 3/1/07, Ricardo Rodríguez - Your XEN ICT Team < [email protected]> wrote: Hi, Oskar,
Completely new to xWiki I'm afraid I can't be of much help. But I think there is a clear thing: documents are in the database!
HTH,
Ricardo
-- Ricardo Rodríguez Your XEN ICT Team
Oskar E. Skeide<[email protected]> 1/3/2007 15:49 >>>
OK, I guess I just have to edit the document then, to ensure a proper formatting. But when I choose the "Edit" option it seems like it's only the content DIV I can edit. I guess I have to find the document in my filesystem and edit it from there. Problem is, I can't find that document. Where are the WXiki documents stored ? I cannot find them anywhere in [TOMCAT_HOME]/webapps/xwiki/
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
-- if(!Coffee.Exists) { me.Dispose(); throw new NullCoffeeException(); }
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
-- Gilles Sérasset GETA-CLIPS-IMAG (UJF, INPG & CNRS) BP 53 - F-38041 Grenoble Cedex 9 Phone: +33 4 76 51 43 80 Fax: +33 4 76 44 66 75
Hello, it looks like it's inside the generated content. This is how http://mypal.kicks-ass.org:8180/xwiki/bin/view/Main/Dashboard looks like. The "right-side" menu appears top-left. It seems like all the DIV tags are correct, so I have a feeling that the bug comes from the generated content. Contents of http://mypal.kicks-ass.org:8180/xwiki/bin/view/Main/Dashboard <div> <div id="webhomeblogdisplay" style="float:left; width: 50%;"> <div style="padding-right:20px;"> <h2 class="heading-1-1-1"> Blog <a href="$xwiki.getURL("Main.BlogRss", "view", "xpage=rdf")" style=""><img src="$xwiki.getSkinFile("icons/black- rss-mini.png")"></a></h2> #set($nbstart = $request.nbstart) #set($category = "") #set($nbitems = "10") #includeMacros("Blog.Macros") </div> </div> <div id="webhomeNewsdisplay" style="float:left; width: 50%;"> <div style="padding-left: 20px;"> <h2 class="heading-1-1-1">Recent changes<a href="$xwiki.getURL("Main.WebRss", "view", "xpage=rdf")")" style=""><img src="$xwiki.getSkinFile("icons/black- rss-mini.png")"></a></h2> #set ($sql = "where 1=1 order by doc.date desc") #set($showdata = 1) #if(!$nb) #set($nb = 10) #end #set($formatDate = "yyyy MMMM dd, HH:mm") #set ($list = $xwiki.searchDocuments($sql , $nb , 0)) <ul> #foreach ($item in $list) #set($troubi ="non") #if ($xwiki.hasAccessLevel("view", $context.user, "${context.database }:${item}")) #set($bentrydoc = $xwiki.getDocument($item)) #set($cclass = $xwiki.getDocument("XWiki.XWikiComments").getxWikiClass()) #set($comment = $cclass.newObject()) #if($xwiki.getWebPreferenceAsInt("commentsorder",1)==0) #set($comments = $bentrydoc.getComments()) #else #set($comments = $bentrydoc.getComments(false)) #end #set($createur = $xwiki.getUserName($bentrydoc.author) ) <li> #if($comments.size()>0) #set($i = 0) #set($cobj = $comments.get($i)) #set($comment = $bentrydoc.display("comment", "view", $cobj)) #set($date = $cobj.getXWikiObject().get("date").value) #if($date) #set($date2 = $!xwiki.formatDate($date,"yyyy MM dd HH:mm:ss") ) #end #if($bentrydoc) #set($date1 = $!xwiki.formatDate($!bentrydoc.date,"yyyy MM dd HH:mm:ss") ) #end #if($date1.equals($date2) ) [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] <em>- 1 new comment</em> #set($troubi ="oui") #set($desc = $cobj.getXWikiObject().get("comment").value) #else [$bentrydoc.name in $bentrydoc.web>${bentrydoc.web}.$bentrydoc.name] #end #else #set($comment = "") [$bentrydoc.name in $bentrydoc.web>${bentrydoc.web }.$bentrydoc.name.replaceAll("@","%40")] #end $xwiki.formatDate($bentrydoc.date,"yyyy MMM dd") at $xwiki.formatDate($bentrydoc.date,"HH:mm") #if($troubi =="oui") #set($createur = $xwiki.getUserName($cobj.author) ) #end #if ($createur == "XWikiGuest") Guest #else $createur #end </li> #end #end </ul> </div> </div> <div style="clear:both; margin-bottom: 40px;"><!-- --> </div> </div> On 3/2/07, Gilles Serasset <[email protected]> wrote:
Hi,
You should first have a look to your pages (view source) to try to find out WHERE there is a missing </div>... by looking at the difference between page that has a problem and the page that works. If it's inside one of your docs, then edit the doc, if it's inside some generated content, then come back, its a xwiki bug...
Regards, Gilles,
On 2 mars 07, at 15:14, Oskar E. Skeide wrote:
Yes, I found the document contents in xwiki.xwikiobjects.XWD_CONTENT, but this field seem to include only the content ( content DIV or something). I need to find out from where the rest of the code ( includes: top, side, bottom) is generated.
On 3/1/07, Ricardo Rodríguez - Your XEN ICT Team < [email protected]> wrote:
Hi, Oskar,
Completely new to xWiki I'm afraid I can't be of much help. But I think there is a clear thing: documents are in the database!
HTH,
Ricardo
-- Ricardo Rodríguez Your XEN ICT Team
Oskar E. Skeide<[email protected]> 1/3/2007 15:49 >>>
OK, I guess I just have to edit the document then, to ensure a proper formatting. But when I choose the "Edit" option it seems like it's only the content DIV I can edit. I guess I have to find the document in my filesystem and edit it from there. Problem is, I can't find that document. Where are the WXiki documents stored ? I cannot find them anywhere in [TOMCAT_HOME]/webapps/xwiki/
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- if(!Coffee.Exists) { me.Dispose(); throw new NullCoffeeException(); }
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected]<[email protected]> For general help: mailto:[email protected]?subject=help<[email protected]?subject=help> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Gilles Sérasset GETA-CLIPS-IMAG (UJF, INPG & CNRS) BP 53 - F-38041 Grenoble Cedex 9 Phone: +33 4 76 51 43 80 Fax: +33 4 76 44 66 75
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- if(!Coffee.Exists) { me.Dispose(); throw new NullCoffeeException(); }
Temporary solved. Added an extra </DIV> tag at the end of the contents ( although it should not be there ) and the page displays correctly On 3/6/07, Oskar E. Skeide <[email protected]> wrote:
Hello, it looks like it's inside the generated content. This is how http://mypal.kicks-ass.org:8180/xwiki/bin/view/Main/Dashboard looks like. The "right-side" menu appears top-left. It seems like all the DIV tags are correct, so I have a feeling that the bug comes from the generated content.
Contents of http://mypal.kicks-ass.org:8180/xwiki/bin/view/Main/Dashboard
<div>
<div id="webhomeblogdisplay" style="float:left; width: 50%;">
<div style="padding-right:20px;">
<h2 class="heading-1-1-1"> Blog <a href="$xwiki.getURL("Main.BlogRss ", "view", "xpage=rdf")" style=""><img src="$xwiki.getSkinFile("icons/black- rss-mini.png")"></a></h2>
#set($nbstart = $request.nbstart)
#set($category = "")
#set($nbitems = "10")
#includeMacros("Blog.Macros")
</div>
</div>
<div id="webhomeNewsdisplay" style="float:left; width: 50%;">
<div style="padding-left: 20px;">
<h2 class="heading-1-1-1">Recent changes<a href="$xwiki.getURL(" Main.WebRss", "view", "xpage=rdf")")" style=""><img src="$xwiki.getSkinFile("icons/black-rss-mini.png")"></a></h2>
#set ($sql = "where 1=1 order by doc.date desc")
#set($showdata = 1)
#if(!$nb)
#set($nb = 10)
#end
#set($formatDate = "yyyy MMMM dd, HH:mm")
#set ($list = $xwiki.searchDocuments($sql , $nb , 0))
<ul>
#foreach ($item in $list)
#set($troubi ="non")
#if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}"))
#set($bentrydoc = $xwiki.getDocument($item))
#set($cclass = $xwiki.getDocument("XWiki.XWikiComments").getxWikiClass())
#set($comment = $cclass.newObject())
#if($xwiki.getWebPreferenceAsInt("commentsorder",1)==0)
#set($comments = $bentrydoc.getComments())
#else
#set($comments = $bentrydoc.getComments(false))
#end
#set($createur = $xwiki.getUserName($bentrydoc.author) )
<li>
#if($comments.size()>0)
#set($i = 0)
#set($cobj = $comments.get($i))
#set($comment = $bentrydoc.display("comment", "view", $cobj))
#set($date = $cobj.getXWikiObject().get("date").value)
#if($date)
#set($date2 = $!xwiki.formatDate($date,"yyyy MM dd HH:mm:ss") )
#end
#if($bentrydoc)
#set($date1 = $!xwiki.formatDate($!bentrydoc.date,"yyyy MM dd HH:mm:ss") )
#end
#if($date1.equals($date2) )
[$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] <em>- 1 new comment</em>
#set($troubi ="oui")
#set($desc = $cobj.getXWikiObject().get("comment").value)
#else
[$bentrydoc.name in $bentrydoc.web>${bentrydoc.web}.$bentrydoc.name]
#end
#else
#set($comment = "")
[$bentrydoc.name in $bentrydoc.web>${bentrydoc.web}.$bentrydoc.name.replaceAll("@","%40")]
#end
$xwiki.formatDate($bentrydoc.date,"yyyy MMM dd") at $xwiki.formatDate($bentrydoc.date,"HH:mm")
#if($troubi =="oui")
#set($createur = $xwiki.getUserName($cobj.author) )
#end
#if ($createur == "XWikiGuest")
Guest
#else
$createur
#end
</li>
#end
#end
</ul>
</div>
</div>
<div style="clear:both; margin-bottom: 40px;"><!-- -->
</div>
</div>
On 3/2/07, Gilles Serasset <[email protected]> wrote:
Hi,
You should first have a look to your pages (view source) to try to find out WHERE there is a missing </div>... by looking at the difference between page that has a problem and the page that works. If it's inside one of your docs, then edit the doc, if it's inside some generated content, then come back, its a xwiki bug...
Regards, Gilles,
On 2 mars 07, at 15:14, Oskar E. Skeide wrote:
Yes, I found the document contents in xwiki.xwikiobjects.XWD_CONTENT, but this field seem to include only the content ( content DIV or something). I need to find out from where the rest of the code ( includes: top, side, bottom) is generated.
On 3/1/07, Ricardo Rodríguez - Your XEN ICT Team < [email protected]> wrote:
Hi, Oskar,
Completely new to xWiki I'm afraid I can't be of much help. But I think there is a clear thing: documents are in the database!
HTH,
Ricardo
-- Ricardo Rodríguez Your XEN ICT Team
Oskar E. Skeide<[email protected]> 1/3/2007 15:49 >>>
OK, I guess I just have to edit the document then, to ensure a proper formatting. But when I choose the "Edit" option it seems like it's only the content DIV I can edit. I guess I have to find the document in my filesystem and edit it from there. Problem is, I can't find that document. Where are the WXiki documents stored ? I cannot find them anywhere in [TOMCAT_HOME]/webapps/xwiki/
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- if(!Coffee.Exists) { me.Dispose(); throw new NullCoffeeException(); }
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected]<[email protected]> For general help: mailto:[email protected]?subject=help<[email protected]?subject=help> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Gilles Sérasset GETA-CLIPS-IMAG (UJF, INPG & CNRS) BP 53 - F-38041 Grenoble Cedex 9 Phone: +33 4 76 51 43 80 Fax: +33 4 76 44 66 75
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- if(!Coffee.Exists) { me.Dispose(); throw new NullCoffeeException(); }
-- if(!Coffee.Exists) { me.Dispose(); throw new NullCoffeeException(); }
Hi Oskar, On 6 mars 07, at 12:40, Oskar E. Skeide wrote:
Temporary solved. Added an extra </DIV> tag at the end of the contents ( although it should not be there ) and the page displays correctly
I ran into a similar problem: I created a Blog Post with a rather long content. In the beginning of the content, there was a <div ...> opening (the content was created in html). When the content is displayed in the Main WebHome page (through the dashboard), it is truncated automatically and in the excerpt, there is only the <div> and not the </div> hence a mixup in the document structure. I corrected the problem by entering something valid in the "extract" field of the Blog Post. I think the extracting function of the Blog summary should do its best to close the html tags left opened. I'll have a look to the JIRA issues... Regards, Gilles, -- Gilles Sérasset GETALP-LIG BP 53 - F-38041 Grenoble Cedex 9 Phone: +33 4 76 51 43 80 Fax: +33 4 76 44 66 75
On 3/16/07, Gilles Serasset <[email protected]> wrote:
Hi Oskar, On 6 mars 07, at 12:40, Oskar E. Skeide wrote:
Temporary solved. Added an extra </DIV> tag at the end of the contents ( although it should not be there ) and the page displays correctly
I ran into a similar problem:
I created a Blog Post with a rather long content. In the beginning of the content, there was a <div ...> opening (the content was created in html). When the content is displayed in the Main WebHome page (through the dashboard), it is truncated automatically and in the excerpt, there is only the <div> and not the </div> hence a mixup in the document structure.
Indeed. You spotted the exact cause. I corrected the problem by entering something valid in the "extract" field
of the Blog Post.
I think the extracting function of the Blog summary should do its best to close the html tags left opened. I'll have a look to the JIRA issues...
The API should expose a correctHTML() function. Maybe in a future version... -- http://purl.org/net/sergiu
Hi Sergiu, I created a new jira issue (XWIKI-987) as I could not findd any corresponding issue. Regards, Gilles, On 16 mars 07, at 15:28, Sergiu Dumitriu wrote:
On 3/16/07, Gilles Serasset <[email protected]> wrote: Hi Oskar,
On 6 mars 07, at 12:40, Oskar E. Skeide wrote:
Temporary solved. Added an extra </DIV> tag at the end of the contents ( although it should not be there ) and the page displays correctly
I ran into a similar problem:
I created a Blog Post with a rather long content. In the beginning of the content, there was a <div ...> opening (the content was created in html). When the content is displayed in the Main WebHome page (through the dashboard), it is truncated automatically and in the excerpt, there is only the <div> and not the </div> hence a mixup in the document structure.
Indeed. You spotted the exact cause.
I corrected the problem by entering something valid in the "extract" field of the Blog Post.
I think the extracting function of the Blog summary should do its best to close the html tags left opened. I'll have a look to the JIRA issues...
The API should expose a correctHTML() function. Maybe in a future version...
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
-- Gilles Sérasset GETALP-LIG BP 53 - F-38041 Grenoble Cedex 9 Phone: +33 4 76 51 43 80 Fax: +33 4 76 44 66 75
<server>/xwiki/templates/view.vm is the default view. That's where you start. However, the skin object has fields which, if not empty, will replace this and other templates. So you can start by copying the template into the corresponding skin field, modifying it and using the "Test this skin" option to test it. It's fairly convoluted, but once you understand how it works it is easier to use than if it were only determined by the templates. brain[sic] -----Original Message----- From: Oskar E. Skeide [mailto:[email protected]] Sent: Friday, March 02, 2007 8:15 AM To: [email protected] Subject: Re: [xwiki-users] Problems with CSS Yes, I found the document contents in xwiki.xwikiobjects.XWD_CONTENT, but this field seem to include only the content ( content DIV or something). I need to find out from where the rest of the code ( includes: top, side, bottom) is generated. On 3/1/07, Ricardo Rodríguez - Your XEN ICT Team < [email protected] <mailto:[email protected]> > wrote: Hi, Oskar, Completely new to xWiki I'm afraid I can't be of much help. But I think there is a clear thing: documents are in the database! HTH, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
Oskar E. Skeide<[email protected]> 1/3/2007 15:49 >>>
OK, I guess I just have to edit the document then, to ensure a proper formatting. But when I choose the "Edit" option it seems like it's only the content DIV I can edit. I guess I have to find the document in my filesystem and edit it from there. Problem is, I can't find that document. Where are the WXiki documents stored ? I cannot find them anywhere in [TOMCAT_HOME]/webapps/xwiki/ -- You receive this message as a subscriber of the [email protected] <mailto:[email protected]> mailing list. To unsubscribe: mailto:[email protected] For general help: mailto: [email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws <http://www.objectweb.org/wws> -- if(!Coffee.Exists) { me.Dispose(); throw new NullCoffeeException(); }
participants (5)
-
Gilles Serasset -
Oskar E. Skeide -
Ricardo Rodríguez - Your XEN ICT Team -
Sergiu Dumitriu -
THOMAS, BRIAN M (ATTSI)