Blog @ Header

Support desk for Multipurpose Quark Theme
GK User
Sat Feb 28, 2015 12:33 pm
Hi Guys,

How can hide or disable the header module in the blog??

Regards
User avatar
Gold Boarder

GK User
Sat Feb 28, 2015 12:41 pm
Could you please post an url to your site?
User avatar
Moderator

GK User
Sat Feb 28, 2015 12:51 pm
User avatar
Gold Boarder

GK User
Sun Mar 01, 2015 12:29 pm
Removed!!

file: /templates/gk_quark/html/com_k2/templates/default/category.php

file result:

<div id="k2Container" class="blog-page <?php if($this->params->get('pageclass_sfx')) echo ' '.$this->params->get('pageclass_sfx'); ?>">

<div class="gkPage">
<div id="gk-content-wrapper">
<?php
$items = array();

if(isset($this->leading)) $items = array_merge($items, $this->leading);
if(isset($this->primary)) $items = array_merge($items, $this->primary);
if(isset($this->secondary)) $items = array_merge($items, $this->secondary);

if(count($items)):
?>
<div class="item-list">
<?php foreach($items as $item): ?>
<?php
$this->item = $item;
echo $this->loadTemplate('item');
?>
<?php endforeach; ?>
</div>

<?php if(count($this->pagination->getPagesLinks())): ?>
<?php if($this->params->get('catPagination')): ?>
<?php echo $this->pagination->getPagesLinks(); ?>
<?php endif; ?>
<?php endif; ?>

<?php endif; ?>
</div>

<?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>';
}
?>
</div>
</div>
<?php endif; ?>
User avatar
Gold Boarder

GK User
Sun Mar 01, 2015 9:43 pm
Thanks for the info. Please use code tag to wrap php code in the future.
Also from what I see you are quite well in html/css/php edit - next time perhaps you might try to do it by yourself before asking a question? ;)
User avatar
Moderator

GK User
Sun Mar 01, 2015 10:22 pm
Thank you Cyberek,

I still have the problem with white fonts at main menu.

Heeeelp
User avatar
Gold Boarder

GK User
Sun Mar 01, 2015 11:28 pm
Solved!

Removing the following lines from default.php:

Code: Select all
if(JRequest::getCmd('option') == 'com_k2') {
   $com_k2_page = true;
}
User avatar
Gold Boarder

GK User
Tue Mar 03, 2015 12:54 pm
It would be better to fix colors in css, but afair I have already explained you why.
User avatar
Moderator


cron