PHP code example of diversworld / contao-diversworld-theme-bundle

1. Go to this page and download the library: Download diversworld/contao-diversworld-theme-bundle 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/ */

    

diversworld / contao-diversworld-theme-bundle example snippets


// In src/EventListener/LayoutEventListener.php
$GLOBALS['TL_CSS'][] = 'bundles/contaodiversworldtheme/css/diversworld.css|static';
bash
php bin/console contao:migrate --with-deletes