In the options of that menu item the intro text cannot be presented up tot the "readmore". There is only the possibility to cut the text after x characters. Then an ellipse (…) is added below the paragraph, instead of directly after the cut text. This is completely different to the "normal" display of articles in Joomla! showing the complete intro text separated by the readmore link. This different behaviour is irritating for the visitors.
I would like to have a consistent presentation of the content, also when it's archived. Please give archived articles the readmore link back,
Thx!
Labels |
Added:
?
|
Category | ⇒ | com_content |
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Information Required |
This depends on the template, if you have a custom template it should be fixed there, if its the core template we should fix it.
it is a core issue
@brianteeman could you make a PR?
its a big change that would be a b/c break
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-03-04 19:31:11 |
Closed_By | ⇒ | HLeithner |
it is not a template issue!!!!!! Have you never built a web site with Joomla
never used archive no sorry
Clearly
It took me 20 minutes to figure out how to fix it with a template override.
make a copy of this template file: components/com_content/views/archive/tmpl/default_items.php
Modify line 132 from:
<div class="intro" itemprop="articleBody"> <?php echo JHtml::_('string.truncateComplex', $item->introtext, $params->get('introtext_limit')); ?> </div>
to
<?php echo $item->introtext; ?>
<?php echo JLayoutHelper::render('joomla.content.readmore', array('item' => $item, 'params' => $params, 'link' => $link)); ?>
that would be enough to achieve the layout the opener wants, maybe some settings have to be set in the parameter so the readmore buttons looks the same.
So yes I already build a joomla website.
Just a friendly reminder to be kind on Github. There is no need to be rude.
Thanks.
@HLeithner can you please comment?