On Fri, Apr 30, 2010 at 16:45, Ben Stuggler <[email protected]> wrote:
>
> Hi,
>
> I made two Forum with the Bulletin Board. I wondered if it's possible to
> display the twice Forum (the Webhome?) on a same page, and not just a link.
>
> Like this, it's possible to create different forum/space with different
> rights for users.
>
> I tried these solutions but it doesn't work
>
>
> {{velocity}}
>
> #includeInContext("Forum1.WebHome")
> #includeInContext("Forum2.WebHome")
>
> #includeForm("Forum1.WebHome")
> #includeForm("Forum2.WebHome")
>
> #includeTopic("Forum1.WebHome")
> #includeTopic("Forum2.WebHome")
>
> {{/velocity}}
What do you mean by "it doesn't work" exactly ?
#includeInContext does not really include as it is, it's rendering the
target and insert html so you have to use {{html}} macro around it.
The right way to include page is supposed to be by using {{include}}
macro if your are including xwiki/2.0 syntax page inside another
xwiki/2.0 syntax page
{{include document="Forum1.WebHome"/}}
>
>
> Thanks
>
> Regards.
>
> Ben
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Include-pages-in-an-other-one-tp4986033p4986033.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users