I am looking at using the Technews template so been experimenting.
I find that if I have a sidebar published with the single contact page, I get a second sidebar inside the contact details main content.
I looked in /templates/gk_technews/html/com_contact/contact/default.php and sure enough at the bottom of the file is some code to display the sidebar if published, removing this gets rid of my problem, but why is it there? Am I missing some trick with this template?
This is the code I took out:
<?php
$document = JFactory::getDocument();
$renderer = $document->loadRenderer('modules');
if($document->countModules('sidebar')) {
echo '<aside id="gkSidebar">';
echo '<div>';
echo $renderer->render('sidebar', array('style' => 'gk_style'), null);
echo '</div>';
echo '</aside>';
}
?>