Re: [xwiki-users] Include Macro Usage
On 29 Feb 2016 at 06:40:02, Jesse Bright (je...@abrightfamily.com(mailto:je...@abrightfamily.com)) wrote: > Interestingly, explicitly stating .WebHome also fixed an issue I found where > clicking the link for a page that does not yet exist will create a sibling > page instead of a child page. Thanks for mentioning this. I’ve reported http://jira.xwiki.org/browse/XWIKI-13148 because I also don’t think it’s very natural to create wanted pages as siblings instead of children. We lost this when we recently implement the ability to easily link sibling Nested Pages. Thanks -Vincent > Regards, > > Jesse > > > On Feb 28, 2016, at 12:28 PM, Jesse Bright wrote: > > > > > >> On Feb 28, 2016, at 10:08 AM, "vinc...@massol.net" wrote: > >> > >> 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. > > > > You are exactly correct. This also explains why the links (even the include > > link) worked perfectly but the include itself was empty. > > > > Sorry for the lack of example. > > > > Regards, > > > > Jesse ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro Usage
Interestingly, explicitly stating .WebHome also fixed an issue I found where clicking the link for a page that does not yet exist will create a sibling page instead of a child page. Regards, Jesse > On Feb 28, 2016, at 12:28 PM, Jesse Bright wrote: > > >> On Feb 28, 2016, at 10:08 AM, "vinc...@massol.net" >> wrote: >> >> 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. > > You are exactly correct. This also explains why the links (even the include > link) worked perfectly but the include itself was empty. > > Sorry for the lack of example. > > Regards, > > Jesse > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro Usage
> On Feb 28, 2016, at 10:08 AM, "vinc...@massol.net" wrote: > > 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. You are exactly correct. This also explains why the links (even the include link) worked perfectly but the include itself was empty. Sorry for the lack of example. Regards, Jesse ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro Usage
Hi Jesse, On 28 Feb 2016 at 17:47:21, Personal (je...@abrightfamily.com(mailto:je...@abrightfamily.com)) 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, "vinc...@massol.net" wrote: > >> > >> Hi Jesse, > >> > >>> On 16 Feb 2016 at 15:34:57, Jesse Bright > >>> (je...@abrightfamily.com(mailto:je...@abrightfamily.com)) 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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro Usage
After experimenting with the include macro further I have discovered that I can only include terminal pages. Is this functioning as intended? 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? 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, "vinc...@massol.net" wrote: >> >> Hi Jesse, >> >>> On 16 Feb 2016 at 15:34:57, Jesse Bright >>> (je...@abrightfamily.com(mailto:je...@abrightfamily.com)) 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 >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro Usage
That did the trick! Thanks, I will be more careful with my syntax. Regards, Jesse > On Feb 16, 2016, at 6:38 AM, "vinc...@massol.net" wrote: > > Hi Jesse, > >> On 16 Feb 2016 at 15:34:57, Jesse Bright >> (je...@abrightfamily.com(mailto:je...@abrightfamily.com)) 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 > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Include Macro Usage
Hi Jesse, On 16 Feb 2016 at 15:34:57, Jesse Bright (je...@abrightfamily.com(mailto:je...@abrightfamily.com)) 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 users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Include Macro Usage
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! Regards, Jesse ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users