Sometimes you just want the title to span the page width instead of being locked into the component block and cut off by a side bar, for a variety of reasons.
spanned-title.png
To get it done requires title output in the template index.php since the element needs to exist outside the contained component element.
Add the following to the php coding at the top of the default template's index.php
Code: Select all
$app = JFactory::getApplication();
$post = JTable::getInstance('content');
$post->load( $app->input->getInt('id') );
In the <body> area, add the element where you desire
Code: Select all
<div class="pagetitle"><h1><?php echo $post->get('title'); ?></h1></div>
das it!
You do not have the required permissions to view the files attached to this post.