PHP code example of msenkpiel / kirby-iframe
1. Go to this page and download the library: Download msenkpiel/kirby-iframe library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
msenkpiel / kirby-iframe example snippets
// site/config/config.php
return [
'msenkpiel.iframe' => [
// panel navigation settings
'label' => 'Navigation Label',
'icon' => 'box',
// panel frame title
'title' => 'Frame title',
// iframe url
'url' => '',
// iframe height based on container width
'breakpoints' => [
0 => 500, // mobile
992 => 3000 // desktop
]
]
]