-
AuthorPosts
-
plant123 Friend
plant123
- Join date:
- September 2010
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
September 13, 2010 at 10:16 pm #154287Hi,
I’d like to remove the breadcrumbs (and the text “You are here”) from the homepage. I want to keep it on all other pages.
I know I can assign pages with the module manager, but doing so still leaves the “You are here” text and module outline.
From what I understand, the breadcrumbs are hard coded into the template. Can anyone share some code that will accomplish what I’m looking for?
Thanks!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 14, 2010 at 8:53 am #355467Now, you open the file: templatesja_kyanite_iilayoutsblocksmain.php and remove the following code:
[PHP]
<strong><?php echo JText::_(‘You are here’)?></strong>
[/PHP]plant123 Friendplant123
- Join date:
- September 2010
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
September 14, 2010 at 5:17 pm #355510Hi,
It looks like you are referencing Kyanite II, im using Kyanite. I looked for the line of code in main.php but didnt find it. However, I did find it in the topsl.php file. When I commented this line, it removed the breadcrumbs from all pages. I only want to remove them from the home page.
Thanks.
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
September 22, 2010 at 3:07 am #356315Dear plant123 ,
You can go to the file ja_kyanitelayoutsblockstopsl.php
Look for this<div id=”ja-breadcrums” class=”wrap”>
<div class=”main”><div class=”ja-wrap1″><div class=”ja-wrap2 clearfix”>
<strong><?php echo JText::_(‘You are here’)?></strong>
<jdoc:include type=”modules” name=”breadcrumb” />
<?php endif; ?>
</div></div></div>
</div>Change it to
<?php if(!$this->isFrontPage()):?>
<div id=”ja-breadcrums” class=”wrap”>
<div class=”main”><div class=”ja-wrap1″><div class=”ja-wrap2 clearfix”><strong><?php echo JText::_(‘You are here’)?></strong> <jdoc:include type=”modules” name=”breadcrumb” />
</div></div></div>
</div>
<?php endif; ?>i hope this make sense !
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by plant123 14 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum