Custom fields doesn't load after J4.4.10 to J5.2.3 upgrade - Forum | JoomShaper
Solved SP Page Builder

Custom fields doesn't load after J4.4.10 to J5.2.3 upgrade

Asked by Jeroen 1 year ago Last activity 1 year ago

Hello,

I upgraded from Joomla 4.4.10 to Joomla 5.2.3 and now the Joomla Content fields are no longer loaded in SP Page Builder pages. Before the upgrade to Joomla 5 it worked fine and you could load the value of field 1 with {field 1} for example.
The loading does work in standard Joomla articles. It also works to load the field above or below an SP Page Builder page (when set in the field). But not in a SP Page Builder page with a 'Text Block' or 'Raw HTML' addon.
As said. Previously under Joomla 4.4.10 it worked fine.
I use SP Helix Ultimate 2.1.1 and SP Page Builder 5.4.6 Pro.

Has something changed that makes it no longer work under Joomla 5?

Jeroen

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

Super, I say that I've also thought about this, precisely the order in which plugins are loaded in Joomla. Sometimes it does make a difference.

4 more replies

Jeroen Asked this

Hello Toufiq,

I had already tried the classic method with the Joomla Custom module > 'Prepare Centent' to 'Yes' but it didn't work. I tried it again but it didn't work the second time either.

So I tried the ZIP file. In SP Page Builder I could then use the 'Shortcodes' addon but it didn't work then either.

Could it be the order of plugins in the plugin manager?
Or something else?

Best regards,
Jeroen

Paul Frankowski Senior Staff

Hi,

to be honest, as you know the same component code is used in both Joomla 4 and Joomla 5, there is no difference between them. Changes are inside Joomla core only.

I saw that you tried J! Custom module so far, but have you tried that in Template position, not inside SPPB. Please do it. Just publish using Helix position "content-bottom" for example.
If still will not work, this problem is beyond us, we have no influence on how it works. So is suggested to ask at forum.joomla.org.

Jeroen Asked this

Hi,

Some solutions are as simple as discovering the problem.
After comparing it with another website, it turned out to be related to the order of the plugins.

If others encounter this problem, here is the solution:
It would have saved me a lot of time.
It is necessary to order the plugins 'SP Page Builder - Load Modules' and 'Content - SP Page Builder' before the plugin 'Content - Fields' in 'System' > 'Manage' > 'Plugins'.

In my website I do not need the Joomla Custom module with 'Prepare Content' or the files in the ZIP file.
Just like before under Joomla 4, the shortcode {field 1} works in a 'Text Block'.

Best regards,
Jeroen

Log in to reply.