-
AuthorPosts
-
rypetry Friend
rypetry
- Join date:
- March 2011
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 12
- Thanked:
- 4 times in 1 posts
October 25, 2013 at 4:24 pm #191709JA Mitius 2.5: I’m trying to disable the social module and search module in the footer WITHOUT disabling them at the top of the template at the same time. When I disable them in the template manager layout window, it causes them to disappear at the top as well. Any help would be much appreciated!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
October 25, 2013 at 5:13 pm #510239What if you were to disable the respective modules within your Module Manager – for the position(s) they are assigned to?
rypetry Friendrypetry
- Join date:
- March 2011
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 12
- Thanked:
- 4 times in 1 posts
October 25, 2013 at 5:33 pm #510241<em>@TomC 395242 wrote:</em><blockquote>What if you were to disable the respective modules within your Module Manager – for the position(s) they are assigned to?</blockquote>
There are no duplicate modules (at least not that I can locate) – only one search module and one social module… the modules are duplicated somewhere in the code to the site and I can’t figure out where. There is the footnav which can be disabled in the footer area, but the search and social modules remain to the right of that space. Even when I change the CSS style at the bottom, it also changes it at the top correspondingly. It’s quite confusing to me.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 28, 2013 at 9:09 am #510369Hi rypetry,
Yes, due to the concept, we duplicate code to display social / search in footer. You can remove it by opening file: templatesja_mitiustplsblocksfooter.php
At approx line 48, remove this snippet of code:
<div class="span4<?php $this->_c('head-search', array('tablet' => 'span6', 'xtablet' => 'span6'))?>">
<div class="head-search">
<jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
</div>
<div class="<?php $this->_c('social')?>">
<jdoc:include type="modules" name="<?php $this->_p('social') ?>" style="raw" />
</div>
</div>
Hope it helps 🙂
1 user says Thank You to Saguaros for this useful post
rypetry Friendrypetry
- Join date:
- March 2011
- Posts:
- 49
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 12
- Thanked:
- 4 times in 1 posts
October 28, 2013 at 1:32 pm #510404<em>@Saguaros 395443 wrote:</em><blockquote>Hi rypetry,
Yes, due to the concept, we duplicate code to display social / search in footer. You can remove it by opening file: templatesja_mitiustplsblocksfooter.php
At approx line 48, remove this snippet of code:
<div class="span4<?php $this->_c('head-search', array('tablet' => 'span6', 'xtablet' => 'span6'))?>">
<div class="head-search">
<jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
</div>
<div class="<?php $this->_c('social')?>">
<jdoc:include type="modules" name="<?php $this->_p('social') ?>" style="raw" />
</div>
</div>
Hope it helps :)</blockquote>
That should help. I will try that later this afternoon when I get to that project. Thank you very much for that… I probably never would’ve thought to look there. 🙂
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by rypetry 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum