How To Display Article In SPPB Page? - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

How To Display Article In SPPB Page?

MD

Martin Dusil

SP Page Builder 3 years ago

Hi. Is possible to display "classic" article within the SPPB page? With its formating, images,... Not only intro text. Thank you.

0
11 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #53675

Hi Martin,

In general no, Joomla doesn't allow (by default) to display the component inside a different component. And as we know, Articles and SPPB are both components.

But there are hacks like: Components Anywhere (RegularLabs) that in theory you can use inside Custom Module (with enabled Prepare Content: Yes) and then inside Module addon, it may work. But it's task for you, if you have time to play.

Of course there are other ways, but all depends what is your goal.

0
Pavel
Pavel
Accepted Answer
3 years ago #53679

Hi Martin. If you take an old Article Addon in which there was no cleaning of formatting and limit of characters, then it is possible in SP PB only, using unique tag.

I have long suggested to make a button that would turn off the cleaning of formatting and limit of characters. But unfortunately, the Joomshaper team did not pay attention to it.

0
MD
Martin Dusil
Accepted Answer
3 years ago #53836

Hi Paul. Thank you for your support. I will try Components Anywhere (RegularLabs), but I must wait for compatibility with Joomla 4 (if it will be).

Hi Pavel. Thank you for the tip. Which version of SPPB was this add-on in? Is this add-on compatible with the latest SPPB and J4?

0
Pavel
Pavel
Accepted Answer
3 years ago #53905

Hi Martin. Yes it is compatible. My screenshots is from J4. I do not remember in which version was this addon. If the Joomshaper team kindly will give permission to it, I can share the file here.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #53910

@Pavel

You have to upload somewhere and share link, I cannot give you extra permissions even I would like to.

0
MD
Martin Dusil
Accepted Answer
3 years ago #53911

@Pavel I have Articles add-on in SPPB. But it cleans formating.

0
Pavel
Pavel
Accepted Answer
3 years ago #53990

Hi Martin. Here is. https://www.dropbox.com/s/dt0e0uvoyx2keot/articles_format.zip?dl=0

Unpack it in /templates/YOUR_TEMPLATE/sppagebuilder/addons. Then you can find it in the bottom of addons list. It has light-blue icon color.

Hi Paul. I meant permission to the fact of publication.

0
MD
Martin Dusil
Accepted Answer
3 years ago #53995

Thank you Pavel. I'll try it.

0
MD
Martin Dusil
Accepted Answer
3 years ago #56319

Thank you Pavel. The addon seems to be working perfectly. Paul - why this addon is not in the current SPPB? I think it's a great and useful addon.

0
Pavel
Pavel
Accepted Answer
3 years ago #56334

Hi . It was current. But many not experienced users faced with problems when "read more" breaks layout because of not clear formating. Joomshaper team made fix by adding clearing of formating.

So in this form, the addon can only be used by experienced users.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #56357

Indeed, it's how it was.

Thx Pavel

0