How to add link to an Article while creating a content item in Joomla?

Sep 04

How to add link to an Article while creating a content item in Joomla?

When we create a content item (it can be an Article, Custom Module, Description, etc.) in standard installation of Joomla 1.5.x, we face a problem of linking text or image to an Article which has been created before. When we click «Insert / edit link» button, there is a «Link URL» field, we need to fill in. But we don’t know the URL of the article, which was created before.

For example, you have created an Article titled «About me». In another article you want to put link to the «About me» Article:

Joomla insert / edit link button

Joomla insert / edit link button

In Joomla with standard TinyMCE editor, you are requested to fill in the URL of the Article.

    There are two solutions to this problem:

  1. Find out the URL of the «About me» Article.
  2. Switch to another editor, which supports linking to the content items.
Finding the URL of an Article in Joomla

Save your current Article as draft (save, but don’t publish). In the Article Manager locate the Article you want to link to. Remember the value of ID in the last column.

ID of an Article in Joomla

ID of an Article in Joomla

The URL link to this Article in the front-end is:

index.php?option=com_content&id=ID

Replace «ID» with the actual ID of the «About me» Article. Type this URL into the «Link URL» field when inserting a link.

JCE editor for Joomla

A very powerful, award-winning JCE editor gives you easy solution to the problem of linking to Articles. Download and install JCE editor, set it as Default WYSIWYG Editor in Joomla’s Global Configuration (SiteGlobal Configuration → Site Settings) and you’re editor’s toolbar will become a bit different:

JCE-editor toolbar

JCE-editor toolbar

But when you click the «Insert/Edit link» button this time, you will get a window with possibility to link to a content item.

JCE-editor Insert link window

JCE-editor Insert link window

Tags: