Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • Adam M Moderator
    #570421

    Hi @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 Moderator
    #735487

    Hi @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>

    sbbritt Friend
    #571873

    The “Read More” fix worked but the “date created” on the articles are still showing the “date last modified.”

    sbbritt Friend
    #736918

    The “Read More” fix worked but the “date created” on the articles are still showing the “date last modified.”

    Adam M Moderator
    #571958

    Hi @sbbritt,

    I checked your site but see that it works fine, for example in article Former Chief of Staff, Deputy AG, Investigator, Part of Web in Hubbard Case, the published date is Tuesday, 26 May 2015 07:05 and the modified date is 2015-05-26 12:06:31.

Viewing 5 posts - 16 through 20 (of 20 total)

This topic contains 20 replies, has 3 voices, and was last updated by  sbbritt 9 years, 5 months ago.

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