-
AuthorPosts
-
June 6, 2010 at 3:47 am #151606
hello I need to disable the breadcrumbs on the homepage (using JA Ores template)..
However when I disable it in modules it only disables half of it but this still remains: “You are Here: “
And the Back to Top.. I need to disable those from homepage.. I bet it’s integrated in the template, that’s why it’s doing that..
HOW DO I remove the breadcrumbs and the Back to Top from the homepage??
PLZ HELP THANKS!!
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
June 6, 2010 at 4:09 am #346101Hi Harik,
Here’s a simple way of getting rid of the “You Are Here:” in that template.
Goto templates/ja_ores/css/template.css – line 1461
and add the following line in red..ja-breadcrums strong {
display:none;
margin-right:5px;
}Have fun.
John.June 7, 2010 at 7:36 pm #346231As I said before, I only need to get rid of it, on the homepage.
And if I edit the template CSS, it’ll get rid of it everywhere.
Also, I don’t want to duplicate that template, get rid of the CSS, and assign it only to the homepage, that’s a cheap fix because it’ll require loading images and CSS files all over again because they are two different templates and it’ll take a long loading time for visitors.
Anyway, I can edit some PHP file of the template, and insert some code where the breadcrumbs load everywhere BUT NOT the homepage?
<em>@jbrett 181658 wrote:</em><blockquote>Hi Harik,
Here’s a simple way of getting rid of the “You Are Here:” in that template.
Goto templates/ja_ores/css/template.css – line 1461
and add the following line in red..ja-breadcrums strong {
display:none;
margin-right:5px;
}Have fun.
John.</blockquote>Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
June 8, 2010 at 9:48 am #346331Hi harikjr88,
If you just Disable breadcrumbs module from homepage ,Please just try as follows
open templatesja_oreslayoutsblocks navhelper.php file you will see these HTML Tags
<div class=”ja-breadcrums”>
<!–JA Template Guide only–>
<strong><?php echo JText::_(‘You are here’)?></strong><jdoc:include type=”modules” name=”breadcrumb” />
<!–<strong><?php echo JText::_(‘You are here’)?></strong> <jdoc:include type=”module” name=”breadcrumbs” />–>
</div><ul class=”ja-links”>
<li class=”layout-switcher”><?php $this->loadBlock(‘usertools/layout-switcher’) ?> </li>
<li class=”top”><a href=”<?php echo $this->getCurrentURL();?>#Top” title=”Back to Top” onclick=”javascript:scroll(0,0)”><?php echo JText::_(‘BACK TO TOP’)?></a></li>
</ul>Just change to this
<?php if( $this->countModules(‘breadcrumb’) ): ?>
<div class=”ja-breadcrums”>
<!–JA Template Guide only–>
<strong><?php echo JText::_(‘You are here’)?></strong><jdoc:include type=”modules” name=”breadcrumb” />
<!–<strong><?php echo JText::_(‘You are here’)?></strong> <jdoc:include type=”module” name=”breadcrumbs” />–>
</div><ul class=”ja-links”>
<li class=”layout-switcher”><?php $this->loadBlock(‘usertools/layout-switcher’) ?> </li>
<li class=”top”><a href=”<?php echo $this->getCurrentURL();?>#Top” title=”Back to Top” onclick=”javascript:scroll(0,0)”><?php echo JText::_(‘BACK TO TOP’)?></a></li>
</ul><?php endif; ?>
Then go to the setting for the breadcrumbs module unassign this module to Home menu item.
This way will remove also The “You are Here ” Text when the module is disabled1 user says Thank You to Sherlock for this useful post
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by harikjr88 14 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum