Hide title not working in joomla 3.2

2019-03-18 00:25发布

Ok all I want is hide the article title, no big deal, right?

So here is what I have: my article title

Here are my settings in the article manager - i disabled pretty much everthing, and yes, i cleared cache:

my settings in article manager

Guess what, the title does not disappear. I am getting really tired of this bad quality. I had the same problems with the tags, they wouldn't disappear. But you can just remove all tags you have in an article to make em disappear (great solution right)

Is it joomla or is it me?

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

During our testing, simply setting Show Title will not hide the title. You also need to set the option Show Author to hide as well.

That was in version 3.0

EDIT I was debugging, and I saw this as implementation of 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; ?>

So a div and h2 is rendered in case author is available, should be empty when title is hidden though.

Show title is always 1, whatever I do, link_titles btw as well. The only way to disable it is going to the global configuration and setting the global configuration to Hide, whatever I am doing in the Article Manager Options tab of an article seems to have no effect (setting it to Hide, Show, Global). It seems to be fixed on 'Global'. At least with what I tested with

10条回答
男人必须洒脱
2楼-- · 2019-03-18 00:27

What I found is this (Joomla 3.2): In Menu Manager -> Edit Menu Item -> Options Set Show Title to Use Article Settings

In Article Manager - Edit Article -> Options Set Show Title to Hide.

Worked for me. Gert

-- See attached screen shot for the option to change in 3.2.3 --

查看更多
成全新的幸福
3楼-- · 2019-03-18 00:29

I'm using Joomla 3.3, and to make the títle "Home" dissapear on first page, I found the solution here by toskan: Go to Menu Manager, edit menu Home, and on tab "Page Display" remove "Show Page Heading"

查看更多
甜甜的少女心
4楼-- · 2019-03-18 00:37

hide website Title :

extension >> template Manager

Protostart

go to Options and tape a SPACE in TITLE

that will delete your Title and replace it by a space...TRICK that cant harm..

working 100%

maybe same for module or article title..

查看更多
Melony?
5楼-- · 2019-03-18 00:44

Well I don't understand, but the title is coming from the Menu Item. So there is the article title which you can show / hide / throw into the streets / dowhatever and nothing happens. Then there is the 'Global Configuration' for the articles, when I set the title to 'Hide' there, it will hide the actual thing , but yeah, for all articles. Then there is the Menu Item manager which imho has no importance for the title displayed in the content. But okay, if you globally enable the article titles and then disable the menu item title for this menu item, it will actually hide the article title. You can still do whatever you want in the article options of the single article. Probably the same accounts for show hiding tags of the ARTICLE.

It is good I don't have a gun in my place, I would probably have blasted my brains onto the next wall. Time spent for this crap: over 1 hour.

If someone can reasonably explain why it is like that, I will certainly accept or upvote.

查看更多
forever°为你锁心
6楼-- · 2019-03-18 00:46

I have just visited your question and the answers given. If you just want to hide the titles of the articles you have assigned to the menu items in joomla 3.2, you do not need to hide them globally.

Instead there is a tab named Advanced Options in

Menu Manager: Edit Menu Item.

In which you will find

Article options => Show Title => Hide

By this way you can easily hide the title of the article which are linked to that menu item's link.

I wish this will be helpful to you.

查看更多
Deceive 欺骗
7楼-- · 2019-03-18 00:46

Solution is simple.

If article is also a menu item you have to set it in settings for menu item, otherwise it wont work!

查看更多
登录 后发表回答