-
AuthorPosts
-
bfahnoe Friend
bfahnoe
- Join date:
- October 2006
- Posts:
- 80
- Downloads:
- 38
- Uploads:
- 2
- Thanks:
- 7
- Thanked:
- 7 times in 1 posts
September 8, 2013 at 7:49 am #190383The 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
September 9, 2013 at 10:09 am #505083Hi 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
-
AuthorPosts
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