Hello
but what is the sense of just "Yes"? I want a readmore without cutting HTML tags.
*******************
Answer:
*******************
-- Read-More is shown
1.
always if you have "
fulltext"
(
fulltext is text after a "READ MORE" HTML editor separator)
2. or, if you do not have fulltext but the
introtext is strip of HTML and cut to a maximum length, that is why strip and cut forces the readmore
*******************
Conclusion:
*******************
Read more IS NOT SHOWN if --both--:
-- you do not cut/strip the introtext
-- AND fulltext is empty
*****************
just a NOTE:
*****************
-- if you do not STRIP-TAGS, it is problematic to cut the text, aka you cannot limit the text shown
*******************
Now, your case ...
*******************
... indeed you cannot force the read-more ...
... but the above of showing read-more if FULLTEXT EXITS is problematic logic because we have other fields that we want show, or JUST show the image in full size, etc, so indeed our current logic is not so good,
indeed maybe we always need the readmore in FLEXIcontent, ... or we need an extra option ..
-- the above logic was copied FROM J1.5/J2.5/J3.x,
-- we should change it too,
will commit a change/fix with an extra option
for your custom template DO:
please edit:
category_items(_html5).php
replace:
$readmore_shown = $this->params->get('show_readmore', 1) && strlen(trim($item->fulltext)) >= 1;
with:
$readmore_shown = $this->params->get('show_readmore', 1);