Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • plant123 Friend
    #154287

    Hi,

    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 Moderator
    #355467

    Now, you open the file: templatesja_kyanite_iilayoutsblocksmain.php and remove the following code:
    [PHP]
    <strong><?php echo JText::_(‘You are here’)?></strong>
    [/PHP]

    plant123 Friend
    #355510

    Hi,

    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 Friend
    #356315

    Dear 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 !

    plant123 Friend
    #356418

    That worked, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)

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