test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • olivier34 Friend
    #157856

    Hello, I am trying to remove the ‘”you are here” Breadcrump that is located at the bottom of the JAsocial template and use this location for other purpose.

    The problem I have is that even when I “turn off” the “Breadcrumbs” module, (active NO), the “You are here” message is still visible. Also, whatever module try to put in this location, It is not visible… only “You are here”…

    I tried to look in the forum for similar issue, but it sounds like if the solution is very dependent on the template.

    any help welcome !

    aman204 Friend
    #368508

    Quick way would be adding this at end of template.css file::

    .ja-breadcrums strong{display:none;}

    kasssim Friend
    #368512

    or also try to disable the breadcumb module

    olivier34 Friend
    #368622

    Thanks for your help.

    It is surprising, but Disabling Breadcrumb module does not work. it sound like if there is a bug in the JA-breadcrumb module

    Adding “.ja-breadcrums strong{display:none;}” in the template CSS works. but is it too bad to use such a “strong” way.

    Regards.

    Phill Moderator
    #368675

    You could go into the template manager and under the profiles tab edit the Default layout. Simply remove the line shown below in red and that will remove the entire navhelper block.

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="top-panel" type="modules" style="jaraw" main-inner="1">top-panel</block>
    <block name="header" type="header" main-inner="1"></block>
    <block name="topbar" type="topbar"></block>
    <block name="mainnav" type="mainnav"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    </blocks>
    <blocks name="middle" colwidth="22">
    <block name="content-mass-top" style="jaraw">content-mass-top</block>
    <block name="content-top" type="spotlight">user1,user2,user3</block>
    <block name="inset2">left</block>
    <block name="right2">right</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer"></block>
    <block name="ie-rounded" type="ie-rounded" no-main="1" no-wrap="1"></block>
    </blocks>
    </layout>

    However, doing that will also remove the “Top” link in that block.

    As the “You Are Here” is hard coded in plugins>system>jat3>base-themes>default>blocks>navhelper.php you could edit the code therin but would need to re-apply your edit if you update the jat3 plugin.

    <?php
    /*
    # ------------------------------------------------------------------------
    # JA T3v2 Plugin - Template framework for Joomla 1.5
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. For details
    # on licensing, Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
    # Author: JoomlArt.com
    # Websites: http://www.joomlart.com - http://www.joomlancers.com.
    # ------------------------------------------------------------------------
    */
    ?>
    <?php $this->genBlockBegin ($block) ?>

    <div class="ja-breadcrums">
    <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"><?php echo JText::_('Top') ?></a></li>
    </ul>

    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
    </ul>

    <?php $this->genBlockEnd ($block) ?>

    Or you could copy the navhelper.php file to templates>ja_social>blocks>navhelper.php (any block in the templates directory wil override the one in the plugin directory) and remove the highlighted in red div there. That way updating the plugin will not affect your custom changes.

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

This topic contains 5 replies, has 4 voices, and was last updated by  Phill 13 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum