helix3 = $helix; $this->position = 'title'; } public function renderFeature() { $app = JFactory::getApplication(); $menuitem = $app->getMenu()->getActive(); // get the active item if($menuitem) { $params = $menuitem->getParams(); // get the menu params if($params->get('enable_page_title', 0)) { $page_title = $menuitem->title; $page_title_alt = $params->get('page_title_alt'); $page_subtitle = $params->get('page_subtitle'); $page_title_bg_color = $params->get('page_title_bg_color'); $page_title_bg_image = $params->get('page_title_bg_image'); $style = ''; if($page_title_bg_color) { $style .= 'background-color: ' . $page_title_bg_color . ';'; } if($page_title_bg_image) { $style .= 'background-image: url(' . JURI::root(true) . '/' . $page_title_bg_image . ');'; } if( $style ) { $style = 'style="' . $style . '"'; } if($page_title_alt) { $page_title = $page_title_alt; } $output = ''; $output .= '