[xwiki-users] link to headlines xwiki1.7
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 "#<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
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
Hi Vincent thanks for your reply!first time i read your mail i thought you havn't really read my mail :) but after a while i tried your
For example if you have: "1.1 Project List"
interestingly there is a <http://www.dict.cc/englisch-deutsch/interestingly.html>difference in creating "title1, title2 .. etc" for headlines in the WYSIWYG editor or using the headline notation in the "WIKI" editor as you mentioned. the difference is that only the headline notation creates automatically anchors and then appears in the table of contetn. is there a <http://www.dict.cc/englisch-deutsch/difference.html>possibility to make these "real" headlines in the WYSIWYG editor?<http://www.dict.cc/englisch-deutsch/possibility.html> beste regards
Dustin Bensing wrote:
Hi Vincent thanks for your reply!first time i read your mail i thought you havn't really read my mail :) but after a while i tried your
For example if you have: "1.1 Project List"
interestingly there is a <http://www.dict.cc/englisch-deutsch/interestingly.html>difference in creating "title1, title2 .. etc" for headlines in the WYSIWYG editor or using the headline notation in the "WIKI" editor as you mentioned. the difference is that only the headline notation creates automatically anchors and then appears in the table of contetn. is there a <http://www.dict.cc/englisch-deutsch/difference.html>possibility to make these "real" headlines in the WYSIWYG editor?<http://www.dict.cc/englisch-deutsch/possibility.html>
This is a bug/regression introduced in the old WYSIWYG editor, which we're not maintaining anymore. You should try the new GWT-based editor, which is enabled when you set the document syntax to xwiki/2.0. -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (3)
-
Dustin Bensing -
Sergiu Dumitriu -
Vincent Massol