简体   繁体   English

文章内容未显示

[英]Content of article not showing

I have a menu item that links to an article, I have the menu item shown in the page, but then the user clicks onto the link, it will only show the title of the article but not the content. 我有一个链接到文章的菜单项,页面上显示了菜单项,但是随后用户单击链接,它将仅显示文章标题,而不显示内容。 I am not sure, what exactly is happening. 我不确定到底发生了什么。

I checked the source of html, nope the content isnot there. 我检查了html的来源,不是内容不存在。 although the content is there in the database. 尽管内容在数据库中。 I ran the degbug mode, but it will give the correct article, only it wouldnt render the content. 我运行了degbug模式,但是它将给出正确的文章,只是它不会呈现内容。

One of the menu which was there from beginning acts as required but if I add any menuitems and article, I wont see the content. 从一开始就存在一个菜单,该菜单按要求运行,但是如果我添加任何菜单项和文章,则看不到内容。

I had this problem, this is what solved it (using Joomla 3.2): 我遇到了这个问题,这就是解决它的原因(使用Joomla 3.2):

  1. Clicked Extensions -> Template Manager to go to 'Template Manager: Styles' 点击扩展程序->模板管理器,转到“模板管理器:样式”
  2. Clicked on the style being used by the pages that did not show content, for me 'yoo_master - Default' 单击不显示内容的页面所使用的样式,对我来说是'yoo_master-默认值'
  3. Under the profiles Tab, in the Content section I changed 'System Output' to 'Yes' 在个人资料标签下的“内容”部分,我将“系统输出”更改为“是”

Then page content started showing again. 然后页面内容再次开始显示。

If you have the Agressive cache enabled (Global Configuration > System) and the Cache plugin activated it might take a while before any changes will appear. 如果启用了Agressive缓存(“全局配置”>“系统”)并且激活了Cache插件,则可能需要一段时间才能显示任何更改。 Flush the cache (Maintainance > Clear Cache), and see if the content shows after that. 刷新缓存(“维护”>“清除缓存”),然后查看内容是否在此之后显示。 Also some Template Frameworks (like T3) have their own cache layer which might prevent your content from showing up. 另外,某些模板框架(例如T3)具有自己的缓存层,这可能会阻止内容显示。

Otherwise there could be a problem in the template, rule that out by assigning the default Template. 否则,模板中可能存在问题,请通过分配默认模板来排除该问题。

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

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