Joomla · Joomla Errors · Joomla Setup · Joomla Tutorials

Joomla 1.6 Help – Remove word “Articles” from Heading

In Joomla 1.6, when you create articles they must be associated with a category and menu.  If you created an article and you do not associate it with a menu, Joomla 1.6 will add an h1 tag with the text “Articles” in all articles accessed from a link in the search results of the search module.  The same happens with articles linked from the Latestnews module, but in this case, the h1 text is “Home”.

This is extremely annoying and I’ve received many questions about this.  The easiest way to fix it is to

a.  Create a Category to place all these ‘No Menu Articles’.

b.  Create a Menu in Menu Manager.

c.  Create Menu item and assign to Menu created in step b.

d.  Assign Articles to the Category created in step a.

The menu does not need to be displayed, it will just act as a place holder for these articles so the <h1> tag with text “Article” and “Home” will not appear anymore.   For example:

I have an article “Wordpress Themes” that is showing “Articles” tag.  I will create:

  • Category called ‘NoMenuArticles’
  • Menu called ‘MyHiddenMenu’
  • Menu Item called ‘MyArticles’, category blog and link to the NoMenuArticles

Below are steps on how to do this:

1.  Login to your Joomla 1.6 administrator backend.

a. Create a New Category in Category Manager

2.  Click on Content, Category Manager, Add New Category

3.  Set the following values:

  • Title = NoMenuArticles

4.  Save & Close the Category.

b. Create a New Menu in Menu Manager

5.  Click on Menus, Menu Manager, Add New Menu

6.  Set the following options:

  • Title = MyHiddenMenu
  • Menu type = MyHiddenMenu

7.  Save & Close the the Menu

c. Create a New Menu Item in Menu Manager

8.  Click on Menus, MyHiddenMenu, Add New Menu Item

9. Set the following values:

  • Menu Item Type = Category Blog
  • Menu Title = MyArticles
  • Menu Location = MyHiddenMenu
  • Required Settings,  Choose a category = NoMenuArticles
  • Page Display Options, Show Page Heading = No

10.  Save & Close the Menu Item

d. Assign Articles to New Category in Article Manager

11.  Click on Content, Article Manager

12.  Edit your article, in my example I’m editing ‘Wordpress Themes’

13.  Set the following value:

  • Category = NoMenuArticles

14.  Save & Close the article

15.  Repeat steps 11-14 for all the articles that are showing the “Articles”/”Home” heading.

That’s it! You’re done.  Now you can refresh your Joomla 1.6 website.    Do a search on it or click on it from the Latestnews module and you will not see the <h1> tag ‘Articles’ or ‘Home’ anymore.

Another way to fix this problem is provided by Harshal:

1.  Edit this file in your FTP Manager – Components/com_content/views/article/view_html.php

2.  In this file earch and comment out below line.
// $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

Hope that helps,

Elaine

Elaine@cmsmind.com

