|
Hi David,
I just re-read your Jira issue and now see that I read it in a hurry and misunderstood your intent. As I understand it now, you have suggested that a new argument be added to TOC to force it to render the full URL of the page. I initially thought that you were referring to an undocumented argument. Thanks, I've seen a few examples of how to include a toc from Page A onto Page B, but no way to make the links work properly.
Method 1: PageB: {metadata-from:PageA|toc}Method 2: PageB: {report-table} {local-reporter:content:children|source=PageA} {report-column:title=PageA Contents|link=False}{toc}{report-column} {report-table} Either way, the links are anchors to the current page, not the page the link should go to. I'll add another nice way to use {toc} if David's brilliant suggestion is heeded: I would place a {toc} over in the child page, and include it in within {excerpt} macro. Then I would display the same table-of-contents in the parent page via the {excerpt-include} macro.
|
|||||||||||||||||||||||||||||||||||||||||||||||
I am trying to use this feature but I am confused about how to enable the absolute URL parameter. I am also confused about which toc macro/plugin to use, too, since there is the TOC macro from Confluence and the toc macro in the Table of Contents plugin (CustomWare). If you could explain which macro/plugin to use, how to ensure that the "right" one is reference (if both are installed in the repository), and how to enable the absolute URL parameter (not documented anywhere except here), I would be most grateful. An example would be terrific (e.g. {toc:anchor=true|absoluteUrl=true} - not working for me).
Thanks,
Pat