Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • rkdesign11 Friend
    #165486

    I’m using JA Events template and I want to incorporate the attractive ‘Date’ feature that works on the homepage into a ‘Category Blog’ format. Any ideas? Thanks.

    Sherlock Friend
    #397810

    Hi ,
    I only can let you know where to learn to do it
    Please go to templatesja_eventshtmlcom_contentfrontpage folder, open default_item.php file, check code from line 111 to line 136
    <blockquote><?php if($this->item->event->beforeDisplayContent): ?>
    <div class=”ja-before-content”>
    <div class=”ja-before-inner clearfix”>

    <div class=”ja-social-toolbox-small”>
    <div class=”inner clearfix”>
    <?php
    if ($this->params->get(‘show_create_date’)) :
    $createDay = date(‘d’, strtotime( $this->item->created));
    $createMonth = date(‘M’, strtotime( $this->item->created));
    $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>
    <?php endif; ?>
    <?php echo $this->item->event->afterDisplayTitle; ?>
    </div>
    </div>

    <?php echo $this->item->event->beforeDisplayContent; ?>
    </div>
    </div>
    <?php endif; ?></blockquote>
    This code makes “Date ” feature for Front page content
    If you want to make for category blog, you have to edit blog_item.php file in templatesja_eventshtmlcom_contentcategory folder
    You also have to add some css, you should install Firebug addon of Firefox, it will help you so much.

    Hope you can do well, it needs at least some hours working, that why I can’t explain detail how to edit blog_item.php file.
    Regards

    rkdesign11 Friend
    #398154

    Thanks for your help, but it’s a little dissappointing that this is so complicated, too complicated for me. Why would such a nice feature be created just for the home page!? Anyway, thanks for your swift response.

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

This topic contains 3 replies, has 2 voices, and was last updated by  rkdesign11 13 years, 5 months ago.

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