Tazzios / pdfviewer

joomla content plugin for pdf files
GNU General Public License v3.0
11 stars 4 forks source link

Pop-up not working? #16

Closed ptrouw closed 1 year ago

ptrouw commented 2 years ago

Hi, embed pdf is working great. But the modal pop-up doesn't show anything. I tried to set it in the plug-in and as an additional variable in the article. With debug also no additional information. Using J3.10. Any ideas? Do I have to do anything concerning the modal pop-up?

Tazzios commented 2 years ago

Weird, does Joomla debug shows an error?

ptrouw commented 2 years ago

Unfortunately no error. I have tried it on 2 different Joomla site. The debug form the plug-in, shows this line: array(1) { ["file"]=> string(35) "/images/bpt/laatste-nieuws/test.pdf" }

ptrouw commented 2 years ago

btw the debug string is the same if I use embed PDF. No errors on the console. This is the HTML code, but not showing! image

ptrouw commented 2 years ago

If I remove the class="modal", all is fine. Is it a bootstrap thing! image

Tazzios commented 2 years ago

Do you have other extensions installed that could create the bootstrap problem? Maybe bootstrap is loaded multiple times.

ptrouw commented 2 years ago

I don't think so. Perhaps because the template uses "old" BS 3