test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • SenMel Friend
    #161485

    Ja Teline IV or JA Purity show subcategories of a top category together with subcategory names, descriptions and images although they are hidden in global Article Options. Non-JA template can read the global values and show subcategories as links.
    Why is this so?

    thuanlq Friend
    #382469

    Hi Sural98,

    What the joomla version which you installed JA Teline IV and JA Purity?

    SenMel Friend
    #382533

    It is Teline IV for J 1.6 on a local machine.

    thuanlq Friend
    #382966

    Hi Sural98,

    This is problem of this template, to resolve this problem, please do as following:
    Copy folder “com_content” in the folder “pluginssystemjat3jat3base-themesdefaulthtml”, then paste to folder “templatesja_teline_ivhtml”.
    – Open the file “default_items.php” in the folder “templatesja_teline_ivhtmlcom_contentcategories”, find code:


    if ($this->params->get('show_empty_categories') || $item->numitems || count($item->getChildren())) :

    Replace to:


    if ($this->params->get('show_empty_categories_cat') || $item->numitems || count($item->getChildren())) :

    Find code:


    <?php if ($item->description) : ?>
    <div class="category-desc">
    <?php echo JHtml::_('content.prepare', $item->description); ?>
    </div>
    <?php endif; ?>

    Replace to:


    <?php if ($this->params->get('show_subcat_desc_cat') == 1) :?>
    <?php if ($item->description) : ?>
    <div class="category-desc">
    <?php echo JHtml::_('content.prepare', $item->description); ?>
    </div>
    <?php endif; ?>
    <?php endif; ?>

    Find code:


    <?php if ($this->params->get('show_item_count') == 1) :?>
    <dl class="article-count"><dt>
    <?php echo JText::_('COM_CONTENT_COUNT:'); ?></dt>

    Replace to:


    <?php if ($this->params->get('show_cat_num_articles_cat') == 1) :?>
    <dl class="article-count"><dt>
    <?php echo JText::_('COM_CONTENT_NUM_ITEMS'); ?></dt>
    <dd><?php echo $item->numitems; ?></dd>

    Regards,

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

This topic contains 4 replies, has 2 voices, and was last updated by  thuanlq 13 years, 9 months ago.

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