Support Forums

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

Your Time: Our Time:

SPPB 3 Image Content Ever-Present-Button Bug

Featured Lock Resolved Bug
The Image Content Addon has a bug. When the 'Button Text' field is left empty the button settings fields collapse. However, the button on the resulting page is still created. See the attached image to see the issue.

The solution is simple. Replace line 43 of com_sppagebuilder/addons/image_content/site.php.

Original

$button_output = '<a' . $button_attribs . ' id="btn-'. $this->addon->id .'" class="sppb-btn' . $button_classes . '">' . $button_text . '</a>';


New

if (!empty($button_text)){
$button_output = '<a' . $button_attribs . ' id="btn-'. $this->addon->id .'" class="sppb-btn' . $button_classes . '">' . $button_text . '</a>';
}


If you could change this before the next release that would be awesome!

Of course, if you don't like my method feel free to use your own.

Attachments (1)

  • image_content_button_bug.PNG
    image_content_button_bug.PNG 602.1 KB

4 Answers

paul

More than a month ago #Permalink
@daniel Are you seeing this support page with your post being stretched full width and under the staff list module ? ( in FF )

Attachments (1)

  • JS_supportpage_displayerror.jpg
    JS_supportpage_displayerror.jpg 163.3 KB

Daniel

More than a month ago #Permalink
@daniel Are you seeing this support page with your post being stretched full width and under the staff list module ? ( in FF )


Yes. I am. This is not uncommon on the JoomShaper site.

If I managed the site I would set the <pre> html tag css to include:

#ed pre {
overflow: scroll;
max-width: 708px;
}


That should fix it :)

hbmprenscia

More than a month ago #Permalink
Has this been addressed? I came here for the same issue.

Daniel

More than a month ago #Permalink
Has this been addressed? I came here for the same issue.


Unfortunately, it has not been fixed as of Page Builder 3.0.4.

Paul Frankowski may try to make sure this gets addressed in 3.0.5.

You can fix the issue temporarily with the code in the first post.


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 202
Toufiq

Toufiq

Total Accepted Answers: 71
Sifat

Sifat

Total Accepted Answers: 68
Pavel

Pavel

Total Accepted Answers: 9
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 7

100+

Templates

200,000+

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