| Current Path : /home/helpink/www/libraries/astroid/framework/elements/article_pageheading/ |
| Current File : /home/helpink/www/libraries/astroid/framework/elements/article_pageheading/article_pageheading.php |
<?php
/**
* @package Astroid Framework
* @author Astroid Framework Team https://astroidframe.work
* @copyright Copyright (C) 2023 AstroidFrame.work.
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
* DO NOT MODIFY THIS FILE DIRECTLY AS IT WILL BE OVERWRITTEN IN THE NEXT UPDATE
* You can easily override all files under /astroid/ folder.
* Just copy the file to JROOT/media/templates/site/YOUR_ASTROID_TEMPLATE/astroid/elements/module_position/module_position.php folder to create and override
*/
// No direct access.
defined('_JEXEC') or die;
extract($displayData);
$item = $options['article'];
if (isset($item->other_params) && $item->other_params->get('show_page_heading')) {
echo '<h1>'.$item->other_params->get('page_heading').'</h1>';
}