PHP Classes

File: config/app.interface.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS Page JavaScript and CSS Editor   config/app.interface.php   Download  
File: config/app.interface.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Melis CMS Page JavaScript and CSS Editor
Add custom assets to a site using Melis CMS
Author: By
Last change:
Date: 2 years ago
Size: 1,452 bytes
 

Contents

Class file image Download
<?php

/**
 * Melis Technology (http://www.melistechnology.com]
 *
 * @copyright Copyright (c] 2015 Melis Technology (http://www.melistechnology.com]
 *
 */

return [
   
'plugins' => [
       
'meliscmspagescripteditor' => [
           
'conf' => [
               
'id' => '',
               
'name' => 'tr_meliscmspagescripteditor_tool_name',
               
'rightsDisplay' => 'none',
            ],
           
'ressources' => [
               
'js' => [
                  
'/MelisCmsPageScriptEditor/js/tool.js'
               
],
               
'css' => [
                   
'/MelisCmsPageScriptEditor/css/custom.css'
               
],
               
/**
                 * the "build" configuration compiles all assets into one file to make
                 * lesser requests
                 */
               
'build' => [
                   
// configuration to override "use_build_assets" configuration, if you want to use the normal assets for this module.
                   
'disable_bundle' => false,
                   
// lists of assets that will be loaded in the layout
                   
'css' => [
                       
'/MelisCmsPageScriptEditor/build/css/bundle.css',
                    ],
                   
'js' => [
                       
'/MelisCmsPageScriptEditor/build/js/bundle.js',
                    ]
                ]
            ],
           
'datas' => [
            ],
        ]
    ]
];