Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • abrill Friend
    #171658

    If 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.


    1. localhost-2011-11-22-12-50-55
    khoand Friend
    #429049

    Could you give me a link to your page has problem?

    khoand Friend
    #429320

    You add this code into /templates/your_template/css/template.css

    div.article-tools {
    display: none !important;
    }

    abrill Friend
    #429321

    Thank you. Will it still show up for the other articles that do have article details to show if I add that code?

    khoand Friend
    #429329

    No. 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; ?>

    abrill Friend
    #429341

    Thank you so much!

Viewing 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