ghost module

Elegant Joomla template designed especially for both professional and personal website presentation.
GK User
Mon Jan 16, 2012 10:30 pm
Hello,

I've a kinda "ghost module" in my template. I do not understand where its coming from.
you can see it here :
http://onlit.net/index.php?option=com_k ... Itemid=191

its all over in the website. Like if there was something there. i can't figure out how to delete it.

thanks if you can help.
User avatar
Fresh Boarder

teitbite
Tue Jan 17, 2012 2:01 am
Hi

Can You please show me which module You have in mind ?
User avatar
Moderator

GK User
Tue Jan 17, 2012 10:56 am
here they are :
User avatar
Fresh Boarder

GK User
Tue Jan 17, 2012 5:22 pm
ok I get it. it's solved.
thanks anyway ;-)
User avatar
Fresh Boarder

teitbite
Tue Jan 17, 2012 11:17 pm
Hi

Ok. No problem. Glad You have it working.
User avatar
Moderator

GK User
Wed Jan 25, 2012 11:42 am
Hi,

I have the same problem, how have you solved?
User avatar
Expert Boarder

teitbite
Wed Jan 25, 2012 8:42 pm
alessandrojoo wrote:Hi,

I have the same problem, how have you solved?



Hi

Please show me Your site.
User avatar
Moderator

GK User
Thu Jan 26, 2012 10:24 am
Hi, this is the site:

http://www.sumov.it
User avatar
Expert Boarder

GK User
Thu Jan 26, 2012 4:53 pm
and in this page you can see an horizontal with module that i don't know how it is there.

http://www.sumov.it/sponsor
User avatar
Expert Boarder

GK User
Thu Jan 26, 2012 5:20 pm
I don't knok if it is the right way, but I tried to delete these lines in "main.php"

<div id="gkMainbody" class="gkMain <?php echo $this->generatePadding('gkMainbody'); ?>">
<?php if($this->modules('breadcrumb') || $this->getToolsOverride()) : ?>
<div id="gkBreadcrumb">
<div>
<div>

<div id="gkComponent">
<div>
<jdoc:include type="component" />
</div>
</div>
<?php elseif($this->getParam('mainbody_frontpage', 'only_component') == 'only_mainbody') : ?>
<jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
<?php elseif($this->getParam('mainbody_frontpage', 'only_component') == 'mainbody_before_component') : ?>
<jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
<div id="gkComponent">
<div>
<jdoc:include type="component" />
</div>
</div>
<?php else : ?>
<div id="gkComponent">
<div>
<jdoc:include type="component" />
</div>
</div>
<jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
<?php endif; ?>
<?php else : ?>
<?php if($this->getParam('mainbody_subpage', 'only_component') == 'only_component') : ?>
<div id="gkComponent">
<div>
<jdoc:include type="component" />
</div>
</div>
<?php elseif($this->getParam('mainbody_subpage', 'only_component') == 'mainbody_before_component') : ?>
<jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
<div id="gkComponent">
<div>
<jdoc:include type="component" />
</div>
</div>
<?php else : ?>
<div id="gkComponent">
<div>
<jdoc:include type="component" />
</div>
</div>
<jdoc:include type="modules" name="mainbody" style="<?php echo $this->module_styles['mainbody']; ?>" />
<?php endif; ?>
<?php endif; ?>
</div>


And now it works. There are no more the ghost module. :evil:
User avatar
Expert Boarder


cron