You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
j4examplecode/src/components/com_foos/tmpl/foo/withhead.php

20 lines
452 B

<?php
\defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
echo "<hr>Hier kannst du einen Headertext anzeigen.<hr>";
if ($this->item->params->get('show_name')) {
if ($this->Params->get('show_foo_name_label')) {
echo Text::_('COM_FOOS_NAME') . $this->item->name;
} else {
echo $this->item->name;
}
}
echo $this->item->event->afterDisplayTitle;
echo $this->item->event->beforeDisplayContent;
echo $this->item->event->afterDisplayContent;