Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • watman Friend
    #149242

    Hi,

    i wonder if there is some way to disable the css style for Breadcrumbs when the module Breadcrumbs disabled?

    right now when i disable the Breadcrumbs module in some page the css style for breadcrumbs still showing on page and this is not so good.

    i hope that some body have a solution for this!

    Many thanks!

    histeriks Friend
    #334994

    watman;167885Hi,

    i wonder if there is some way to disable the css style for Breadcrumbs when the module Breadcrumbs disabled?

    right now when i disable the Breadcrumbs module in some page the css style for breadcrumbs still showing on page and this is not so good.

    i hope that some body have a solution for this!

    Many thanks!

    Hi watman,

    could you please share your url and url of some of those pages?

    Thank you

    watman Friend
    #334997

    se site: http://83.254.61.160/ssu/

    se Breadcrumbs under top menu.
    as you can se the Breadcrumbs module is disabled in the front page but the template still showing the Breadcrumb css style. i need to hide the css style for Breadcrumb when the Breadcrumbs module disable.

    thank you.

    histeriks Friend
    #335001

    watman;167891se site: http://83.254.61.160/ssu/

    se Breadcrumbs under top menu.
    as you can se the Breadcrumbs module is disabled in the front page but the template still showing the Breadcrumb css style. i need to hide the css style for Breadcrumb when the Breadcrumbs module disable.

    thank you.

    The code responsible for breadcrumbs is located in the index.php file of your template from line 183 to line 185:

    <div id="ja-pathway">
    <strong><?php echo JText::_('YOU ARE HERE:');?> </strong><jdoc:include type="module" name="breadcrumbs" />
    </div>

    and in your template.css file located in the css folder of your template, from line 802 to line 809:

    #ja-pathway {
    border: 1px solid #E7E8E6;
    border-bottom: none;
    padding: 5px 15px;
    color: #626A69;
    font-weight: bold;
    background: #F8F8F7;
    }

    Anyway, I would first check if you have some module published on the breadcrumbs position.

    watman Friend
    #335007

    Hi again,

    there is no module published on the breadcrumbs position. the only module who published on the breadcrumbs position is breadcrumbs.

    it must be some way to solve this problem :confused:

    i hope that you have a solution for this problem. thank you.

    histeriks Friend
    #335010

    watman;167901Hi again,

    there is no module published on the breadcrumbs position. the only module who published on the breadcrumbs position is breadcrumbs.

    it must be some way to solve this problem :confused:

    i hope that you have a solution for this problem. thank you.

    Can you please send me your ftp and joomla admin login on PM?

    Thank you!

    histeriks Friend
    #335028

    Allright, i fixed your problem.

    Now, for anyone else facing this, open your index.php file, located in your template folder, and change it by counting modules / inserting if statement before the pathway div on line 183, so that it looks something like this:

    <?php if($this->countModules('breadcrumb')): ?>
    <div id="ja-pathway">
    <strong><?php echo JText::_('YOU ARE HERE:');?> </strong><jdoc:include type="module" name="breadcrumbs" />
    </div>
    <?php endif; ?>

    and then, publish the breadcrumbs module on the breadcrumb (without s) position (to do that, simply type breadcrumb in the module position field, or add new position called breadcrumb in your templateDetails.xml file).

    I’m not sure why this is happening (why it displays it always on the breadcrumbs position), i will look at it a bit closer.

    Cheers 🙂

    watman Friend
    #335120

    works perfectly =) Thank you for ur help!

    histeriks Friend
    #335131

    watman;168034works perfectly =) Thank you for ur help!

    You’re welcome 🙂

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

This topic contains 9 replies, has 2 voices, and was last updated by  histeriks 14 years, 8 months ago.

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