Linelabox Support

Hello there! Welcome to Linelabox Support Forum. Post your question and our support specialists will help you. Look for the solution in the F.A.Q. first. Our support team is available for any questions or issues in the following working hours: Monday - Friday: 10:00 - 18:00.


Yesterday evening I was busy with creating a 404 page for the Ultimelab template. But there was one remarkable thing.

There was at the top of the 404 article the first line: <h1>Artikel</h1> and next line was <h2>The page were you are looking for could not be found</h2>
But I could not understand were is that Artikel comming from.
So I renamed the default.php at the override directory "template/.../html\com_content/article/, so that the original default.php is used. Then the <h1>Artikel</h1> is not shown and is working as I expected

The next line comes from the override default.php:
if ($this->params->get('show_page_heading', 1)) : 

The next line comes from the original default.php:
if ($this->params->get('show_page_heading')) : 

But why is the override not correct working, because that comes from page_heading is one. I have written a MySQL script which has been going throug all the menu parameters and change show_page_heading when it has the value's "1" or 1 or "0" or 0 to "" (empty), but that part $this->params->get('show_page_heading', 1) returns still the value 1!! So I don't understand how it exactly and my feeling is that this is not correct working.

Second thing.
Due to SEO it is fine that there is only one <h1> tag on a page. I don not understand why Joomla has the feature show_page_heading added, because so far as I see and understand, the title of the article is enough.
So a while ago, I have made another modification to the override like this:

if ($params->get('show_title') && !($this->params->get('show_page_heading')) ) : ?>
<h1 class="boxname tlmbfoxname">

<?php else : ?>
<h2 class="boxname tlmbfoxname">

<?php endif; ?>

So if the page heading is used than this will be placed between <h1> tags and otherwise the article title.

Responses (0)
  • There are no replies here yet.
Your Reply

VirtueMart Admin Theme


Responsive VirtueMart 3 Administrator Template


New Joomla! 3 Template


Responsive Joomla 3 Template / VirtueMart 3 Theme

Template Demo

Recent Discussions

Dobrý den, potřeboval bych prosím doladit One Page Checkout. U produktů mám na...
17 hours ago 0
When I install a ultimelab template on my site, right away a lot of overrides ar...
1 week ago 0
Hello. I have problem with export xml for google merchant. In xml settings - x...
1 month ago 0
Dobrý den, ve čtvrtek jsem od vás koupili balíček Professional. Peníze jsme vám...
1 month ago 2

Who's Online

We have 387 guests and no members online is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Copyright © 2014 - Joomla! 3 / VirtueMart 3 Templates. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License. All other marks are the property of their respective owners.