eworkers / K2ForJ4

GNU General Public License v2.0
11 stars 6 forks source link

itemFullText render without html tags on item view #54

Closed bossies closed 6 months ago

bossies commented 7 months ago

I am still ising J3 on my live site and have done an backup/upgrade to a test environment for J4, so all my settings/content as it was on J3. When I open an item, the text just display in one paragraf - the same as when you open the category/tag view. In my settings of K2, I do not clean content so the html tags are still there.

What I managed to stumble on is that when I add a read-more link, the content renders correctly with the text above the read-more as the intro text in bold, and the text below the read-more link all good in html tags like p, ul and li.

Problem is that If I want my item view to look correct with html tags, I need to add a read-more link, but because I do not have much text, I have to put the read-more link right at the top. That is then fine with the item view, but then there is no "intro text" and when you view in category/tag view, this is nothing because there is no "intro text"

Live site example: https://www.agrifarms.co.za/cape-metropole/philippi/agf0539 same item on J4 test site https://agrifarms.co.za/_24/cape-metropole/philippi/agf0539

eworkers commented 7 months ago

did you check your k2 configuration for Content cleanup (within the site tab)?

bossies commented 7 months ago

yes, all good, as I said, it an upgrade so the settings are the same as on J3 when it worked. Also as I mentioned if I add the read-more, all the tags are there and it displayes correctly - so the content is not cleaned up. If feel it must be something to do how the template renders the introtext and the fulltext - the introtext is always cleaned up and the fulltext is not. I have tried to changed the template but I am no coder :)

eworkers commented 7 months ago

what happens if you disable content cleanup for both intro and fulltext? does the issue remain? did you try to resave k2 config after upgrade?

eworkers commented 6 months ago

closing due to inactivity