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

    How do I change the date that appears on my articles from “date last modified” to “date created”?

    pavit Moderator
    #569667

    Hi

    Go to Article Manager > Options button at top right > Articles Tab > and change settings as showed


    1. Screenshot_4
    sbbritt Friend
    #571925

    Didn’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


    1. Screenshot-2015-05-26-16.02.23
    pavit Moderator
    #572321

    Hi

    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


    1. Screenshot_4
    pavit Moderator
    #737358

    Hi

    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

Viewing 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