Looking to remove "Articles" header

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
User avatar
plamendp
Joomla! Intern
Joomla! Intern
Posts: 87
Joined: Sun Nov 13, 2005 10:41 am
Location: Varna, Bulgaria

Re: Looking to remove "Articles" header

Post by plamendp » Tue Apr 10, 2012 6:27 pm

Hi All,

This solution requires playing with core Joomla code (bad!), but works:

Open components/com_content/views/article/tmpl/default.php

Replace:

Code: Select all

<?php if ($this->params->get('show_page_heading', 1)) : ?>
With:

Code: Select all

<?php if ($this->params->get('show_page_heading', 0)) : ?>
This way, if show_page_heading parameter is not defined (like in case you access the article directly, not using menu item approach), it will be set to 0.

I don't like this solution, but it is the shortest one. Alternatively, use the "override" method and do the same patch:

Copy the above file to the following directory:

templates/<your-template>/html/com_content/article

I personally use this approach.

Regards,
Plamen Petkov

p.s. Nice to be back i Joomla after 1-2 years
Some day I'll change my signature to something meaningful...some day...

User avatar
WebJIVE
Joomla! Explorer
Joomla! Explorer
Posts: 356
Joined: Thu Sep 15, 2005 6:04 pm
Location: Little Rock, Arkansas
Contact:

Re: Looking to remove "Articles" header

Post by WebJIVE » Thu Apr 12, 2012 3:23 am

I just found an EASY way to fix this. Go into the Extensions -> Language -> Overrides and create a new override. Search for Articles (should be JGLOBAL_ARTICLES) and replace it with no text. Save and the word Articles is gone. That easy.
Little Rock SEO, Arkansas Web Design, Hosting, and Review Management
http://www.web-jive.com

tplowe
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Jul 26, 2010 12:52 pm

Re: Looking to remove "Articles" header

Post by tplowe » Tue Apr 24, 2012 12:01 am

I tried both of the above solutions & neither eliminated the page heading.

User avatar
corrado444
Joomla! Guru
Joomla! Guru
Posts: 860
Joined: Thu Jul 06, 2006 8:30 am
Location: Sacramento
Contact:

Re: Looking to remove "Articles" header

Post by corrado444 » Fri May 04, 2012 1:09 am

The fact that this issue has been going on for this long is nothing short of ridicolous.

Since I don;t want to create a menu link everyb time I ahve a singel page and even at that it doesn't always work, I am using a component called "re-replacer"

Since th HTML is a bit messed up to begin with, I had to go to the source page and delete the spaces between <h1> and the code so that the replacer can see it better and it solved the problem. Now every time I build a "thank you" page it is eliminated but the <h1> still works if I need it for a title.
Watch the 10 Minute Joomla! Tips Video Podcast
Itunes: [url]itpc://10minutejoomlatips.blip.tv/rss/itunes[/url]
Feedburner http://feeds.feedburner.com/10MinutesJoomlaTips

charris
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Sun Nov 09, 2008 2:36 am

Re: Looking to remove "Articles" header

Post by charris » Sat May 26, 2012 1:25 am

I use Rereplacer quite often but for this I used the language override discussed above and it worked like a champ. I hope I can remember this; it could be very useful.

colowebstud64
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Sun Mar 27, 2011 12:53 am

Re: Looking to remove "Articles" header

Post by colowebstud64 » Sat May 26, 2012 8:12 pm

Had the same problems with a Joomla 2.5 Mix_web template - trying to get the "Article header off certain pages that DON'T involve a MENU item, BUT a custom MODULE setuo with a link to an ARTICLE inside the MODULE.. jmuehleisen Advice worked like a charm!! Keepingt that info. handy should it happen again.

mbrunw
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Aug 01, 2008 5:12 pm

Re: Looking to remove "Articles" header

Post by mbrunw » Thu May 31, 2012 12:18 pm

The advice from jmuehleisen worked for me too on Joomla 2.5 and that annoying thing is gone. Hopefully no side effects will show up later. THANKS!

bwirth01
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Oct 07, 2008 12:56 pm

Re: Looking to remove "Articles" header

Post by bwirth01 » Tue Jun 05, 2012 1:51 am

For those of you looking for the official patch for this issue for both 2.5.4 & 1.7.3 you can find it here:

http://joomlacode.org/gf/project/joomla ... m_id=27779

cheers,
Bianca

xtempore
Joomla! Apprentice
Joomla! Apprentice
Posts: 31
Joined: Fri Apr 17, 2009 1:30 am

Re: Looking to remove "Articles" header

Post by xtempore » Tue Jun 19, 2012 6:34 am

Here's the EASY solution (it worked for me at least)...
  • Go to Menu > Menu Manager
  • Select Options.
  • Make sure Show Page Heading is set to No.
  • For Page Heading enter 1 space.
  • Save.
You can even go back in and remove the space, and it still works! I think it must be that the value is undefined in some cases, and then becomes an empty string when you do this.

Hope it works for you too.

