Hi, If you look at the {{include}} macro documentation http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro you'll see that there is no 'anchor' parameter, only 'section'. That's why you get the macro error. Don't use 'anchor', replace it with 'section'. Thanks, Caty On Wed, Mar 12, 2014 at 11:06 AM, Pascal BASTIEN <[email protected]>wrote:
Hello
I want include some section of page in my current page. I need to display text between some anchors.
Then my childpage Sandbox » PageParent » Pagefille2 contain: *************************** Contenu de ma page fille 2 avec 3 sections
[[Cliquer ici pour aller à l'ancre "MonAncre3">>||anchor="MonAncre3"]]
[[Cliquer ici pour aller au titre 1 "Section 4">>||anchor="HSection4"]]
= section1 =
Section 1 avec du texte
= section2 avec tableau =
|=titre1|=titre 2|=titre 3 | toto|titi|tutu
{{id name="MonAncre3"/}} = Section 3 =
Bla bla de section 3
{{id name="MonAncre4"/}} = Section 4 =
Bla bla de section 4 ***************************
and My Parent page Sandbox » PageParent contain: *************************** et le contenu de [[Pagefille2 section3>>doc:Pagefille2]]:
Accès direct à la section: [[Pagefille2 section3>>doc:Pagefille2||anchor="MonAncre3"]]
----
{{include document="Pagefille2" anchor="MonAncre3"/}}
----
{{include reference="Pagefille2" section="MonAncre3"/}}
----
{{include reference="Pagefille2" anchor="MonAncre3"/}}
----
{{include document="Pagefille2" section="MonAncre3"/}}
----
{{include reference="Pagefille2" section="HSection3"/}}
******************************* Only this link working well "{{include reference="Pagefille2" section="HSection3"/}}" :-/
The include macro in wysiwyg editor return: Failed to execute the [include] if we indicate anchor
Include Macra asking "Document" and "reference". Is it the same? I must fill both textbox?
Some documentation indicate anchor instruction, another section...
Thx for your help. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users