我想创建一个按钮,其中包含指向我拥有 ID 的文章的链接。我从返回菜单项 ID 的表单字段中获取 ID。到目前为止,我已经尝试过:
<a href="index.php?option=com_content&view=featured&id=280"><p>read it</p></a>
结果 = /joomla/index.php?id=69
,所以它不起作用。
最终结果应该是这样的:
/joomla/index.php/using-joomla
/joomla/index.php/using-joomla/extensions