-
AuthorPosts
-
jaforum Friend
jaforum
- Join date:
- January 2012
- Posts:
- 17
- Downloads:
- 0
- Uploads:
- 7
- Thanked:
- 2 times in 1 posts
September 26, 2013 at 1:13 pm #190947Hi,
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.
See attached.
Any ideas?
Thanks
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
September 27, 2013 at 7:07 am #507266Hi 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 Friendjaforum
- Join date:
- January 2012
- Posts:
- 17
- Downloads:
- 0
- Uploads:
- 7
- Thanked:
- 2 times in 1 posts
September 27, 2013 at 12:58 pm #507311Hi 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 Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
September 27, 2013 at 1:12 pm #507313Hi 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 Friendjaforum
- Join date:
- January 2012
- Posts:
- 17
- Downloads:
- 0
- Uploads:
- 7
- Thanked:
- 2 times in 1 posts
September 27, 2013 at 3:22 pm #507340Thanks 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; ?>
1 user says Thank You to jaforum for this useful post
Genius Marketing FriendGenius Marketing
- Join date:
- November 2011
- Posts:
- 28
- Downloads:
- 236
- Uploads:
- 14
- Thanks:
- 17
November 4, 2013 at 9:32 am #511123How 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 Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 5, 2013 at 1:56 am #511181Hi 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.
-
AuthorPosts
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