-
AuthorPosts
-
abrill Friend
abrill
- Join date:
- October 2008
- Posts:
- 140
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 42
- Thanked:
- 1 times in 1 posts
December 9, 2011 at 8:42 pm #171658If we have an article set to not show the category, author, date, etc. it still shows bar under the title. Is there a way to get rid of that when the options are set to hide but have it show if not? This happens only on the Featured Page.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 10, 2011 at 4:23 am #429049Could you give me a link to your page has problem?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 12, 2011 at 2:22 pm #429320You add this code into /templates/your_template/css/template.css
div.article-tools {
display: none !important;
}abrill Friendabrill
- Join date:
- October 2008
- Posts:
- 140
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 42
- Thanked:
- 1 times in 1 posts
December 12, 2011 at 2:36 pm #429321Thank you. Will it still show up for the other articles that do have article details to show if I add that code?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 12, 2011 at 3:18 pm #429329No. But if you want to, you remove my code I gave you and
– Replace the code from /templates/your_template/html/com_content/featured/default_item.php
<div class="article-tools clearfix">
with
<?php if (($params->get('show_author')) or ($params->get('show_category')) or ($params->get('show_create_date')) or ($params->get('show_modify_date')) or ($params->get('show_publish_date')) or ($params->get('show_parent_category')) or ($params->get('show_hits')) or ($params->get('show_print_icon') || $params->get('show_email_icon') || $canEdit)) : ?>
<div class="article-tools clearfix">
replace
<?php echo JHtml::_('icon.edit', $this->item, $params); ?>
</li>
<?php endif; ?>
</ul>
<?php endif; ?>
</div>
with
<?php echo JHtml::_('icon.edit', $this->item, $params); ?>
</li>
<?php endif; ?>
</ul>
<?php endif; ?>
</div>
<?php endif; ?>
1 user says Thank You to khoand for this useful post
abrill Friendabrill
- Join date:
- October 2008
- Posts:
- 140
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 42
- Thanked:
- 1 times in 1 posts
December 12, 2011 at 4:36 pm #429341Thank you so much!
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by abrill 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Does anyone have this problem?
Viewing 6 posts - 1 through 6 (of 6 total)