Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Memotas Friend
    #187800

    How to add date for Ja Events?


    1. events
    Ninja Lead Moderator
    #494273

    You can follow my suggestion:

    + Open templates/ja_events/blocks/header.php file
    from

    <?php
    // no direct access
    defined ( '_JEXEC' ) or die ( 'Restricted access' );

    /*
    # ------------------------------------------------------------------------
    # JA T3 System plugin for Joomla 1.6
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.com - http://www.joomlancers.com
    # ------------------------------------------------------------------------
    */
    ?>
    <?php

    change to
    <?php
    // no direct access
    defined ( ‘_JEXEC’ ) or die ( ‘Restricted access’ );

    /*
    # ————————————————————————
    # JA T3 System plugin for Joomla 1.6
    # ————————————————————————
    # Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
    # @license – GNU/GPL, http://www.gnu.org/licenses/gpl.html
    # Author: J.O.O.M Solutions Co., Ltd
    # Websites: http://www.joomlart.comhttp://www.joomlancers.com
    # ————————————————————————
    */
    ?>

    <div class="date_custom">
    <?php
    //echo "<span class="day">".JText::_(strtoupper(date ('D')))."</span>";
    echo "<span>".date ('d')." </span>";
    echo "<span>".date ('M')." </span>";
    echo "<span>".date ('Y')." </span>";
    ?>
    </div>
    <?php

    + Open templates/ja_events/css/template.css file

    add new below script


    .date_custom {
    position: relative;
    bottom: 12px;
    background: black;
    width: 80px;
    padding-left: 10px;
    color: white;
    }

    Remember to clear cache from Admin area after changing

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 5 months ago.

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