Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

After updating SPPB to 3.6.2 the images from the article preview disappeared.

Featured Lock Resolved Bug
In the home you can only see the text of the article, but before the text there was the photo as you can see by opening the article.

https://www.aspergerway.com/

10 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
I didn't understand the choice to delete the html tags.

It was explained in blog post, to reduce users problems.
---
PHP help is beyond support
---
I told you to make addon override, I guess you didn't understand my first tip.
Put your modified or old (site.php) file here
templates\shaper_helixultimate\sppagebuilder\addons\articles\
(Yes, create missing folders)

so SPPB nor Helix update will not touch it

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
yes, it's because you added images code inside intro text, and the last update clean intro text from all HTML code.

You have two alternative ways to solve it quick:

1) Add intro images using tab "Helix Blog Options" inside those Articles
OR
2) Override Article addon using older version of SPPB
From 3.6.1 or your website backup
take this folder with file
components\com_sppagebuilder\addons\articles\site.php
and copy here:
templates\shaper_helixultimate\sppagebuilder\addons\articles\site.php

Asperger Way

More than a month ago #Permalink
This folder does not exist:
templates shaper_helixultimate pagebuilder addons articles home.php

I copied the site.php file of version 3.6.1 into the folder:
components \ com_sppagebuilder \ addons
And now it works.

I noticed that from version 3.6.1 to 3.6.2 only part of the string changes 186:

whitout images
$ output. = '<div class = "sppb-article-introtext">'. mb_substr (strip_tags ($ item-> introtext), 0, $ intro_limit, 'UTF-8') .'... </div> ';

whit images
$ output. = '<div class = "sppb-article-introtext">'. mb_substr ($ item-> introtext, 0, $ intro_limit, 'UTF-8') .'... </div> ';

But in the future I will always be able to overwrite the file, or if the dispositions of the lines of code change, I am only looking for the line that interests me and adding "(strip_tags" and ";)" after introtext?


I didn't understand the choice to delete the html tags.
Perhaps it is better to dare possinility with a function of the addon.

Now with every update I have to hope to be able to modify the site.php file to have everything as before.

Asperger Way

More than a month ago #Permalink
correct:

"(strip_tags" and ";)" after introtext?

Asperger Way

More than a month ago #Permalink
Sorry, but the system insert a smile

Asperger Way

More than a month ago #Permalink
"(strip_tags" and ) after introtext?

Asperger Way

More than a month ago #Permalink
OK!
Many thanks!
Override created!
I've never had problems with broken introtext. So that's okay.

I just wonder in the future if ever other features of the file will change, then I won't see them, cause override.

Is it better to change the code each time?
That's not a problem for me.

Paul Frankowski - Staff

More than a month ago #Permalink
we can consider to add option to add HTML filter on/off

Asperger Way

More than a month ago #Permalink
Ok, many thanks!


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 119
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 70
Toufiq

Toufiq

Total Accepted Answers: 66
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 39
Ofi Khan

Ofi Khan

Total Accepted Answers: 39

121

Templates

315591

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us