Hi
No no no. You do not need to edit any file. I just mean that the condition in code is:
- Code: Select all
<?php if ($this->params->get('show_page_heading')) : ?>
which means that settings to allow showing page heading has to be enabled in menu item, article or in category settings (or all of them at the same time).
But if You want to simply force it with a code modification than edit file /html/com_content/article/default.php and replace code:
- Code: Select all
<?php if ($this->params->get('show_page_heading')) : ?>
<div class="page-header">
<h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
</div>
<?php endif;
with:
- Code: Select all
<div class="page-header">
<h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
</div>