-
AuthorPosts
-
Adam M Moderator
Adam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
May 13, 2015 at 8:39 am #570421Hi @sbbritt,
1. First is the readmore button, please make sure that in file languageen-GBen-GB.mod_janews_featured.ini, there’s a translation text as below :
JAFP_READ_MORE="Read more..."
2. Next is about the date in article detail page, please open file root_foldertemplatesja_teline_ivhtmlcom_conten tarticledefault.php and look for this code :
<dd class="create ja-blog-date">
<div class="inner clearfix">
<?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">
<strong><?php echo $createMonth; ?></strong>
<strong><?php echo $createYear; ?></strong>
</span>
<?php echo $this->item->event->beforeDisplayContent; ?>
</div>
</dd>then update as below :
<dd class="created">
<?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));
?>
<?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON', ''); ?>
<span><?php echo $createDay; ?> <?php echo $createMonth; ?> <?php echo $createYear; ?></span>
</dd>Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
May 13, 2015 at 8:39 am #735487Hi @sbbritt,
1. First is the readmore button, please make sure that in file languageen-GBen-GB.mod_janews_featured.ini, there’s a translation text as below :
JAFP_READ_MORE="Read more..."
2. Next is about the date in article detail page, please open file root_foldertemplatesja_teline_ivhtmlcom_conten tarticledefault.php and look for this code :
<dd class="create ja-blog-date">
<div class="inner clearfix">
<?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">
<strong><?php echo $createMonth; ?></strong>
<strong><?php echo $createYear; ?></strong>
</span>
<?php echo $this->item->event->beforeDisplayContent; ?>
</div>
</dd>then update as below :
<dd class="created">
<?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));
?>
<?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON', ''); ?>
<span><?php echo $createDay; ?> <?php echo $createMonth; ?> <?php echo $createYear; ?></span>
</dd>May 27, 2015 at 12:27 am #571873The “Read More” fix worked but the “date created” on the articles are still showing the “date last modified.”
May 27, 2015 at 12:27 am #736918The “Read More” fix worked but the “date created” on the articles are still showing the “date last modified.”
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
-
AuthorPosts
This topic contains 20 replies, has 3 voices, and was last updated by sbbritt 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum