Hi Jesse, On 28 Feb 2016 at 17:47:21, Personal ([email protected](mailto:[email protected])) wrote:
> After experimenting with the include macro further I have discovered that I > can only include terminal pages. Is this functioning as intended? It works with any type of page but you need to use the proper syntax. > It seems a strange limitation to enforce and is not mentioned in the > documentation from what I can see. Perhaps I am doing something wrong? Without an example it’s hard to tell you what you’re doing wrong but if I had to guess I’d say you’re missing the “WebHome” part of the page reference. In 7.4.1/8.0M1 we’ve added support for omitting “WebHome” for links (see http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki80M1#HLinksyntaximprovementsforNestedPages). We need to implement this for macro parameters too in the future, see http://jira.xwiki.org/browse/XWIKI-13066 Thanks -Vincent > Regards, > > Jesse > > > On Feb 16, 2016, at 7:12 AM, Jesse Bright wrote: > > > > That did the trick! Thanks, I will be more careful with my syntax. > > > > Regards, > > > > Jesse > > > >> On Feb 16, 2016, at 6:38 AM, "[email protected]" wrote: > >> > >> Hi Jesse, > >> > >>> On 16 Feb 2016 at 15:34:57, Jesse Bright > >>> ([email protected](mailto:[email protected])) wrote: > >>> > >>> As a test of this extension I have added the following to the end of > >>> Sandbox Test Page 2: > >>> > >>> {{include reference="Sandbox.testpage1"/}} > >>> > >>> The inclusion is shown on the information panel at the right but no text > >>> is shown in view mode. It appears I am missing something, any help is > >>> appreciated. Thanks! > >> > >> It’s probably just that the page you referenced does not exist: > >> Sandbox.testpage1 > >> > >> By default the sandbox app has a page named ”Sandbox.TestPage1”, maybe > >> that’s the one you wanted to use instead? > >> > >> Page names are case-sensitive in XWiki. > >> > >> Thanks > >> -Vincent > >> > >>> Regards, > >>> > >>> Jesse _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
