Hi Canny,

> On 20 Jan 2017, at 08:42, Canny <cannyd...@googlemail.com> wrote:
> 
> Hi,
> 
> I want to embed a teasered version of the blog into a page on my XWiki as it
> is done on 
> https://www.xwiki.org/xwiki/bin/view/Main/News
> 
> On my page a used the same include as on xwiki.org but the blog entries are
> not displayed. Just get the "xe.blog.code.notblog" message. I used the
> default blog application (nothing special). Is any special
> handling/configuration required to get the teasered inline blog?
> 
> {{velocity}}
> {{include document="Blog.BlogSheet"/}}
> {{/velocity}}

You also need to add an xobject of type Blog.BlogClass to your page and set the 
correct “Blog type”’ xproperty to global.

Thanks
-Vincent


> 
> Thanks for your help.
> 
> Canny
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Inline-blog-with-teaser-in-a-page-tp7602494.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.

Reply via email to