Joomla 1.6 Help – Remove word “Articles” from Heading

by Elaine on May 27, 2011

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

 Joomla 1.6 Help   Remove word Articles from Heading

Elaine

Elaine is the founder of CmsMind, an online blog providing Joomla and Wordpress tutorials. Elaine lives in Toronto and when she is not online, she is either Marathon and Triathlon training or travelling and racing somewhere in the world. Find her also at: Save Money, Premium Themes and Templates, and at Webhosting Tips.

More Posts - Website

{ 65 comments… read them below or add one }

Karen May 29, 2011 at 12:32 am

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

Reply

paula June 17, 2011 at 7:57 pm

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!

Reply

Elaine June 18, 2011 at 5:51 pm

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

Reply

CS June 8, 2011 at 4:12 pm

This is the exact thing I am going through. I have tried the workaround, however, with NO SUCCESS at all.

Reply

Karen June 10, 2011 at 2:59 pm

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.

Reply

Raj June 14, 2011 at 8:18 pm

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

Reply

PeteS_UK June 23, 2011 at 3:23 pm

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

Reply

Elaine June 23, 2011 at 7:28 pm

Hi Pete,
So you deleted the old link and readded it pointing to the new menu article?
Thanks,
elaine

Reply

smigl June 16, 2012 at 10:07 pm

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…

Reply

Rob Calhoun June 27, 2012 at 5:55 am

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!

Reply

S9admin October 1, 2012 at 6:41 am

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!

Reply

Efi June 28, 2011 at 8:58 am

It worked, thanks :)

Reply

Elaine June 28, 2011 at 10:47 am

Hi Efi,
No problem.
Thanks for your visit,
elaine

Reply

Harshal Shah July 4, 2011 at 4:06 am

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’));

Reply

Elaine July 4, 2011 at 2:28 pm

Hi Harshal ,
Thanks for your tips. I will add it to the post later.
Thanks for your visit,
elaine

Reply

Bob January 31, 2012 at 5:21 am

THANKS, this should be in the article instead of a workaround…much better

Reply

Elaine January 31, 2012 at 12:07 pm

Hi Bob,
I will add this to the article. Thanks for your comments and your visit,
Elaine

Reply

Saadi May 13, 2012 at 8:16 am

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

Cheers.

Reply

Elaine May 13, 2012 at 6:46 pm

Hi Saadi,
I’m glad the solution worked for you.
Thanks for visiting,
Elaine

Reply

Payal June 15, 2013 at 1:06 pm

thanks … this is too useful for me.. thankx again

Reply

Johnsixfox July 5, 2011 at 7:28 am

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

thanks Elaine

Reply

Elaine July 5, 2011 at 5:01 pm

Hi John,
No problem! Thanks for your visit,
Elaine

Reply

Rick Stoffiere August 31, 2011 at 12:24 pm

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

Reply

Elaine September 1, 2011 at 3:41 am

Hi Rick,
I’m glad the post worked for you.
Thanks for your visit,
elaine

Reply

ahmad balavipour September 4, 2011 at 11:50 am

Go to:

components\com_content\views\article\tmpl

open: default.php

and remove:

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

Reply

AbdulRehman September 28, 2011 at 4:44 am

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

Reply

Sandra October 6, 2011 at 4:37 pm

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!

Reply

Elaine October 6, 2011 at 4:51 pm

Hi Sandra,
No problem. I’m glad a solution worked for you! and thanks for the tips to others.
Thanks for your visit,
elaine

Reply

Robert October 25, 2011 at 6:08 am

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

Reply

Elaine October 25, 2011 at 11:44 am

Hi Robert,
That’s great, I’m glad the solution worked for you. Wow aussie. I’m going there next month. :)
Thanks for the visit Robert,
Elaine

Reply

Esteban Vega November 26, 2011 at 11:57 pm

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!

Reply

Glenn December 9, 2011 at 6:12 am

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.

Reply

Jason December 9, 2011 at 6:55 am

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.

Reply

Guilherme Cardozo January 12, 2012 at 6:52 pm

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

Reply

Elaine January 13, 2012 at 2:00 am

Hi Gullherme,
Thanks for your comments. Did you get this resolved or are you still having problems?
Thanks for your visit,
elaine

Reply

Dan January 13, 2012 at 12:40 pm

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.

Reply

Gabriel January 27, 2012 at 2:14 am

It”s 4 am and I said I wouldnt go to sleep until I fix it. Thank you for the hidden menu, now I can dream nicely.

Reply

Elaine January 27, 2012 at 12:15 pm

Hi Gabriel,
I hope that it worked for you. Thanks for your comments and your visit,
hope you had a good sleep! Lol
elaine

Reply

Lars February 16, 2012 at 11:38 pm

hi,
iam using joomla 2.5 and its not working with the second solution :( can u help me?

Reply

Olivier February 21, 2012 at 6:51 pm

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

Reply

Christine February 18, 2012 at 8:04 am

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

Reply

Steve March 3, 2012 at 5:10 am

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.

Reply

Elaine March 3, 2012 at 3:14 pm

Hi Steve,
Thanks very much for your suggestions. I will add them to my post later.
Thanks for your visit,
elaine

Reply

Eric March 14, 2012 at 8:48 pm

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

Reply

Elaine March 14, 2012 at 10:57 pm

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

Reply

sk md March 16, 2012 at 3:57 am

thanks a lot man, 2nd way is easier and worked like a charm ;-)

Reply

cindy March 22, 2012 at 8:53 pm

thank you very utility

Reply

Elaine March 23, 2012 at 12:04 pm

Hi Cindy,
No problem. Glad the post was useful to you.
Thanks for your visit,
elaine

Reply

Punjabi Lyrics March 28, 2012 at 5:56 pm

Hi

Thanks this has worked for me :)

Reply

Gillian April 11, 2012 at 6:16 pm

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.

Reply

Elaine April 12, 2012 at 1:11 am

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

Reply

Lisa April 30, 2012 at 12:47 pm

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!!! ;-)

Reply

Tek May 27, 2012 at 4:35 pm

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

Reply

Elaine May 27, 2012 at 5:50 pm

Hi Tek,
I’m glad it worked for you. :)
Thanks for your visit,
elaine

Reply

Pat June 13, 2012 at 9:12 am

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

Reply

NFG July 21, 2012 at 9:19 pm

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’)); ?>

Reply

NFG July 21, 2012 at 9:21 pm

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;

Reply

Otis July 25, 2012 at 4:06 am

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.

Reply

Tutor August 4, 2012 at 6:29 am

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.

Reply

Andy August 29, 2012 at 2:42 am

This one line save me
$this->params->def(‘page_heading’, JText::_(‘JGLOBAL_ARTICLES’));
Thank you so much

Reply

balu October 15, 2012 at 4:47 am

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.

Reply

Babak Eftekharzadeh November 28, 2012 at 4:38 pm

I had the same problem. you should edit css fileand add:
#component h1 {
display:none;
}

Reply

John Barker May 3, 2013 at 1:54 pm

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

Reply

Mona June 17, 2013 at 9:06 pm

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

Thanks a lot!

Reply

Dennis February 18, 2014 at 10:20 am

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

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

Worked for me

Reply

Leave a Comment

Captcha Captcha Reload

Older Post:

Newer Post: