Hi Dustin, On Jan 12, 2009, at 10:57 AM, Dustin Bensing wrote:
Hi folks, i've heard that in xwiki 1.7 it is possible to link to headlines in other xwiki documents. is this
information correct? i am trying to figure this out. the only way i found, is to manually attach an anchor to a headline and append this
It's always been possible to link to a section header even in past versions since our headers automatically generate anchors. All you need to do is find the anchor's name. The rule is: "H" followed by the header without spaces. For example if you have: "1.1 Project List" that'll generate an anchor named "HProjectList". You can view source in your browse to see the generated anchors if you need to. So linking to it from another page would be: [label>Space.Page#HProjectList]
"#<anchorname>" at the end of the link to the file. is there any change in 1.7 of an comfortable way to do this?
in the doc i found this: "anchor: An optional anchor name pointing to an anchor defined in the referenced link. Note
that in XWiki anchors are automatically created for titles. Example: "TableOfContentAnchor"." unfortunately there are no anchors automatically created for titels (btw toc isn't working, is this a hint what causes
this?) I use a fresh new xwiki war deployed to a tomcat (using an old xwiki database 1.1.2.5797 with mysql)
best regards _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks -Vincent http://xwiki.com http://xwiki.org http://massol.net