test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • jaforum Friend
    #190947

    Hi,

    Why does the Read More don’t show in the boxes?

    The articles and categories are set to show read more and I’ve added hr tags in the articles.

    Link to site

    See attached.

    Any ideas?

    Thanks


    1. readmore.zip
    phong nam Friend
    #507266

    Hi jaforum,

    You can try to go the menu item backend >> Article Options >> Select Show to Show “Read More”. And make sure the articles also contain the <hr id=”system-readmore” /> so that the Show readmore can be shown.

    jaforum Friend
    #507311

    Hi Leo,

    Thanks for your reply.

    I’ve done all that you suggested – have a look at the file I attached to my previous post 🙂

    Still doesn’t work.

    phong nam Friend
    #507313

    Hi Hi jaforum,

    I missed to mention that the read-more button is available on the Category Blog layout only, not Fixel Category blog layout. Because on the Fixel Category blog layout, each article will be displayed as a grid item on Homepage which contains the styles of different content types (image, galley, text…).

    In addition, when you enable the popup view of item on Fixel Category blog layout, the read more button will be not effective since the popup will open when clicking instead of, the link to article. As an example, here is a menu item using a Category Blog layout that you can see the read-more button: http://joomla25-templates.joomlart.com/ja_fixel/index.php/j-blog

    jaforum Friend
    #507340

    Thanks Leo,

    I’m actually using Featured Articles and not Category Blog or Fixel Category Blog.

    I understand what you saying about the popup but I’m not going to use popup on my site.

    Is there any way to add the Read More option to the boxes if I’m using Featured Article menu item?

    – Found the solution. Added this to ja_fixel/html/com_content/featured/default_item_images.php just after
    <?php echo $this->item->introtext; ?>
    :

    Add this :

    <?php if ($params->get('show_readmore') && $this->item->readmore) :
    if ($params->get('access-view')) :
    $link = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid));
    else :
    $menu = JFactory::getApplication()->getMenu();
    $active = $menu->getActive();
    $itemId = $active->id;
    $link1 = JRoute::_('index.php?option=com_users&view=login&Itemid=' . $itemId);
    $returnURL = JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid));
    $link = new JUri($link1);
    $link->setVar('return', base64_encode($returnURL));
    endif; ?>

    <p class="readmore"><a class="btn" href="<?php echo $link; ?>"> <span class="icon-chevron-right"></span>

    <?php if (!$params->get('access-view')) :
    echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE');
    elseif ($readmore = $this->item->alternative_readmore) :
    echo $readmore;
    if ($params->get('show_readmore_title', 0) != 0) :
    echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
    endif;
    elseif ($params->get('show_readmore_title', 0) == 0) :
    echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE');
    else :
    echo JText::_('COM_CONTENT_READ_MORE');
    echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit'));
    endif; ?>

    </a></p>

    <?php endif; ?>

    Genius Marketing Friend
    #511123

    How can I see the complete article?
    In your demo it is correct – after click on read more button I see whole article.

    On my site I see on Blog (with category blog setting) only first part of article before read more it is correct. But after click on read more button I see only second part of article which is behind line read more. Also when I click on home page article (from blog category) I see only second part of article without title… What is wrong in my settings?

    phong nam Friend
    #511181

    Hi sephyrka,

    It will be great if you can send me PM with the website’s credentials ? I can check out the issue and back to reply you with detailed solution.

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

This topic contains 7 replies, has 3 voices, and was last updated by  phong nam 11 years ago.

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