-
AuthorPosts
-
dcross02 Friend
dcross02
- Join date:
- December 2010
- Posts:
- 55
- Downloads:
- 43
- Uploads:
- 10
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
April 10, 2013 at 9:20 pm #186651I’ve seen this question answered for other Joomlart templates, but it appears that Minisite for Joomla 2.5 must be set up differently. Where can I remove the date to the right of the breadcrumbs on every page?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 11, 2013 at 5:57 am #489505Hi
Goto this file templatesja_minisiteblocksbreadcrums.php
?>
<div class="ja-breadcrums">
<!--strong><?php echo JText::_('You are here')?></strong--> <jdoc:include type="module" name="breadcrumbs" />
</div><p class="ja-day">
<?php
echo '<span class="day">'.JHTML::_('date', 'now', 'l').'</span>'.
'<span class="date">'.JHTML::_('date', 'now', 'd ').'</span>'.
'<span class="month">'.JHTML::_('date', 'now', 'F ').'</span>'.
'<span class="year">'.JHTML::_('date', 'now', 'Y').'</span>';
?>
</p><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>remove the <p class=”ja-day”> … </p> section
So it will be
?>
<div class="ja-breadcrums">
<!--strong><?php echo JText::_('You are here')?></strong--> <jdoc:include type="module" name="breadcrumbs" />
</div>
<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>Save and clean your JaT3 cache
Regards
1 user says Thank You to pavit for this useful post
dcross02 Frienddcross02
- Join date:
- December 2010
- Posts:
- 55
- Downloads:
- 43
- Uploads:
- 10
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
April 11, 2013 at 3:12 pm #489548Thanks — that worked. The reason I wanted the date removed was to give the breadcrumbs some extra space since they often drop down to the next line. Now that the date is removed, how can I extend the breadcrumbs all the way across the width of the page?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 12, 2013 at 5:26 pm #489699<em>@dcross02 368530 wrote:</em><blockquote>how can I extend the breadcrumbs all the way across the width of the page?</blockquote>
I’m not sure what you are implying. Just for better clarification, please include screenshot and your site URL here for further investigation.
dcross02 Frienddcross02
- Join date:
- December 2010
- Posts:
- 55
- Downloads:
- 43
- Uploads:
- 10
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
April 15, 2013 at 8:23 pm #489965Here’s a screenshot:
You can see how the breadcrumb in this instance wraps to a second line. What I would like is for it to keep going across where the date is (where I have put a red arrow).
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 16, 2013 at 7:46 am #490000You can try it this way
1) Open templates/ja_minisite/blocks/breadcrums.php file
from
<div class="ja-breadcrums">
<!--strong><?php echo JText::_('You are here')?></strong--> <jdoc:include type="module" name="breadcrumbs" />
</div><p class="ja-day">
<?php
echo '<span class="day">'.JHTML::_('date', 'now', 'l').'</span>'.
'<span class="date">'.JHTML::_('date', 'now', 'd ').'</span>'.
'<span class="month">'.JHTML::_('date', 'now', 'F ').'</span>'.
'<span class="year">'.JHTML::_('date', 'now', 'Y').'</span>';
?>
</p><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>
change to
<div class="ja-breadcrums">
<!--strong><?php echo JText::_('You are here')?></strong--> <jdoc:include type="module" name="breadcrumbs" />
</div><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>
2) Open templates/ja_minisite/css/template.css file
from
.ja-breadcrums {
margin: 0;
width: 78%;
}
change to
.ja-breadcrums {
margin: 0;
width: 100%;
}Remember to clear cache from admin area, let me know the result
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 3 voices, and was last updated by Ninja Lead 11 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Where can I remove the date to the right of the breadcrumbs?
Viewing 6 posts - 1 through 6 (of 6 total)