Closed taufik-nurrohman closed 4 years ago
Or, just take the layout above to be applied with this base CSS I have re-created.
// Direct modify
Config::set('panel.page:tab', []);
// Store to the group for later use
Config::set('panel.$:tab', []);
// First use
Config::set('panel.page:tab', Config::get('panel.$:tab'));
// Second use
Config::set('panel.comment:tab', Config::get('panel.$:tab'));
// Inherit `panel.page:tab` value
Config::set('panel.event:tab', Config::get('panel.page:tab'));
Config::set('panel.$:desk', [
'header' => "",
'body' => "",
'footer' => ""
]);
Config::set('panel.$:nav', []);
Config::set('panel.$:tab', []);
Config::set('panel.$:layer', []);
Config::set('panel.$:dialog', []);
Config::set('panel.$:form', []);
Config::set('panel.$:files', []);
Config::set('panel.$:pages', []);
Time has gone by and we have a better layout system now.
This extension is not official to the core CMS system, so I think it is okay to use other web framework like Bootstrap or Material Design Lite as the base layout to simplify the development process. It also opens for any external libraries that have been built for that framework so that they can be extended to the panel extension easily.