Hide title not working in joomla 3.2
Asked 07 September, 2021
Viewed 533 times
  • 66
Votes

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: mppppsjoomlahtdocscomponentscom_content iewsrticle mpldefault.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 Answer