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
_________________ Greetings from sunny Curaçao!
|