67 thoughts on “Joomla 1.6 Help – Remove word “Articles” from Heading

  1. I wish this had worked… but it didn’t. 🙁 This is exactly the issue I’ve been having as well! But it’s not in uncategorized articles; it seems to be affecting one specific category of articles.

    What is happening is, the link to the affected pages is different depending on which page you click from. Clicking from “home” adds the component and category to the link address, while clicking from other pages removes it. And when all of that is added to the link address, “Articles” appears. When it’s removed, the title goes away as well. It’s getting incredibly frustrating!!

    1. I was happy to try this workaround, but to no avail.
      It’s interesting that my articles that are linked to the visible menu are aok, but the articles linked to a non-visible menu are the ‘trouble-makers’.
      Thanks for trying!

      1. Hi Paula,
        Sorry about that. Have you also tried to change your language.ini file? My post is here on how to do that.
        Let me know how it goes. Thanks for your visit.
        elaine

  2. The one thing I have managed to do to avoid this is using a Custom HTML module and hard-coding the links using the No Editor setting – because the editors were changing the links back to whatever Joomla wanted them to be.

    Crude, but effective in my case as I only had five links where this was a concern. I do think it’s a 1.6 glitch, though, and ought to be sorted out.

  3. Hi Elaine, first of all thank you for all your articles. It helped me a lot in my process.

    However, I was also unable to remove the “Articles” word with the procedure mentioned.

    Hope it helps for future people who visits this page.

    Thanks again !!

  4. I have got this to work. Thanks Elaine.

    At first it didn’t work but then I did what was for me 1 crucial extra step.

    I have a custom html module with a hyperlink to an article (which showed “Articles” as the title). I created the dummy menu & menu item as per your instructions Elaine, but found that “Articles” was still showing when I clicked through the link to the article.

    So, and here’s the crucial bit, I removed the hyperlink from my custom html module and re-added it to point to the article. I use the JCE editor so I did this by navigating to the dummy menu item article.

    hope this helps those who have been struggling with this.

    Pete

    1. i had the same issue with joomla 2.5. first your workaround didn’t work. thank i tried what pete told.
      delete the old link and make it new (i did it with jck editor) and it worked.
      Now it works fine and no heading is shown.
      I had this issue only when linking from a custom html module.
      Thanks all for this…

      1. Thanks Pete! I had the same problem. Followed the tut to the letter, still had articles show up like a bad movie.

        Saw this and did it. Worked fine.

        I hate Joomla and will not work on another joomla site no matter how much they want to pay!

      2. Works like a charm once you delete the old link and make a new one 🙂
        Appreciate your post.. saved me great deal of time and effort. Thanks!

  5. The above steps didnt work for me. What i did is modified the core of Joomla.

    I went in.to components/com_content/views/article/view_html.php
    This is the view file for article.

    In this file i searched and commented out below line. Bingo it works.
    // $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

    1. Thanks, I was also searching solution of this problem and I find your solution is the best. good work.

      Cheers.

  6. Excellence, it work straight away…you just have to take your time and go through the instruction slowly.
    that all make it.

    thanks Elaine

  7. Elaine,
    Thanks for this!! I skipped right over J1.6, so I didn’t see this behavior until I started developing in J1.7. What an extremely irritating feature, and I cannot understand the rationale for this behavior. Anyway, I decided to use the method of commenting out the line in the view file. The first method worked for me just fine, but I opted for the second. Thanks again for posting!!!
    Rick

  8. Go to:

    components\com_content\views\article\tmpl

    open: default.php

    and remove:

    escape($this->params->get(‘page_heading’)); ?>

  9. Thanx Elaine….
    Its completely works…
    by committing $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’)); the article word can b removed.

  10. thanks Harshal and Elaine! Unfortunately Elaine, your solution did not work for me in Joomla 1.7.
    The other fix from Harshal did! But for the people who don’t know php please note that if you earch and comment out :// $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

    the complete change is not this:

    $this->params->def(‘page_heading’ , // $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

    but this:
    $this->params->def(‘page_heading’); // $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

    Thank you so much for your help!

  11. Thanks Elaine,
    Your solution worked out-of-the-box for me for Joomla 1.7.2 for an article that I displayed in a right hand module on my website front page using ArticlesAnywhere and accessed with a “Read more …” link.
    The display of the “Articles” heading above the article title had me stumped as it only happened if the link was clicked from the front page and not from elsewhere (although this may have happened if as the website and functionality grew).
    Anyway, thanks so much for your detailed explanation and solution! I’m going to put a link to it on our Aussie Joomla forum (www.joomla.org.au).
    Regards, Robert

  12. I try all, and finally i found the real solution without modify Any Joomla core file, you only need to put the article in a new menu, you will not publish this Menu on your site, and if you send the correct “Itemid”, and you set “Show title” to Show, you can see your item with the title defined by you.

    sorry for my english!

  13. Not sure what all of you above are smoking but I’ve tried every solution posted above umpteen times now and still that ridiculous Articles title shows up. This is why true pros don’t use Joomla – this should be a 20 second fix – not a 20 hour fix. Last Joomla site I’ll do, I’m fed up.

  14. ELAINE, YOUR SOLUTION DOES NOT WORK. I suggest you go through your instructions yourself and see you’reeither missing a critical step or it simply doesn’t work in Joomla 1.7. What a waste of time.

  15. Thanks a lot Elaine! I’m spend a lot of time trying to find a solution to this.
    But only works for me editing the ftp. I’m using joomla 1.7

    Regards

  16. Harshal’s solution does remove the word “Articles” but leaves an empty h1 tag that is visible in some templates. For example in Beez20 in Joomla 1.7 there is a grey horizontal line inserted below an h1 tag, and this still appears after making the change above.

    This is the same problem as with the language .ini file method.

    As serveral other posters have said: the main solution does NOT work (Joomla 1.7.3). I have an article associated to a visible menu. Opening it from the menu works as expected (no “Articles” heading). Opening the same article from a link in the body of the front page gives me the “Articles” heading.

    1. I had the same problem after upgrading to joomla 2.5. A working solution, if editing a css is good for you, simply add:
      #ja-content-main h1.componentheading {
      display:none;
      }

  17. I am struggling with this issue. I did Elaines workaround but it didn’t work. Now I see that others have suggested editing php but I don’t know how to find the text they suggest editing as below

    I went in.to components/com_content/views/article/view_html.php
    This is the view file for article.

    In this file i searched and commented out below line. Bingo it works.
    // $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’))

    As I said, firstly I don’t know where to find the view file for the article or even what article is being mentioned. And I don’t know what commenting out a line means!

    Can someone Please please help, this is driving me crazy!
    thanks in advance

    I read in another message to log in to my FTP editor but I have no idea what this means. Is it somewhere on the backend? I have used Joomla to make my template and upload it then developed the site in Joomla. I have done a couple of sites previously and not seen this issue, they were in 1.6. This one is 1.7. It has given me all sorts of problems I have had to solve, so far this is the only one that has me beaten!
    I have unpublished the NoMenu

  18. In my case the $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’)) was in a If – Then statement so I couldn’t just comment it out.

    I did find though if you just remove the JGLOBAL_ARTICLES (leave the quotation marks) it will do the same thing and for me worked perfectly for removing the “Article” from top of the page. I am using Joomla 2.5.1.

  19. Hello all,

    This is how I solved the ‘Articles’ problem (when I clicked within an article on a article link to another article within my site, the annoying word ‘Article’ appeared at the top of the article I linked to), and this solution is really easy and fast:

    1. In the Joomla backend, in the article containing the internal link, I highlighted the existing link text and then broke the link (using the sideways broken chain icon).

    2. I highlighted the same link text within the article and then clicked on the External Link icon (the sideways chain link)

    3. In the box that opened up, in the top input field, I typed in the full URL of the article that I wanted to link to. So, even though I wanted to link to an ‘internal’ article on my website, I typed in the FULL URL of the article as if I was linking to an external article. So, for me the URL I typed in was in this format: http://www.nameof mywebsite.co.uk/index.php/alias-of-the-article-I-wanted-to-link-to. I didn’t touch or type in anything in the other fields. I then saved that. Just to be clear, the alias I typed in was the alias (including the all-important ‘hypens’) shown in Article Manager just below the article title of the article that I wanted to link to.

    4. To test this solution, I went back to my front end and clicked on the link text within my article and was taken to the correct article in my website, and it looked perfect – no ‘Articles’, no grey lines, no H1 tags, no extra space, and it required no dummy Categories, dummy Menu Items, etc.

    I don’t know why this simple solution worked – it took me maybe 40 seconds to do and then check – but it did work perfectly for me so maybe it will work for you. I am on 1.7.3 stable of Joomla.

    Eric

    1. Hi Eric,
      That sounds like an easy solution. Thanks for your detail steps on how you resolved this issue. I’m sure lots of people will find it useful. 🙂
      Thanks for your visit,
      elaine

  20. Great post Elaine, it’s good when people share their knowledge. This is the work around I came up with too but I didn’t bother with the dummy category because I wasn’t using any blog or list layouts, just added the article to the appropriate category for my site, then linked to it from a hidden menu.

    The good thing about the hidden menu work around is that you can assign modules to the ‘hidden menu’ item, so you can show modules on the page too.

    1. Hi Gillian,
      Yes, I agree. The hidden menu is very helpful. Thanks for your comments and I appreciate your feedback. 🙂 They will be useful for others who have the same problem.
      Thanks for your visit,
      elaine

  21. Finally after 3 full days I got it right with this
    $this->params->def(‘page_heading’); // $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

    But why send you to hard to edit ftp files when you can follow same links below in cpanel or ipage or whatever in the joomla folder
    . Edit this file in your FTP Manager – Components/com_content/views/article/view_html.php

    None of the disabling of headers in menu item or article and dummy menus worked for me!!
    But thank you, I think I need a drink!!! 😉

  22. I had to edit the PHP file to get this to work and it works great. I was looking for a solution to this annoying issue and you saved the day

  23. Elaine

    I too had the same problem and I had stumbled upon a similar solution a while ago when I was creating a site in Joomla 1.5.24. I would get the word ‘Articles’ at the top of the page or worse still the menu items of the page that I was leaving would display on the new page.

    I now replicated that site in Joomla 2.54 and once again was having the same problem. If I linked to the article directly then it would bring up both these problem i.e display the word ‘Articles’ at the top or the menu of the page that I was leaving would display on the page that I was linking to.

    I had a ‘Terms of use’ link at the bottom of the main index.php page that linked to the relevant article and other articles that were linking to articles that were not assigned to any menu.

    To solve the problem this time I essentially replicated my previous solution, i.e. created a hidden menu and assigned all the articles that were not part of any other menu to it. I did not create any special category for these articles. To demonstrate the working of the technique I used the JCE editor and created an article where I typed in a two lines eg:

    Terms of Use Showing Articles
    Terms of Use without Articles

    Using the link button on the JCE editor I linked the ‘Terms of use showing articles’ directly to the article by referencing the article via the link browser of the JCE editor and expanding the ‘content’ option and working my way down to the relevant article. For the ‘Terms of Use without articles’ I linked to the same article but this time by expanding the ‘menu’ option and working my way down to the relevant menu item.
    I then used the toggle editor to look at the links that were ceated:

    href=”index.php?option=com_content&view=article&id=25:xxxxxxxx&catid=15:yyyyyyyyy”
    a href=”index.php?option=com_content&view=article&id=25&Itemid=223″

    As you can see the links differ only after id=25, the second link that has an Itemid value will link without showing the ‘Articles’ at the top of the page. The ‘id’ number is the id number of the article that can be seen in the Article Manager and the ‘Itemid’ is the menu item number for the same article that was assigned in the hidden menu and can be seen in the hidden menu under Menu Manager.

    You can then click on these links at the front end to see the results.

    If there are several articles that need to addressed you can use the JCE editor to link to the articles via the ‘menu’ option.

    If however you need a link on the index.php page would not be able to use the JCE editor to create the link. You can replace the appropriate ‘id’, i.e. id of the article and ‘Itemid’, i.e. id of the Menu item in the hidden menu, in this link :

    href=”index.php?option=com_content&view=article&id=25&Itemid=223″

    and paste the value directly into the index.php page.

    Sorry for the above post I had forgotten to remove the tags
    Hope this helps

  24. The way to beat this is to override Com_content in your template.
    Find out how to do that from the joomla doc sites.
    Then in the override file your_template/html/com_content/article
    you will find the following code around line 30 or so:

    params->get(‘show_page_heading’, 1) : ?>

    escape($this->params->get(‘page_heading’)); ?>

    replace this code with the following and you will have no more problems.
    Note the change in the if statement. The addition tests to see if the variable Itemid is set in the get array.
    If it is then the page heading is shown according to configs, otherwise the page head is ignored.

    params->get(‘show_page_heading’, 1) && isset($_GET[‘Itemid’])) : ?>

    escape($this->params->get(‘page_heading’)); ?>

  25. Sorry the code was stripped, try this

    if ($this->params->get(‘show_page_heading’, 1) && isset($_GET[‘Itemid’])) :

    echo $this->escape($this->params->get(‘page_heading’));

    endif;

  26. Thank you commenting out the line
    $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

    worked. I have looked all over the internet trying to find the answer to that annoying problem.

  27. Such changes in the code you should do as a ‘template override’ which is the joomla way of changing the code but leaving the core file unchanged. NFG mentioned it in his/her comment. You have to copy the default.php file from components/com_content/views/article/tmpl into your template: your_template/html/com_content/article and enter the changes. If you name this file default.php it overrides the default view for all articles. But you can name it perhaps without-h1.php and make a second layout for the articles. Now you can go to the edit mode of the article and in the right column under article options at the bottom you can select an alternative layout only for this article — your new layout without-h1.

  28. Thank you so much for the steps provide to remove the article header, it took me nearly a month to figure this out in my website, and thanks for this simple solution.

  29. I really wish this had worked for me,

    first attempt at it and it actually worked, but after loading the page a couple of time it reappeared and now no matter what i do the dreaded ‘articles’ header will not disappear

    why it went once and came back i d0nt know. im using joomla 2.5

    ive deleted the menus and articles concerned and started from scratch but cant get rid of it

    that said, the tutorial is very well written and clearly explained, and the comments to the tutorial have also been most insightful. After searching high and low for a n answer – this article is definitely the one i would recommend

    10/10

  30. Commenting this line save my time and life
    //$this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

    Thanks a lot!

  31. Changed: $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’)); to

    $this->params->def(‘page_heading’);//, JText::_(‘JGLOBAL_ARTICLES’));

    Worked for me

  32. Thanks SO much. I had the fix for this from Shape5 but lost it. They wanted a new premium membership to tell me again. This worked perfectly to get rid of those annoying “Articles” headings.
    I used:
    Another way to fix this problem is provided by Harshal:
    1. Edit this file in your FTP Manager – Components/com_content/views/article/view_html.php
    2. In this file earch and comment out below line.
    // $this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));

    PERFECT

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Captcha Reload