1

I tried several plugins and no one was able to load (inside the popup) the web page I wanted i.e. http://www.nicovon.joomlafree.it/sala_camino.html

this testing site is, instead, the site where I'm doing these tests. by clicking on the link at the bottom (Click on me!) or by clicking on the first photo, should open (inside a popup), the web page that I wrote in the link above.

Update. the pop-up appears to be widening to the correct size, it does not close, but is white.

  • Rather than trying to load the web page, perhaps try copying the html from that page into one of the plugins that you have tried. It's hard to give you any more advice than that based on the information you have provided. For example, extensions.joomla.org/extension/simple-pop-up would allow you to put the html into a module then load it in the popup. Alternatively you could put the html into an article and load it that way. I can't vouch for this plugin by the way. It was simply the first one I found. – TryHarder Mar 2 '17 at 23:08
  • this thing is very interesting!. Thank you so much. right now I'm using the "modals" plugin made by regular labs. it is much easier to use than what you have recommended to me, however, it provides a free version or a pro version. I'm using the free version and I do not know if I can do with the free version. – nicovon Mar 3 '17 at 10:03
0

there seems to be more than 1 problem with your example page. 1. you specify the href of the popup link as /www.etc but you want //www.etc 2. the pano2yr player js fails to load even if you fix the href. You can see that in your console.

| improve this answer | |
  • I modified the code this way: {modal url="phocapanorama/output/sala_camino.html"}Click on me!{/modal}. Now a popup opens but is blank, and continues to load endlessly. – nicovon Mar 3 '17 at 9:42
  • why js script fails to load? How can I see logs? – nicovon Mar 3 '17 at 22:13
  • Ok. You need to focus on the difference between absolute and relative links. Your js fails to load because you are calling like this: <script type="text/javascript" src="pano2vr_player.js"> and then embedding that page on a different page using the modal box so that js attempts to load from nicovon.joomlafree.it/pano2vr_player.js which just 404s. Either switch your modal box to use an iframe or change the src attribute in the js call to be absolute. To see errors open the devtools panel in chrome and you will see the error. – jamesgarrett Mar 4 '17 at 1:23
  • thank you! good advice! the console is very useful! I changed the path of pano2vr_player.js and skin.js, but now I am faced with another error: GET http://www.nicovon.joomlafree.it/images/autorotate.svg 404 (View not found [name, type, prefix]: category, svg, contentView). This means I have to change the skin.js file like this: this._up__img.setAttribute ('src', basePath + 'phocapanorama/output/images/up.svg'); instead of this._up__img.setAttribute ('src', basePath + 'images/up.svg'); I made this change to all svg I found in the file, but the same error continues to occur. – nicovon Mar 4 '17 at 9:03
  • all resolved. evidently the changes to the file had not yet been updated. next time I will not use the "ProFiles" editor. back to the main problem, the console does not show significant errors: [.CommandBufferContext]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering. and as you can see, the pop-up closes and opens a blank page. absurd! – nicovon Mar 4 '17 at 10:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.