This procedure explains how to create anchor links within articles on web sites using Joomla!. Anchor links allow you to link to specific text on a page.
- Select an article to edit following steps 1-3 of Editing Articles or create a new article.
- Select some text where the anchor should be placed.
- Click the Insert/Edit Anchor button on the editing toolbar:
- Type a name for the anchor. Names for anchors must begin with a letter, cannot contain spaces, and must be unique within articles.
- Click Insert. You will see an anchor icon in front of the text you selected.
- To create a link from somewhere within the same article:
- Highlight the text that will be linked to the anchor.
- Click the Insert/Edit link button on the editing toolbar:
- At the bottom of the Link pop-up window, click the Article Anchors dropdown menu (see #1 below).
- Select the anchor name you entered earlier (see #2 below).
- Click Insert (see #3 below).
- To create a link from another article:
- Save the current article:
- If you are in the front-end editor, click the Save button to the upper left.
- If you are in the Joomla! Administrator, click the Save & Close button to the upper left.
- Select the second article to edit following steps 1-3 of Editing Articles or create a new article.
- Highlight the text that will be linked to the anchor link you created earlier.
- Click the Insert/Edit link button on the editing toolbar:
- A Link popup window will appear.
- Under Links, click Content.
- Click the top-level category that contains the article you want to link to (see #1 below).
- If your article is in a subcategory, click the arrow to the left of the subcategory containing the article containing your anchor link. (If the article is in a category several levels down, you may need to repeat this step until you find the article).
- You should see the anchor link you created listed below the article - click on it (see #2 below).
- Click Insert (see #3 below).
- Save the current article:
- If you are editing the article from the front end of the web site, click the Save button to the upper left to save your changes and close the article.
- If you are working in the Joomla! Administrator, to save your changes and continue editing the article, click the Save button to the upper left.
- If you are working in the Joomla! Administrator, when you are done editing the article, click the Save & Close button to the upper left.