Git Product home page Git Product logo

admin-theme-manager's Introduction

admin-theme-manager

Oxid eShop Admin Theme Manager for Oxid eShop V6

This repository contains a Oxid Eshop module to manage admin themes. The admin theme management base on shop theme management.

functions

  • new admin menu item to manage admin themes
  • extends shop classes:
    • \OxidEsales\Eshop\Core\Config
    • \OxidEsales\Eshop\Core\Language
    • \OxidEsales\Eshop\Application\Controller\Admin\NavigationTree
  • de/activate stand-alone admin themes
  • managing child themes

how to install

composer require khvt/admin-theme-manager

how to create a admin theme

  1. create the theme folder in source/Application/views/{themeId}/
  2. create the configuration file in source/Application/views/{themeId}/adminTheme.php
  3. fill the adminTheme.php file with the theme parameters:
<?php
$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',
            ),
        ),
    ),
];
  1. create the theme folder in source/out/{themeId}
  2. create your required subfolders in source/Application/views/{themeId}/ (de, en, tpl, for example) and fill it with content :-)

admin-theme-manager's People

Contributors

kristianh avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.