Page 1 of 1

Tip: How to Make a Hyperlink Using the Plain Text Editor (i.e., No WYSIWYG)

Posted: Wed Aug 08, 2007 1:47 am
by pikepace
My suggestion for a FAQ item is to provide a complete example regarding the construction of hyperlinks without the use of a WYSIWYG editor.  My forum search showed that people asking a similar question are directed to use the fancy editors.  It is possible that providing this basic hyperlink format example will be helpful to people who are trying to learn Joomla for the sake of building modules or components.  I have provided one example and my own question below.

EXAMPLE - To link to a content item from within another content item:
1 - Determine the id number of the content to which the link will point.
1a - this is given in the ID column of the content items listing
1b - the content items listing is displayed by going to Content -> All Content Items

2 - Determine the Itemid number of the content to which the link will point.
2a - this is given in the Itemid column of the menu listing
2b - the menu listing is displayed Menu -> menu_name, where menu_name is the name of the menu under which a link to the category or section of the content item exists

3 - For a link that will go directly to the new content item the format is,

Code: Select all

<a href="index.php?option=com_content&task=view&id=ID&Itemid=ITEMID">link</a>

where the numbers should be inserted at the positions of ID and ITEMID.

QUESTION - How does one link to a specific page of a multipage content item?