Joomla 3.x. 3.1.x templates and 3.2.x引擎兼容性(系统消息和文章布局问题)
January 21, 2014
本教程将向您展示如何修复与Joomla兼容性相关的问题! 3.1.使用Joomla! 3.2.x.
Joomla 3.x. 3.1.x templates and 3.2.x引擎兼容性(系统消息和文章布局问题)
基于Joomla安装部分模板后! 3.1.х on Joomla!3.2.X,您可能会遇到安装后和升级消息的问题,如:
- if you go to System-> Control Panel 在您的Joomla管理中,单击 “Review Messages” 按钮时,可能出现404 Not Found错误.
- There also may be a layout 使用“分类文章”创建的页面出现错误,” “Category Blog,“画廊视图”和“特色文章”菜单类型. 例如,如果你去菜单菜单,创建一个新菜单,在“详细信息”下面 tab select Menu 项目类型:分类文章;
然后往前走,在 “Blog layout” 使用以下设置
and save the menu, the layout 这一页可能看起来不对. E.g., 2列而不是3列,等等:
为了修复系统消息问题
- Open your database through phpMyadmin 或其他可用的工具 hosting control panel;
- 在继续之前,我们建议创建一个 backup copy of the database;
- Click the SQL tab 并粘贴以下代码(download the code as a zipped SQL file):
- Check what your database 前缀是:在您的Joomla管理面板中转到 System -> Global Configuration click the Server tab -> the Database table Prefix field under Database Settings.
- Click “Go."
- 如果你收到这条消息,一切都是正确的.
- You can go to System-> Control Panel 在您的Joomla管理中,单击 “Review Messages” button. 404 Not Found错误应该不会再出现.
INSERT INTO ' jos_extensions ' (' extension_id '), `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES (30, 'com_contenthistory', 'component', 'com_contenthistory', '', 1, 1, 1, 0, {“名称”:“com_contenthistory”,"type":"component",2013年5月“创建日期”:“”,"author":"Joomla! 项目”、“版权”:“(C) 2005 - 2013年开源事宜”. All rights reserved.”、“authorEmail admin@joomla“:”.org","authorUrl":"www.joomla.org","version":"3.2.0",“描述”:“COM_CONTENTHISTORY_XML_DESCRIPTION”,"group":""}', '', '', '', 0, '0000-00-00 00:00:00', 0, 0), (31, 'com_ajax', 'component', 'com_ajax', '', 1, 1, 1, 0, '{"name":"com_ajax","type":"component",“创建日期”:“2013年8月”,"author":"Joomla! 项目”、“版权”:“(C) 2005 - 2013年开源事宜”. All rights reserved.”、“authorEmail admin@joomla“:”.org","authorUrl":"www.joomla.org","version":"3.2.0",“描述”:“COM_AJAX_XML_DESCRIPTION”,"group":""}', '', '', '', 0, '0000-00-00 00:00:00', 0, 0), (32, 'com_postinstall', 'component', 'com_postinstall', '', 1, 1, 1, 1, {“名称”:“com_postinstall”,"type":"component",“创建日期”:“2013年9月”,"author":"Joomla! 项目”、“版权”:“(C) 2005 - 2013年开源事宜”. All rights reserved.”、“authorEmail admin@joomla“:”.org","authorUrl":"www.joomla.org","version":"3.2.0",“描述”:“COM_POSTINSTALL_XML_DESCRIPTION”,"group":""}', '', '', '', 0, '0000-00-00 00:00:00', 0, 0), (105, 'FOF', 'library', 'fof', '', 0, 1, 1, 1, '{"name":"FOF","type":"library",“创建日期”:“2013-10-22”,"author":"Nicholas K. “Dionysopoulos \\/ Akeeba Ltd”,“版权所有”:“(C)2011-2013. Dionysopoulos”、“authorEmail nicholas@akeebabackup“:”.com”、“authorUrl”:“http: \ \ / \ \ / www.akeebabackup.com","version":"2.1.rc4",“描述”:“LIB_FOF_XML_DESCRIPTION”,"group":""}', '', '', '', 0, '0000-00-00 00:00:00', 0, 0), (448, “plg_twofactorauth_totp”, 'plugin', 'totp', 'twofactorauth', 0, 0, 1, 0, {“名称”:“plg_twofactorauth_totp”,"type":"plugin",“创建日期”:“2013年8月”,"author":"Joomla! 《og体育》、《og体育》:《og体育》. All rights reserved.”、“authorEmail admin@joomla“:”.org","authorUrl":"www.joomla.org","version":"3.2.0",“描述”:“PLG_TWOFACTORAUTH_TOTP_XML_DESCRIPTION”,"group":""}', '', '', '', 0, '0000-00-00 00:00:00', 0, 0), (449, “plg_authentication_cookie”, 'plugin', 'cookie', 'authentication', 0, 1, 1, 0, {“名称”:“plg_authentication_cookie”,"type":"plugin",“创建日期”:“2013年7月”,"author":"Joomla! 《og体育》、《og体育》:《og体育》. All rights reserved.”、“authorEmail admin@joomla“:”.org","authorUrl":"www.joomla.org","version":"3.0.0",“描述”:“PLG_AUTH_COOKIE_XML_DESCRIPTION”,"group":""}', '', '', '', 0, '0000-00-00 00:00:00', 0, 0), (450, “plg_twofactorauth_yubikey”, 'plugin', 'yubikey', 'twofactorauth', 0, 0, 1, 0, {“名称”:“plg_twofactorauth_yubikey”,"type":"plugin",“创建日期”:“2013年9月”,"author":"Joomla! 《og体育》、《og体育》:《og体育》. All rights reserved.”、“authorEmail admin@joomla“:”.org","authorUrl":"www.joomla.org","version":"3.2.0",“描述”:“PLG_TWOFACTORAUTH_YUBIKEY_XML_DESCRIPTION”,"group":""}', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
If the prefix is jos_,您可以按原样使用代码,如果它不同,如s7ukd_,更改 jos_ to s7ukd_ 代码中的任何地方(按Ctrl + F查找);
以便修复页面布局
- To fix the wrong layout of the pages, download a zip 文件通过单击链接.
- Unzip the file. Move the ‘html’ folder to the /templates/theme###/ directory on FTP. 在那里,您将找到一个同名的文件夹, 所以当移动时,你会被要求更换文件夹. 只需同意替换,因为这只会替换文件夹中的某些文件(您可能还需要创建一个 backup copy of the template ‘html’ folder prior to this).
- 一旦文件被替换,检查出现问题的页面:它应该不再发生.
请随时查看下面的详细视频教程: