Internal article links in Joomla

荒凉一梦 提交于 2020-01-01 13:19:16

问题


I'm trying to create a link in one Joomla article that points to another article, but can't see how this should be done.

Could you please tell me how to do it?


回答1:


You can link to it like this:

index.php?option=com_content&view=article&id=ARTICLE_ID



回答2:


Use the JCE Editor. Then follow these steps.

  1. Select the 'link' option
  2. Select browse/content
  3. Select the content item
  4. Select 'insert'.

This is one method, but there are many others. The example uses Joomla 2.5 but the same process is used in Joomla 3.0.




回答3:


To create internal linking between different div or p just create links like this

<a href="index.php/component/content/article?id=96#div1">Go to div one</a>

Note: must add full URL of current article and then add #name.

<div><a name="div1">Here is div one</a></div>


来源:https://stackoverflow.com/questions/4072704/internal-article-links-in-joomla

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!