Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Advanced iFrame in Drupal 8
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4454
Page 1 of 1

Author:  marcverkade [ 26. Oct 2017, 05:22 ]
Post subject:  Advanced iFrame in Drupal 8

Hello all,

I guess this should be in the Drupal forums but have been searching for hours now, so I thought about asking my question here...

I have AI working at several Worpdress sites buit now a customer wants to integrate my webshop into his Drupal website.
It should be possible by using the AI standalone version but I am unable to get it working.

Has anybody been able to integrate Advanced iFrame in Drupal 8?
I now I have to add this in code in php-code of the drupal page and it should be working out-of-the box:

<script src="/plugins/jquery/jquery-3.2.1.min.js"></script>
<script src="/plugins/jquery/jquery-migrate-1.4.1.min.js"></script>
<script src="/plugins/advanced-iframe/js/ai.js"></script>
<?php include 'standalone-advanced-iframe.php'; ?>

But how on earth can you add php inside a Drupal page?
I have been reading about creating modules for Drupal but this is way out of scope I guess, there has to be a simple trick that I can use?

Anybody?

regards, Marc

Author:  marcverkade [ 28. Oct 2017, 06:57 ]
Post subject:  Re: Advanced iFrame in Drupal 8

This is nearly impossible in Drupal 8...
IN Drupal 7 it can work, see my other posts...

But if somebody has created a custome module to get AIP working, please let me know, I am interested!

Author:  TinyWebGallery [ 29. Oct 2017, 16:44 ]
Post subject:  Re: Advanced iFrame in Drupal 8

But the better forum is the one from drupal how to insert php into a page...

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/