gpt4 book ai didi

joomla - 隐藏标题在joomla 3.2中不起作用

转载 作者:行者123 更新时间:2023-12-03 14:30:15 25 4
gpt4 key购买 nike

好吧,我只想隐藏文章标题,没什么大不了的,对吧?

所以这是我所拥有的:


这是我在文章管理器中的设置-我几乎禁用了所有功能,是的,我清除了缓存:



猜猜是什么,标题不会消失。我真的对这种糟糕的品质感到厌倦。
标签也有同样的问题,它们不会消失。但是,您只需删除文章中的所有标签即可使em消失(正确的解决方案正确)

是joomla还是我?

I read a weird comment about having to disable author to disable the title here


在我们的测试过程中,仅设置Show Title将不会隐藏标题。您还需要将显示作者设置为隐藏。


那是在3.0版中

编辑
我正在调试,并且将其视为C:\xampp\apps\joomla\htdocs\components\com_content\views\article\tmpl\default.php的实现:

<?php if ($params->get('show_title') || $params->get('show_author')) : ?>
<div class="page-header">
<h2>
<?php if ($this->item->state == 0) : ?>
<span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?></span>
<?php endif; ?>
<?php if ($params->get('show_title')) : ?>
<?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
<a href="<?php echo $this->item->readmore_link; ?>"> <?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
<?php endif; ?>
</h2>
</div>
<?php endif; ?>


因此,如果author可用,将渲染div和h2,但是当title隐藏时应为空。

无论我做什么,显示标题始终为1,link_titles也是如此。禁用它的唯一方法是转到全局配置并将全局配置设置为“隐藏”,无论我在文章的“文章管理器选项”选项卡中所做的任何操作似乎都无效(将其设置为“隐藏,显示,全局”)。它似乎固定在“全球”上。至少与我测试过的

最佳答案

我发现的是(Joomla 3.2):
在菜单管理器->编辑菜单项->选项中
将显示标题设置为使用文章设置

在文章管理器中-编辑文章->选项
将显示标题设置为隐藏。

为我工作。
格特

关于joomla - 隐藏标题在joomla 3.2中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20551155/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com