IP Login

Modals not available in mobile device (Joomla 3.6.5)

10 months 3 weeks ago #77474

fion's Avatar fion

Dear Sirs,

Refer to below link, we can click the image besides the download button to open Modal and show a 2 pages pdf file

www.aasfp.hk/index.php/en/certificate-pr.../ws-esfp-2018-detail

However by iphone or samsung mobile (IOS and android devices)

aasfp.hk > Cert + Program > workshops
and select below product
aasfp.hk/images/error_img/Screen-Shot-20...1-19-at-21.59.07.png

and press the image modals beside the download button
aasfp.hk/images/error_img/Screen-Shot-20...1-19-at-22.06.31.png

you will find that the pdf file cannot be seen in mobile device

Please helps

Thanks
Fion

10 months 3 weeks ago #77475

Peter van Westen's Avatar Peter van Westen Admin

How browser/devices deal with links to pdf files is down to those browsers/devices and the installed apps.
This is outside the control of Modals.

If you want to force-display pdfs, you will need to install some Joomla pdf component and link to that instead of the pdf itself.

10 months 2 weeks ago #77487

fion's Avatar fion

Dear Sirs

refer to this link www.demo2.ari-soft.com/joomla-documents-viewer.html?_

once install the ari doc viewer , I have to insert the files like below format

{aridoc engine="google" width="600" height="300"} www.domain.com/docs/doc1.pdf{/aridoc }

Therefore can I also apply modals , sth like

{modal} {aridoc engine="google" width="600" height="300"} www.domain.com/docs/doc1.pdf{/aridoc } click here {/modal}
or

{modal url="{aridoc engine="google" width="600" height="300"} www.domain.com/docs/doc1.pdf{/aridoc }"} click here {/modal}

Thanks

Fion

10 months 2 weeks ago #77490

Peter van Westen's Avatar Peter van Westen Admin

No, that won't work. As both plugin produce a complete link and not a url.
See if the aridoc tag creates a link with a specific classname. Then you can set Modals up to handle li is by that classname.