简体   繁体   English

Joomla 3无法显示文章标题

[英]Joomla 3 Cannot Shows Article Title

I am using Joomla 3 and wanted to show article title, by default I assume it should be shown. 我正在使用Joomla 3,并希望显示文章标题,默认情况下,我认为应该显示它。 I tried Show/Use Global in Show Title but it is not working. 我在“显示标题”中尝试了“显示/使用全局”,但是它不起作用。 WHY? 为什么?

Menu title could be enabled / disabled from articles configuration, article item and menu settings with the following priority: 可以通过以下优先级从文章配置,文章项目和菜单设置启用/禁用菜单标题:

1. Menus -> *Menu_Name -> *Menu_Item -> Options -> Show Title
2. Content -> Article Manager -> *Article_Name -> Options -> Show Title
3. Content -> Article Manager -> Options -> Articles -> Show Title

If it still doesn't show you have to check if you are using a template override for article page under: 如果仍然无法显示,则必须检查以下文章页面是否使用模板替代:

templates/*your_template/html/com_content/article/default.php

And doesn't contain title display code: 并且不包含标题显示代码:

<?php echo $this->escape($this->item->title); ?>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM