Re: [xwiki-users] Display Blog of specific Category on Main.WebHome

2014-01-16 Thread Marius Dumitru Florea
On Wed, Jan 15, 2014 at 10:26 PM, PSwamy pree...@comdata.com wrote: Well, I tried something using Xwiki Query Manager. Code below - {{velocity}} #set($resultDocuments = $services.query.xwql(from doc.object(Blog.BlogPostClass) as blog where blog.published = '1' and :category member of

Re: [xwiki-users] Display Blog of specific Category on Main.WebHome

2014-01-16 Thread PSwamy
Thank you all for your input. Here is a snippet of code that solves my problem. {{include document=Blog.BlogCode/}} {{velocity filter=none}} {{html clean=false wiki=true}} #set($blogDoc = $xwiki.getDocument(Blog.Webhome)) #getBlogEntries($blogDoc $entries) #foreach ($entryDoc in

Re: [xwiki-users] Display Blog of specific Category on Main.WebHome

2014-01-15 Thread Kaisen
I'm not known in the velocity scripts but I implement the Blog entries as a RSS feed. Maybe that helps you in a other way. Regards Kai Send from a smartphone Am 15.01.2014 um 21:26 schrieb PSwamy pree...@comdata.com: Well, I tried something using Xwiki Query Manager. Code below -

[xwiki-users] Display Blog of specific Category on Main.WebHome

2014-01-14 Thread preethi
Hi All, I want to display Blog of specific category on the main page. I want to keep the existing content (an image and mostly text) and also include a section for blog roll tagged as 'News'. Is there a way to display/include the latest blog entry tagged to a certain category? Thanks in advance