Adjust page heading inside a menu item

Code:
if ($app->get('show_page_heading')) :
    echo '<h1>' . $app->get('page_heading') . '</h1>';
endif;
 
if ($this->params->get('show_page_heading', 1)) : ?>
    <div class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"><?php echo $this->escape($this->params->get('page_heading')); ?></div>
<?php
endif;
You are displaying the page_heading twice
 
Found it, thanks.
The code that you adjusted in Github, will this be used for all future releases of Fabrik?
 
Yes. Once code is in github, it's part of Fabrik, and will get rolled up in the next build of the main release ZIP.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top