Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • harikjr88 Friend
    #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 Moderator
    #346101

    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.

    harikjr88 Friend
    #346231

    As 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 Friend
    #346331

    Hi 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 disabled

    harikjr88 Friend
    #346689

    Thanks. This is exactly what I needed.

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

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