【发布时间】:2014-04-05 06:42:38
【问题描述】:
我需要在我使用的旧版 joomla 中获取当前文章类别 ID:
<?php $catid = JRequest::getInt('catid'); echo $catid; ?>
但在 Joomla 3.2 中我得到 0。
【问题讨论】:
-
您需要在什么上下文中获取它?例如在布局中?还是在模型中?还是插件或助手?
标签: joomla joomla3.2 joomla-framework