removal of gk-tools module at the top of a lot of my pages

GK User
Wed Mar 23, 2011 1:10 pm
I was trying to get rid of the blank module at the top of some of my pages. It appears to be gk-tools
As suggetsed I added <!-- before and --> to the end of the text I found in main.php

<!--<?php if($this->getTools()) : ?>
<div id="gk-tools">
<?php $this->loadBlock('usertools/tools') ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>-->

It worked to the point of getting rid of the standalone box sitting at the top of my pages, but now I appear to have a duplicate box around my content as can be seen at

http://timsmith.dyndns-server.com:150/i ... Itemid=133

Your help is greatly appreciated


[attachment]double border.pdf[/attachment]
User avatar
Fresh Boarder

GK User
Wed Mar 23, 2011 2:17 pm
That's not gonna work . . . you've commented out the text but it's still forcing a module position (I think).

Can you undo the change you made and let me take a look at it as it was before . . .
User avatar
Expert Boarder

GK User
Wed Mar 23, 2011 2:19 pm
Oh, and where have you got your content set to appear? It looks to be loading it within the "gk-top-nav" div which is not correct.
User avatar
Expert Boarder

GK User
Thu Mar 24, 2011 1:35 am
Thanks soo much for your quick response. I have put the site back to how it was. And apologies, as I think the site may have been down when you tried to access it.

http://timsmith.dyndns-server.com:150/i ... Itemid=135

The pages, that show up with the extra box at the top are
wines | news | store | contact

I also checked and I can't see any modules allocated to gk-top-nav

thanks again for the great support
User avatar
Fresh Boarder

GK User
Thu Mar 24, 2011 4:47 am
I can't see why the GK Tools is still using space even though it's not active and is hidden (which is why it's forcing the div gk_top_nav to still show).

A quick fix would be to simply add display:none to your css for #gk_top_nav (line 28, style1.css)

This will hide the entire div throughout the site tho so if you ARE using tools/breadcrumbs somewhere else, this will hide it there also.
User avatar
Expert Boarder


cron