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

    like the title suggests the date is not showing in the ja_social box in the category blog on the home page. please see screenshot.


    1. Screen-Shot-2012-04-21-at-5.33.11-PM
    khoand Friend
    #449487

    By defaule, there is only created date is showed in the box. So you turn show_created_date on to achieve your purpose.
    If you want to show published date in the box, you must modify php code

    yoda_oz Friend
    #449488

    i enabled show_created_date and it still doesn’t work…

    khoand Friend
    #449568

    It’s weird. Could you give me username+password of your backend and ftp? I will check it

    khoand Friend
    #449573

    – 19-Apr is created date of article.
    – In demo site, you see created date in the box, because demo site set type of Home menu is featured.
    – Your site use type of Home menu is category, and default category layout doesn’t put created date into the box. If you want to created date in the box, you do following steps:
    + you remove the code from /templates/ja_events/html/com_content/category/blog_item.php


    <?php if ($params->get('show_create_date')) : ?>
    <dd class="create">
    <?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"><?php echo $createMonth; ?></span>
    </dd>
    <?php endif; ?>

    + you add the code into /templates/ja_events/html/com_content/category/blog_item.php


    <div class="ja-social-toolbox-small">
    <div class="inner clearfix">
    <?php
    if ($params->get('show_create_date')) :
    $createDay = date('d', strtotime($this->item->created));
    $createMonth = JText::_(strtoupper(date('F', strtotime($this->item->created)))."_SHORT");
    $createYear = date('Y', strtotime($this->item->created));
    ?>
    <div class="articleCreated">
    <span class="date"><?php echo $createDay; ?></span>
    <span class="month"><?php echo $createMonth; ?></span>
    <span class="year"><?php echo $createYear; ?></span>
    </div>

    before

    <?php echo $this->item->event->beforeDisplayContent; ?>

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  khoand 12 years, 8 months ago.

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