-
AuthorPosts
-
May 5, 2015 at 4:32 pm #206108
How do I change the date that appears on my articles from “date last modified” to “date created”?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 6, 2015 at 5:20 pm #569667Hi
Go to Article Manager > Options button at top right > Articles Tab > and change settings as showed
May 27, 2015 at 4:25 am #571925Didn’t work see attachment. Date should read Friday, 22 May 2015
Have also tried Adam’s suggestion:
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 :
Code:
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 :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 :Code:
<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>
Best regards,Adam M
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 29, 2015 at 4:17 pm #572321Hi
You should first update your JA_News_Pro Module to the latest version released
P.S.
First to make any change take always a website backup
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 29, 2015 at 4:17 pm #737358Hi
You should first update your JA_News_Pro Module to the latest version released
P.S.
First to make any change take always a website backup
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by pavit 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum