Article title appears two times on pages in Joomla

Spread the love
  •  
  •  
  •  
  •  
  •  

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.


Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Leave a Reply

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