Hi
I'm building a new template using t3 bs3 blank and have most areas set-up, but one is really baffling me. In the design the article title has been placed in the header area, just beneath the menu, separate from the article text.
The header uses a background image so ideally I need to get the article title code into the header file but cannot work out how to get it to display. I've been playing around with the file plugins > system > t3 > base bs3 > html > layouts > joomla > content > item_title.php...
<header class="article-header clearfix">
<<?php echo $title_tag; ?> class="article-title" itemprop="name">
<?php if ($params->get('link_titles')) : ?>
<a href="<?php echo $url ?>" itemprop="url" title="<?php echo $this->escape($item->title); ?>">
<?php echo $this->escape($item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($item->title); ?>
<meta itemprop="url" content="<?php echo $prefix.$url ?>" />
<?php endif; ?>
</<?php echo $title_tag; ?>>
<?php if ($item->state == 0) : ?>
<span class="label label-warning"><?php echo JText::_('JUNPUBLISHED'); ?></span>
<?php endif; ?>
<?php if (strtotime($item->publish_up) > strtotime(JFactory::getDate())) : ?>
<span class="label label-warning"><?php echo JText::_('JNOTPUBLISHEDYET'); ?></span>
<?php endif; ?>
<?php if ((strtotime($item->publish_down) < strtotime(JFactory::getDate())) && $item->publish_down != '0000-00-00 00:00:00') : ?>
<span class="label label-warning"><?php echo JText::_('JEXPIRED'); ?></span>
<?php endif; ?>
</header>
I've tried copying this entire block to header.php, as well as sections of it but cannot get it to display.
Does anyone have a similar override they have successfully completed or any ideas how to get this to work?
Any help is much appreciated!
Thanks