mbrunw
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Fri Aug 01, 2008 5:12 pm

Re: Looking to remove "Articles" header

Post by mbrunw » Tue Jun 19, 2012 12:26 pm

I was a bit confused, because as bwirth01 said, this was solved in a J! 2.5.4 patch.
For those of you looking for the official patch for this issue for both 2.5.4 & 1.7.3 you can find it here:

http://joomlacode.org/gf/project/joomla ... m_id=27779
So I turned off the "language" override solution I had used from jmuehleisen then I tried it. The word "Articles" showed up on my test! Then I read the patch solution (Usage: Log into the back-end and open the Menu Manager. On the toolbar, click on "options". You should now see the new tab "Page Display Options". Make your selection and save.).

I decided to take a look. Even though "Show Page Heading" was defaulted to "No" mine was still displaying. However, once I saved from that panel, the word "Articles" disappeared! No tricks or hacks needed. Hope this helps.

charris
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Sun Nov 09, 2008 2:36 am

Re: Looking to remove "Articles" header

Post by charris » Thu Jul 05, 2012 2:58 pm

I had one page where the "Details" title came back. I checked and the language override was still in place but I also noticed that the "Show Modified Date" was also coming up.

When I hid the "Show Modified Date" the Details also went away. These two must be linked in some way.

User avatar
sandvelder
Joomla! Apprentice
Joomla! Apprentice
Posts: 46
Joined: Thu Sep 08, 2011 10:03 am
Location: Pretoria, South Africa
Contact:

Re: Looking to remove "Articles" header

Post by sandvelder » Sat Sep 01, 2012 5:44 pm

Francois Barnard
https://sandvelder.com
Pretoria

jptoro88
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Sep 03, 2012 11:49 pm

Re: Looking to remove "Articles" header

Post by jptoro88 » Mon Sep 03, 2012 11:53 pm

WebJIVE wrote:I just found an EASY way to fix this. Go into the Extensions -> Language -> Overrides and create a new override. Search for Articles (should be JGLOBAL_ARTICLES) and replace it with no text. Save and the word Articles is gone. That easy.
Guys..I used WEBJIVE method and it worked nicely!!.

tks!!

tflores21
Joomla! Apprentice
Joomla! Apprentice
Posts: 38
Joined: Mon Jul 10, 2006 7:37 pm

Re: Looking to remove "Articles" header

Post by tflores21 » Thu Sep 06, 2012 5:53 pm

WEBJIVE's solution worked for me! Thanks.

User avatar
bossies
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 112
Joined: Tue Oct 11, 2005 3:53 pm
Location: Malmesbury - South Africa
Contact:

Re: Looking to remove "Articles" header

Post by bossies » Sat Sep 08, 2012 5:54 am

xtempore you da man - your solution seemed so simple that i did not even tried it - but i have now and its wording great. Some of the other solutions works but it still leaves an empty <h1> tag in the code while your solution removes that - great and thanks!
Malmesbury - South Africa
http://www.voiceconnect.co.za Voiceconnect
http://www.atmalmesbury.co.za

Patricia1919
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Sep 08, 2012 8:40 am
Contact:

Re: Looking to remove "Articles" header

Post by Patricia1919 » Sat Sep 08, 2012 8:54 am

I had the same problem and solution from WEBJIVE to helped. Tnx

User avatar
DSGinteractive
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Jul 01, 2011 7:07 pm
Location: Melbourne, Australia
Contact:

Re: Looking to remove "Articles" header

Post by DSGinteractive » Sun Sep 16, 2012 10:45 am

Looking to remove unwanted "Articles Heading" above your article title?

The simple solution that I've found is to edit your view.html.php file, which is located in:
components/com_content/views/article/view.html.php

Just open it via FTP client and comment out the following line:
//$this->params->def('page_heading', JText::_('JGLOBAL_ARTICLES'));

Hope it works for you?
:)
Cheers!
Sam

sonuplanet
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Dec 08, 2011 12:07 pm

Re: Looking to remove "Articles" header

Post by sonuplanet » Tue Oct 09, 2012 12:58 pm

jmuehleisen wrote:Here's another approach: use the "language" override feature of Joomla 2.5.

Go to /Extensions /Language Manager /Overrides

Click "New"

Enter "JGLOBAL_ARTICLES" (without the quote marks) for the "Language Constant."

Leave the "Text" blank.

Save your override ... this should help.

THIS DID WORK FOR ME !! THANKS MATE !

ghjeng_1
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Dec 12, 2012 8:37 am

Re: Looking to remove "Articles" header

Post by ghjeng_1 » Wed Dec 12, 2012 8:40 am

DSGinteractive had the best solution:

"Looking to remove unwanted "Articles Heading" above your article title?

The simple solution that I've found is to edit your view.html.php file, which is located in:
components/com_content/views/article/view.html.php

Just open it via FTP client and comment out the following line:
//$this->params->def('page_heading', JText::_('JGLOBAL_ARTICLES'));

Hope it works for you?

Cheers!"

I say go with this option...worked great for me :)

