PHP code example of khvt / admin-theme-manager

1. Go to this page and download the library: Download khvt/admin-theme-manager 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/ */

    

khvt / admin-theme-manager example snippets



$themeParameter = [
    'id'          => 'admin_child',
    'title'       => 'Oxid Child Admin',
    'description' => 'This is OXID eShop\'s inofficial admin theme.',
    'thumbnail'   => 'theme.png',
    'version'     => '1',
    'parentTheme' => 'admin',
    'author'      => '<a href="http://www.oxid-esales.com" title="OXID eSales AG">OXID eSales AG</a>',
    'parentVersions' => array('1'),
    'settings'       => array(
        array(
            'group' => 'images',
            'name'  => 'aDetailImageSizes',
            'type'  => 'aarr',
            'value' => array(
                'oxpic1'  => '540*340',
                'oxpic2'  => '540*340',
                'oxpic3'  => '540*340',
                'oxpic4'  => '540*340',
                'oxpic5'  => '540*340',
                'oxpic6'  => '540*340',
                'oxpic7'  => '540*340',
                'oxpic8'  => '540*340',
                'oxpic9'  => '540*340',
                'oxpic10' => '540*340',
                'oxpic11' => '540*340',
                'oxpic12' => '540*340',
            ),
        ),
    ),
];