Article title appears two times on pages in Joomla

August 26, 2008 · Filed Under Joomla 

If you have the problem of Title appearing twice in joomla 1.5 pages then you need to follow the following steps

1. Go to the menu manager

2. Find the Menu Item for the page

3. Select in Parameters (System) > Show Page Title > No.

OR

Look inside your /templates/<templatename>/html/com_content/article/default.php file, near the top, for some lines like this:

<?php if ($this->params->get(’show_page_title’,1) && $this->params->get(’page_title’) != $this->article->title) : ?>
<h1 class=”componentheading<?php echo $this->params->get(’pageclass_sfx’); ?>”>
<?php echo $this->escape($this->params->get(’page_title’)); ?>
</h1>
<?php  endif; ?>

Just comment out the part that writes the page title in this section like below.

<?php //if ($this->params->get(’show_page_title’,1) && $this->params->get(’page_title’) != $this->article->title) : ?>
<!–<h1 class=”componentheading<?php echo $this->params->get(’pageclass_sfx’); ?>”>
<?php echo $this->escape($this->params->get(’page_title’)); ?>
</h1>–>
<?php // endif; ?>

Note : If you dont find the folder or file under this path “/templates/<templatename>/html/com_content/article/default.php” then copy the “com_content/article/” folder and files there in from the  BEEZ tempalte “/templates/beez/html/com_content/article/” (Joomla default template)  to your template folder and make the changes.

If you enjoyed this post and found it useful, please write your comments. You comments would encourage us to write more. Also make sure you subscribe to our RSS feed!

We Provide Custom PHP Programming for Joomla , Wordpress, OScommerce, Creloaded, Xcart and any other opensource solution you can think of at www.technoIntellects.com.

Get our Joomla Hosting Packages at the affordable price with unlimited services

Comments

One Response to “Article title appears two times on pages in Joomla”

  1. Article title appears two times on every page in Joomla on August 26th, 2008 2:29 pm

    [...] Go to the author’s original blog: Article title appears two times on every page in Joomla [...]

Leave a Reply