Show PDF Embedded - Question | JoomShaper

Show PDF Embedded

J

Jim

SP Page Builder 2 months ago

HI, with Joomla Core you can simply go to Media, search for your PDF file an embed that file. with the image browser from sp pagebuilder thats not possible. would be nice if there is a way to embed files just like in core component.

in the image browser i dont even see the pdf files. can i activate that feature? or is it just not possible via sp pagebuilder?

0
11 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 months ago #160241

Hi JIm,

it should be possible, but you have to in "Media Manager" > click "Folders" > and you can see all pdf files uploaded also from Joomla Media.

info_2817_2024.jpg

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 months ago #160243

To show PDF as preview file inside SPPB Page - you have to use Raw HTML addon with simple HTML code inside. Example code for "file.pdf":

  <object data="/images/file.pdf" type="application/pdf" width="100%" height="500px">
      <p>Unable to display PDF file. <a href="/images/file.pdf">Download</a> instead.</p>
    </object>

HTML Guide: https://www.w3docs.com/snippets/html/how-to-embed-pdf-in-html.html


How it will look after using it in preview mode

info_2818_2024.jpg

I assume it's what you needed thinking/talking about "embed pdf file(s)"

0
J
Jim
Accepted Answer
2 months ago #160247

yes thats what i need. so in sppb text-editor - via media - its not possible? there i cant see my pdf files... the sppb blocks the core media embed? for pdf files?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 months ago #160248

If you have JCE Pro editor all that is possible just from toolbar!

But you have to switch to System Editor view first.

0
J
Jim
Accepted Answer
2 months ago #160249

ok i have just the jce basic. but why does the sppb image manager block this core feature?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 months ago #160250

Here is screenshot from my demo site to show you how it may works (in just 3 clicks)

info_2820_2024.jpg

info_2819_2024.jpg

0
J
Jim
Accepted Answer
2 months ago #160253

ok

0
J
Jim
Accepted Answer
2 months ago #160254

tried other editor.. both... doesnt work properly

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 months ago #160259

Codemirror is for HTML mode, not for typical text. For those you have RAw HTML addon.

TinyMCE should work, withoout details hard to say more.

0
J
Jim
Accepted Answer
2 months ago #160262

screenshot

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 months ago #160264

We will check deeply next week after developers will back after Eid Ul Adha event.

Right now simple trick helps, scroll down and up.

0