我正在加入Joomla 1.5网站。当我添加一篇新文章并将其分配给某个部分/类别时,我会添加到主菜单中。在前端,单击该链接时,它仅显示主页内容而不显示文章内容。这是网站,链接在“关于我们”下面作为“测试表”:
http://rocketship1.thehostingcompany.us/~hyp/
任何想法发生了什么?谢谢!
以下是查询:
SELECT *
FROM jos_session
WHERE session_id = 't6uabsp4oh7gnvpitgm3rcro27'
DELETE
FROM jos_session
WHERE ( TIME < '1339531072' )
SELECT *
FROM jos_session
WHERE session_id = 't6uabsp4oh7gnvpitgm3rcro27'
UPDATE `jos_session`
SET `time`='1339534672',`userid`='0',`usertype`='',`username`='',`gid`='0',`guest`='1',`client_id`='0',`data`='__default|a:7:{s:15:\"session.counter\";i:55;s:19:\"session.timer.start\";i:1339527526;s:18:\"session.timer.last\";i:1339534666;s:17:\"session.timer.now\";i:1339534667;s:22:\"session.client.browser\";s:106:\"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:3:\"gid\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:3:\"aid\";i:0;s:5:\"guest\";i:1;s:7:\"_params\";O:10:\"JParameter\":7:{s:4:\"_raw\";s:0:\"\";s:4:\"_xml\";N;s:9:\"_elements\";a:0:{}s:12:\"_elementPath\";a:1:{i:0;s:83:\"C:\\BitNami WAMPStack\\apps\\joomla\\htdocs\\HYP\\libraries\\joomla\\html\\parameter\\element\";}s:17:\"_defaultNameSpace\";s:8:\"_default\";s:9:\"_registry\";a:1:{s:8:\"_default\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}}'
WHERE session_id='t6uabsp4oh7gnvpitgm3rcro27'
SELECT *
FROM jos_components
WHERE parent = 0
SELECT folder AS TYPE, element AS name, params
FROM jos_plugins
WHERE published >= 1
AND access <= 0
ORDER BY ordering
SHOW COLUMNS
FROM jos_content
SELECT template
FROM jos_templates_menu
WHERE client_id = 0
AND (menuid = 0 OR menuid = 117)
ORDER BY menuid DESC
LIMIT 0, 1
SELECT *
FROM `jos_rsform_config`
SELECT id, title, module, POSITION, content, showtitle, control, params
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
WHERE m.published = 1
AND m.access <= 0
AND m.client_id = 0
AND ( mm.menuid = 117 OR mm.menuid = 0 )
ORDER BY POSITION, ordering
答案 0 :(得分:0)
将我们所知道的所有内容整合到一个答案中:
从菜单中,不工作:
index.php?option=com_content&view=article&id=102&Itemid=113
但只是将Itemid更改为随机但有效的 DOES 工作:
index.php?option=com_content&view=article&id=102&Itemid=50
这表明你的jos_menu和/或jos_menu_type表中的数据是可疑的,因为使用随机Itemid 50会忽略你为Menu Itemid 113设置的任何设置。
菜单项是什么组件 - 只是标准文章?如何将RSForms整合到我从未使用过rsforms的整个等式中 - 使用{loadposition xxx}?
答案 1 :(得分:0)
现在就开始工作了。我无法找到导致ItemID 99上的任何内容无法链接的原因所以我现在只是创建新的菜单链接作为带有更改的ItemID的外部链接,如此
文章和ID = 104&安培; ITEMID = 99
而不是
文章和ID = 104&安培; ITEMID = 118