Dear XWiki Users, I want to apply a basic internal link (NOT the #toc feature!) in a page, but haven't found a clear example in the documentation, sorry! Can anybody give a hint, please! Thanks! Regards, Gerard
Hi Gerard, On Jan 24, 2007, at 11:51 AM, [email protected] wrote:
Dear XWiki Users,
I want to apply a basic internal link (NOT the #toc feature!) in a page, but haven't found a clear example in the documentation, sorry! Can anybody give a hint, please! Thanks!
Are you talking about a link that points to another page or a link that points to an anchor in the same page? Have you tried looking at the http://www.xwiki.org/xwiki/bin/view/ UserGuide/PageEditing page in the user guide? Thanks -Vincent ___________________________________________________________________________ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com
Dear XWiki Users, Yes I had a look at the suggested page, but it's still not clear to me! I indeed do mean a link to a section in the same page! Regards, Gerard
I don't know of a wiki markup that handles this, but if you look at the HTML output, you'll see that the heading tags are also anchors, and the standard HTML syntax will work with them. Example: an XWiki level-1 heading, whose source is 1 Article is rendered like this: <h3 class="heading-1-1"> <a name="Article" id="Article">Article</a> </h3> and can be linked to within the document by text such as: For more information, see the <a href="#Article">full article</a> below. Of course, the #toc macro will render to code that you can imitate. If you need to link to a spot that is not an XWiki heading, then of course it needs to be surrounded, as above, by an anchor tag giving it a unique value in the "name" attribute. The "id" attribute is not needed for this purpose. This is all just basic HTML, and you can learn all this and much more by looking at the specification documents at w3.org, and any number of tutorials around the Web. brain[sic]
-----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Wednesday, January 24, 2007 4:51 AM To: [email protected] Subject: [xwiki-users] Internal Link
Dear XWiki Users,
I want to apply a basic internal link (NOT the #toc feature!) in a page, but haven't found a clear example in the documentation, sorry! Can anybody give a hint, please! Thanks!
Regards, Gerard
participants (3)
-
g.verhaag@lrcb.nl -
THOMAS, BRIAN M (SBCSI) -
Vincent Massol