#set($content = $bentrydoc.display("extract", "view", $bentryobj))
#if($content=="")
#set($content = $bentrydoc.display("content", "view", $bentryobj))
#if($content.length()>400)
#set($i = $content.lastIndexOf(" ", $maxchars))
#set($i = $i + 1)
#set($content = "${content.substring(0,$i)} [...>${bentrydoc.fullName}]")
#end
#else
#set($content = "${content} [...>${
bentrydoc.fullName}]")
#end
#set($Author = $bentrydoc.display("extract", "view", $bentryobj))
#if($Author=="")
#set($Author = $bentrydoc.display("AuthorName", "view", $bentryobj))
#if($content.length()>400)
#set($i = $Author.lastIndexOf(" ", $maxchars))
#set($i = $i + 1)
#set($Author = "${Author.substring(0,$i)} [...>${bentrydoc.fullName}]")
#end
#else
#set($Author = "${Author} [...>${
bentrydoc.fullName}]")
#end
#set($Year = $bentrydoc.display("extract", "view", $bentryobj))
#if($Year=="")
#set($Year = $bentrydoc.display("YearInfo", "view", $bentryobj))
#if($Year.length()>400)
#set($i = $Year.lastIndexOf(" ", $maxchars))
#set($i = $i + 1)
#set($Year = "${Year.substring(0,$i)} [...>${bentrydoc.fullName}]")
#end
#else
#set($Year = "${Year} [...>${
bentrydoc.fullName}]")
#end
#set($References = $bentrydoc.display("extract", "view", $bentryobj))
#if($References=="")
#set($References = $bentrydoc.display("ReferencesInfo", "view", $bentryobj))
#if($References.length()>400)
#set($i = $References.lastIndexOf(" ", $maxchars))
#set($i = $i + 1)
#set($References = "${References.substring(0,$i)} [...>${bentrydoc.fullName}]")
#end
#else
#set($References = "${References} [...>${bentrydoc.fullName}]")
#end
#set($URL = $bentrydoc.display("extract", "view", $bentryobj))
#if($URL=="")
#set($URL = $bentrydoc.display("URLInfo", "view", $bentryobj))
#if($URL.length()>400)
#set($i = $URL.lastIndexOf(" ", $maxchars))
#set($i = $i + 1)
#set($URL = "${URL.substring(0,$i)} [...>${bentrydoc.fullName}]")
#end
#else
#set($URL = "${URL} [...>${bentrydoc.fullName
}]")
#end
##Make the content visible or invisible 10-16-07 by Hande
#if(($Author !="") && ($Year !="") || ($References !="") && ($URL !=""))
<b>Author:</b> $bentrydoc.display("AuthorName","view", $bentryobj)<br>
<b>Year:</b> $bentrydoc.display("YearInfo","view", $bentryobj)<br>
<b>Reference:</b> $bentrydoc.display("ReferencesInfo","view", $bentryobj)<br>
<b>URL:</b> $bentrydoc.display("URLInfo","view", $bentryobj)<br>
#else
##set($content = $bentrydoc.display("content", "view", $bentryobj))
$bentrydoc.getRenderedContent($content)
#end
</div> ## entry-content
<div class="article_footer">
#set($bcategories = $bentryobj.getProperty("category").value)
Posted by <address class="author vcard">#userfn($bentrydoc.creator)</address> at <abbr class="published" title="#formatdateISO($bentrydoc.creationDate)">$xwiki.formatDate($bentrydoc.creationDate, "MMM dd, yyyy HH:mm")</abbr>#if($bcategories.size() > 0) in #foreach($bcategory in $bcategories)<a rel="tag" href="$xwiki.getURL("
Blog.Category", "view", "category=${bcategory}")">$bcategory</a> #end#end #if($bentrydoc.date != $bentrydoc.creationDate) | Modified by <address class="author vcard">#userfn($bentrydoc.author)</address> at <abbr class="updated" title="#formatdateISO($bentrydoc.date)">$xwiki.formatDate($bentrydoc.date, "MMM dd, yyyy HH:mm")</abbr> #end | [$bentrydoc.comments.size() Comment(s)>${
bentrydoc.fullName}?xpage=comments] | <a href="$bentrydoc.getURL("view")" rel="bookmark">Permalink</a>
</div> ## article_footer
</div> ## hentry
#end
#end
## prev/next links
#if(($inbstart != 0) || ($velocityCount==$inbitems))
<div class="pagingLinks">
#if ($inbstart!=0)
#set($iprev = $inbstart - $inbitems)
<span class="prevPage">[Previous>$doc.name?nbstart=${iprev}]</span>
#end
#if($velocityCount==$inbitems)
#set($inext = $inbstart + $inbitems)
<span class="nextPage">[Next>$doc.name?nbstart=${inext}]</span>
#end
<span class="clear"></span>
</div> ## pagingLinks
#end
</div> ## hfeed
#end
#blog($category $nbitems $nbstart)
Hi,
This is caused by a mistake in the html code of the affected pages,
most probably a missing or an extra </div>. Use a tool for validating
the page, and it will tell you where the problem is.
On 10/27/07, Hande Aksac <handey@gmail.com> wrote:
>
>
>
> Hello,
>
> I am experiencing some layout issues. I am using the right navigation panel.
> In the Blog WebHome Page, the right navigation panel is properly visible for
> some pages.
> However, for some pages, the right navigation panel either appears at the
> bottom or at the upper left corner of the page. I am having this problem
> only on the Blog WebHome page.
> How can I solve this issue?
>
> Thank you very much for your time and help!
>
> Hande
Sergiu
--
http://purl.org/net/sergiu
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users