Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • bfahnoe Friend
    #190383

    The blog layout still gets wrong, you said it should be corrected in an update. This was a long time ago in an earlier version.
    Here is the correction:
    In order to fix bug layout blog, please go to:
    templatesja_socialhtmlcom_contentcategoryblog _item.php
    Find these lines:
    Code:
    <?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’))) : ?>
    <div class=”ja-blog-meta clearfix”>
    <div class=”postdate-wrap”>
    <?php if ($params->get(‘show_create_date’)) : ?>
    <span class=”postdate clearfix”>

    <?php $created = T3Hook::_(‘t3_date_format’, array($this->item->created, ‘cat.blog.created’));
    if (!$created) $created = JHtml::_(‘date’, $this->item->created, JText::_(‘DATE_FORMAT_LC3’)) ?>
    <?php
    $createDay = date(‘d’, strtotime($this->item->created));
    $createMonth = JText::_(strtoupper(date(‘F’, strtotime($this->item->created))).”_SHORT”);
    $createYear = date(‘Y’, strtotime($this->item->created));
    ?>
    <span class=”date”><?php echo $createDay; ?></span>
    <span class=”month-year”>
    <span class=”month”><?php echo $createMonth; ?></span>
    <span class=”year”><?php echo $createYear; ?></span>
    </span>
    </span>
    <?php endif; ?>
    </div>
    <div class=”cat-date”>
    <?php endif; ?>
    change to this:
    Code:
    <?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’))) : ?>
    <div class=”ja-blog-meta clearfix”>
    <div class=”postdate-wrap”>
    <?php if ($params->get(‘show_create_date’)) : ?>
    <span class=”postdate clearfix”>

    <?php $created = T3Hook::_(‘t3_date_format’, array($this->item->created, ‘cat.blog.created’));
    if (!$created) $created = JHtml::_(‘date’, $this->item->created, JText::_(‘DATE_FORMAT_LC3’)) ?>
    <?php
    $createDay = date(‘d’, strtotime($this->item->created));
    $createMonth = JText::_(strtoupper(date(‘F’, strtotime($this->item->created))).”_SHORT”);
    $createYear = date(‘Y’, strtotime($this->item->created));
    ?>
    <span class=”date”><?php echo $createDay; ?></span>
    <span class=”month-year”>
    <span class=”month”><?php echo $createMonth; ?></span>
    <span class=”year”><?php echo $createYear; ?></span>
    </span>
    </span>
    <?php endif; ?>
    </div>
    <?php endif; ?>
    <div class=”cat-date”>

    Bjørn Fahnøe

    Ninja Lead Moderator
    #505083

    Hi Bjørn,

    We are in final step of upgrading JA Social template (our QA team’re verifying it), the new version of this template will be released asap.

    The problem you mentioned regards to customization of com_content for Joomla, I’ve raised this bug to dev team here, it will be fixed and updated soon.

    Kindly wait and sorry for any inconvenience.

    Regards

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 2 months ago.

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