Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide title not working in joomla 3.2

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

like image 583
Toskan Avatar asked Dec 12 '13 18:12

Toskan


4 Answers

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 --

like image 74
Gert Taeymans Avatar answered Oct 25 '22 08:10

Gert Taeymans


You can 'control' the display of 'article titles' in three places

1 - Article Manager then 'options' button (top right). This will modify every article in your site, basically changes the default.

2 - Individual article, 'options' tab (center of page just above the editor). This will modify setting for this specific article AND it "overrides" the global article option setting.

3 - Menu item, 'options' tab (center of page just above the editor).This "overrides" the global article option settings and the article option setting.

like image 45
Mr. B Avatar answered Oct 25 '22 07:10

Mr. B


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.

like image 6
Hard_pearL Avatar answered Oct 25 '22 07:10

Hard_pearL


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"

like image 3
Arpatma Avatar answered Oct 25 '22 08:10

Arpatma