Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • jsprague Friend
    #156137

    Hello! I’m thinking of renewing my membership so I can use the JA Social template.

    Before I do, can someone tell me if it is possible to have the K2 Blog section show the read more button next to the comment button as it is in the front page view?

    If yes, and someone here can help me then I will renew.

    thanks!

    Khanh Le Moderator
    #363675

    K2 have option to show the Readmore button. In this case, open to edit K2 category “My Blog”, and choose to show Readmore link in parameter group “Item view options in category listings”.

    To make the “Read more” button lies on the same line with Comment link, you should open file “templatesja_socialhtmlcom_k2templatesja_social_blogcategory_item.php”, search the code show read more button:
    [php]
    <?php if ($this->item->params->get(‘catItemReadMore’)): ?>
    <!– Item “read more…” link –>
    <p class=”readmore”>
    <a href=”<?php echo $this->item->link; ?>”>
    <?php echo JText::_(‘Read more…’); ?>
    </a>
    </p>
    <?php endif; ?>
    [/php]

    Move this block of code to bellow the line show blog content
    [php]
    <!– Item introtext –>
    <div class=”catItemIntroText clearfix”>
    <?php echo $this->item->introtext; ?>

    <?php if ($this->item->params->get(‘catItemReadMore’)): ?>
    <!– Item “read more…” link –>
    <p class=”readmore”>
    <a href=”<?php echo $this->item->link; ?>”>
    <?php echo JText::_(‘Read more…’); ?>
    </a>
    </p>
    <?php endif; ?>

    </div>
    <?php endif; ?>
    [/php]

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

This topic contains 2 replies, has 2 voices, and was last updated by  Khanh Le 14 years ago.

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