test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • polo974 Friend
    #208511

    Hi !

    I’ve a little issue using Xblog layout. My parent category title is quite long and the display is quite ugly :

    Do you know if I can fix it with CSS ?

    I’ve tried to change

    [PHP] <dd class=”parent-category-name hasTooltip” title=”<?php echo JText::sprintf(‘COM_CONTENT_PARENT’, ”); ?>”>
    <i class=”fa fa-folder”></i>
    <?php if ($params->get(‘link_parent_category’) && !empty($item->parent_slug)) : ?>
    <?php echo JHtml::_(‘link’, JRoute::_(ContentHelperRoute::getCategoryRoute($item->parent_slug)), ‘<span itemprop=”genre”>’.$title.'</span>’); ?>
    <?php else : ?>
    <span itemprop=”genre”><?php echo $title ?></span>
    <?php endif; ?>
    </dd>[/PHP]

    by

    [PHP]
    <div class=”parent-category-name hasTooltip” title=”<?php echo JText::sprintf(‘COM_CONTENT_PARENT’, ”); ?>”>
    <i class=”fa fa-folder”></i>
    <?php if ($params->get(‘link_parent_category’) && !empty($item->parent_slug)) : ?>
    <?php echo JHtml::_(‘link’, JRoute::_(ContentHelperRoute::getCategoryRoute($item->parent_slug)), ‘<span itemprop=”genre”>’.$title.'</span>’); ?>
    <?php else : ?>
    <span itemprop=”genre”><?php echo $title ?></span>
    <?php endif; ?>
    </div>[/PHP]
    in /plugins/system/t3/base-bs3/html/layouts/joomla/content/info_block/parent-category.php

    but my changes are lost at every update of the t3 framework plugin…

    Regards,

    Paul

    Saguaros Moderator
    #577131

    Hi Paul,

    You should override in template directory so that when you update T3 framework, it will not be affected. Pls try to add that block into: root/templates/uber (your_default_template_folder)/html/layouts/joomla/content/info_block/

    If this folder doesn’t exist, you can simply create it.

    polo974 Friend
    #577245

    Ok, I’m gonna do that !

    Thanks !

    Paul

    polo974 Friend
    #643550

    Ok, I’m gonna do that !

    Thanks !

    Paul

    polo974 Friend
    #742197

    Ok, I’m gonna do that !

    Thanks !

    Paul

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

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

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