Select your language

{source} getMenu(); $active = $menu->getActive(); // Default title from the active menu item $title = $active ? $active->title : 'Default Title'; // Check if the current view is an article $input = $app->input; $option = $input->getCmd('option'); $view = $input->getCmd('view'); $id = $input->getInt('id'); if ($option == 'com_content' && $view == 'article' && $id) { // Load the article $article = \Joomla\CMS\Table\Table::getInstance('Content', 'JTable', array()); $article->load($id); // Override the title with the article title $title = $article->title; } // Display the title ?> {/source}

Image

10, Agion Anargiron Str.
Marousi Attica, 151 24
Greece

+30 2107243529
[email protected]

QUESTIONS? SEND A MESSAGE