Categories

Featured templates

Joomla 3.x. Joomla 3.0.x模板和Joomla 3.1.x兼容性(标签问题)

Norman Fisher January 21, 2014
Rating: 5.0/5. From 2 votes.
Please wait...

本教程将帮助您解决缺少与Joomla相关的标记的问题! 3.0.x模板和Joomla! 3.1.x compatibility.

Joomla 3.x. Joomla 3.0.x模板和Joomla 3.1.x兼容性(标签问题)

如果您的模板是用于Joomla! 3.0.使用Joomla安装!3.1.X,有时会出现这样的错误:

joomla30_template_on_joomla31_issue_with_tags_fixing_1

如果你登录到管理面板,就没有 “Tags” menu under “Components.”

为了启用标签:

  1. Log into your Joomla! 管理面板,然后转到顶部菜单 System -> Global Configuration.
  2. Click the Server tab and check your database prefix.

    joomla30_template_on_joomla31_issue_with_tags_fixing_2

  3. 如果它不是默认的(jos_),在下面的代码中将jos_替换为您的 database prefix.

    joomla30_template_on_joomla31_issue_with_tags_fixing_3

  4.  If your database 前缀是jos_,保持原样:

    INSERT INTO ' jos_assets ' (' id '), `parent_id`, `lft`, `rgt`, `level`, `name`, `title`, `rules`) VALUES (999, 1, 997, 998, 1, 'com_tags', 'com_tags', '{"core.admin":{"8":1},"core.管理”:{“7”:1},“核心.创建":{“6”:1、“3”:1},“核心.删除”:{“6”:1},“核心.编辑”:{“6”:1、“4”:1},“核心.edit.状态”:{“6”:1、“5”:1}}’); 
    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 (29, 'com_tags', 'component', 'com_tags', '', 1, 1, 1, 1, '{"name":"com_tags","type":"component",“创建日期”:“2013年12月”,"author":"Joomla! 项目”、“版权”:“(C) 2005 - 2013年开源事宜”. All rights reserved.”、“authorEmail admin@joomla“:”.org”、“authorUrl”:“www.joomla.org","version":"3.1.0",“描述”:“COM_TAGS_XML_DESCRIPTION”,"group":""}', {“tag_layout”:“_:默认”,"show_tag_title":"0",“tag_list_show_tag_image”:“1”,“tag_list_show_tag_description”:“1”,"tag_list_image":"",“show_tag_num_items”:“0”,“tag_list_orderby”:“标题”,“tag_list_orderby_direction”:“ASC”,"show_headings":"1",“tag_list_show_date”:“出版”,“tag_list_show_item_image”:“1”,“tag_list_show_item_description”:“1”,“tag_list_item_maximum_characters”:10000,“return_any_or_all”:“1”,“include_children”:“0”,"maximum":200,“tag_list_language_filter”:“所有”,:“tags_layout _:默认”,:“all_tags_orderby publish_up”,“all_tags_orderby_direction”:“ASC”,“all_tags_show_tag_image”:“1”,“all_tags_show_tag_descripion”:“1”,“all_tags_tag_maximum_characters”:10000,“all_tags_show_tag_hits”:“0”,"filter_field":"0",“show_pagination_limit”:“1”,“show_pagination”:“2”,“show_pagination_results”:“1”,“tag_field_ajax_mode”:“1”,“show_feed_link”:“1”}’, '', '', 0, '0000-00-00 00:00:00', 0, 0),
    (316, 'mod_tags_popular', 'module', 'mod_tags_popular', '', 0, 1, 1, 0, {“名称”:“mod_tags_popular”,"type":"module",“创建日期”:“2013年1月”,"author":"Joomla! 《og体育》、《og体育》:《og体育首页》. All rights reserved.”、“authorEmail admin@joomla“:”.org”、“authorUrl”:“www.joomla.org","version":"3.1.0",“描述”:“MOD_TAGS_POPULAR_XML_DESCRIPTION”,"group":""}', '{"maximum":"5","timeframe":"alltime","owncache":"1"}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
    (317, 'mod_tags_similar', 'module', 'mod_tags_similar', '', 0, 1, 1, 0, {“名称”:“mod_tags_similar”,"type":"module",“创建日期”:“2013年1月”,"author":"Joomla! 《og体育》、《og体育》:《og体育首页》. All rights reserved.”、“authorEmail admin@joomla“:”.org”、“authorUrl”:“www.joomla.org","version":"3.1.0",“描述”:“MOD_TAGS_SIMILAR_XML_DESCRIPTION”,"group":""}', '{"maximum":"5","matchtype":"any","owncache":"1"}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
    (447, 'plg_finder_tags', 'plugin', 'tags', 'finder', 0, 1, 1, 0, {“名称”:“plg_finder_tags”,"type":"plugin",“创建日期”:“2013年2月”,"author":"Joomla! 项目”、“版权”:“(C) 2005 - 2013年开源事宜”. All rights reserved.”、“authorEmail admin@joomla“:”.org”、“authorUrl”:“www.joomla.org","version":"3.0.0",“描述”:“PLG_FINDER_TAGS_XML_DESCRIPTION”,"group":""}', '{}', '', '', 0, '0000-00-00 00:00:00', 0, 0); 
    INSERT INTO ' jos_finder_types ' (' id ', ' title ', ' mime ') VALUES (6, 'Tag', ''); 
    INSERT INTO ' jos_menu ' (' id '), `menutype`, `title`, `alias`, `note`, `path`, `link`, `type`, `published`, `parent_id`, `level`, `component_id`, `checked_out`, `checked_out_time`, `browserNav`, `access`, `img`, `template_style_id`, `params`, `lft`, `rgt`, `home`, `language`, `client_id`) VALUES
    (23日‘主’,‘com_tags’,‘标签’,”、“标签”指数.php?option=com_tags', 'component', 0, 1, 1, 29, 0, '0000-00-00 00:00:00', 0, 1, 'class:tags', 0, '', 65, 66, 0, '', 1); 
    
    
  5.  复制上面的代码或 download 与压缩代码相同 SQL file.
  6. Access your database through phpMyadmin or other tool your hosting provides. 建议你做一个 数据库的备份副本 before you proceed.
  7. Click the SQL tab.
  8. 粘贴代码并单击 Go.

    joomla30_template_on_joomla31_issue_with_tags_fixing_4

  9. 导入后没有错误意味着一切都正确完成了.
  10. Check your site. 在前端的错误应该消失,并在管理面板下 “Components” -> “Tags” menu should appear.

    joomla30_template_on_joomla31_issue_with_tags_fixing_5

请随时查看下面的详细视频教程:

Joomla 3.x. Joomla 3.0.x模板和Joomla 3.1.x兼容性(标签问题)

Joomla响应主题
这个条目被张贴了出来 Joomla! Tutorials and tagged 3.0.x, 3.1.x, component, fix, joomla, not found, tags. Bookmark the permalink.

Submit a ticket

如果您仍然无法找到关于您的问题的足够的教程,请使用以下链接向我们的技术支持团队提交请求. 我们将在接下来的24小时内为您提供我们的帮助和协助: Submit a ticket