-
AuthorPosts
-
March 5, 2010 at 8:39 am #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 Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
March 5, 2010 at 9:03 am #334994watman;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
March 5, 2010 at 9:21 am #334997se 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 Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
March 5, 2010 at 9:43 am #335001watman;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.March 5, 2010 at 10:05 am #335007Hi 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 Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
March 5, 2010 at 10:12 am #335010watman;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 Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
March 5, 2010 at 11:39 am #335028Allright, 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 🙂
1 user says Thank You to histeriks for this useful post
March 6, 2010 at 6:21 pm #335120works perfectly =) Thank you for ur help!
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by histeriks 14 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum