We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19.

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

Your Time: Our Time:

SPPB Module content not being output

Featured Lock Resolved Bug
I've created a module using mod_sppagebuilder and have added content into it (simple two columns with text addon on left and button on right) and can see/edit my content fine via the module manager.

On the site itself, however, the SPPB content doesn't seem to be getting output at all, with just some wrapper content and nothing within:


<div class="mod-sppagebuilder newsletter sp-page-builder" data-module_id="347">
<div class="page-content">
<p></p>
</div>
</div>


Do you know if this might be a bug related to the move towards frontend module editing?

1 Answers

Simon Logan

More than a month ago #Permalink
Self-resolved!

Noticed that there was an override of default.php in my template directory for mod_sppagebuilder and this


<?php echo AddonParser::viewAddons(json_decode($data), true, 'module' );?>


needed changed to

<?php echo AddonParser::viewAddons(json_decode($data), true, 'module' );?>


Which I presume is to do with the adjustments towards frontend editing. Once I'd made this code adjustment to the override the module displayed as expected.


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

126

Templates

333542

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