ubamba
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Jun 02, 2008 4:42 pm

Re: Looking to remove "Articles" header

Post by ubamba » Mon Feb 04, 2013 9:14 am

Pure genius, thank you!! Finally resolved that annoying issue.
xtempore wrote:Here's the EASY solution (it worked for me at least)...
  • Go to Menu > Menu Manager
  • Select Options.
  • Make sure Show Page Heading is set to No.
  • For Page Heading enter 1 space.
  • Save.
You can even go back in and remove the space, and it still works! I think it must be that the value is undefined in some cases, and then becomes an empty string when you do this.

Hope it works for you too.

User avatar
muddauber
Joomla! Ace
Joomla! Ace
Posts: 1618
Joined: Thu Jun 08, 2006 11:26 pm

Re: Looking to remove "Articles" header

Post by muddauber » Tue Mar 05, 2013 6:46 pm

I have 2.5 but can not change anything on the Language Manager. Is that an extra plugin?

lullard
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri May 13, 2011 8:48 pm

Re: Looking to remove "Articles" header

Post by lullard » Thu Mar 21, 2013 12:45 am

jmuehleisen wrote:Here's another approach: use the "language" override feature of Joomla 2.5.

Go to /Extensions /Language Manager /Overrides

Click "New"

Enter "JGLOBAL_ARTICLES" (without the quote marks) for the "Language Constant."

Leave the "Text" blank.

Save your override ... this should help.
This works!
THANK YOU!

lullard
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri May 13, 2011 8:48 pm

Re: Looking to remove "Articles" header

Post by lullard » Thu Mar 21, 2013 12:46 am

muddauber wrote:I have 2.5 but can not change anything on the Language Manager. Is that an extra plugin?
No. Are you going to the "Overrides" tab in the Language Manager section?

mgreer65
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Fri Nov 23, 2012 5:23 pm

Re: Looking to remove "Articles" header

Post by mgreer65 » Mon Apr 01, 2013 8:31 pm

This worked great for me. Thanks.

jmuehleisen wrote:
Here's another approach: use the "language" override feature of Joomla 2.5.

Go to /Extensions /Language Manager /Overrides

Click "New"

Enter "JGLOBAL_ARTICLES" (without the quote marks) for the "Language Constant."

Leave the "Text" blank.

Save your override ... this should help.

User avatar
Paul_F
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 115
Joined: Thu May 09, 2013 5:40 pm
Location: Athens,Greece
Contact:

Re: Looking to remove "Articles" header

Post by Paul_F » Thu May 09, 2013 5:53 pm

Hello even tho it is an old post i thought i could reply and help as far as i can! you can use the following code in any article you want to remove its header...Place the code shown below before any content !

Code: Select all

<style>
.art-postheader /* class for postheader may varies so here you put your postheader class */
{
display: none !important;
}
</style>

lsmcswain
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Dec 05, 2012 2:30 pm

Re: Looking to remove "Articles" header

Post by lsmcswain » Tue May 28, 2013 8:15 pm

That worked for me. Language override.

Planom
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jul 16, 2013 3:47 pm

Re: Looking to remove "Articles" header

Post by Planom » Tue Jul 16, 2013 4:11 pm

I have had a similar problem. My current version: Joomla 3.1. Some articles show the menu item of the last visited page as a heading.

Been looking for a solution in several days and tried all of the suggested fixes above. (Only I had not seen the post from Paul_F which might have lead me to a solution earlier.)

Following my findings: Joomla 3.1 has solved this issue. The "bug" comes from the template, I have created, using Artisteer (ver. 4.1). I expect that is what Paul_F has been using too, so his workaround probably works fine solving this issue too.

My workaround:

Editing the default.php found in:

templates > "your template name" > html >com_content > article

Using your html editor find and delete/cloak these two lines (without the quotes):

"if (strlen($article->pageHeading))
echo $component->pageHeading($article->pageHeading);"

Save and put .... and OFF goes those darn headings once and for all!

spiritman
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sun Nov 11, 2012 10:10 pm

Re: Looking to remove "Articles" header

Post by spiritman » Tue Dec 17, 2013 6:40 pm

Thank you jmuehleisen! Your language override approach fixed the same issue in Joomla 3.2.

vikirulz09
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Sep 29, 2010 10:52 am

Re: Looking to remove "Articles" header

Post by vikirulz09 » Mon Jan 06, 2014 6:13 am

This is very simple in every joomla installation the default value for header is set as "on" which means the moment you install joomla it will start publishing any data or article with default article header enabled.

Now how to resolve it?

Just navigate to page display option under menu item you will find some thing called
Show Page Heading
It is set to default i.e enabled
please disable the same vola .....

WebbyGhnan
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Jan 10, 2014 3:08 am

Re: Looking to remove "Articles" header

Post by WebbyGhnan » Sat Jan 11, 2014 8:53 am

Thank you jmuehleisen! Your solution fixed the same issue in Joomla 3.2.1.


Locked

Return to “General Questions/New to Joomla! 2.5”