Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

general configuration not working at metronic laravel 8 version


The changes I make in the settings in general.php have no effect. e.g;


// Aside
"aside" => array(
<code></code> "display" => true, // Display aside
"theme" => "light", // Set aside theme(dark|light)
"menu" => "main", // Set aside menu(main|documentation)
"fixed" => true, // Enable aside fixed mode
"minimized" => false, // Set aside minimized by default
"minimize" => true, // Allow aside minimize toggle
"hoverable" => true, // Allow aside hovering when minimized
"menu-icon" => "svg" // Menu icon type(svg|font)
),


I want to make the theme light here. but it has no effect. What is the reason? can you help me? shocked


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi Rıdvan TARUZ

Sorry for the delay. We will update it or remove unused config in future updates. To hide the header, toolbar or aside, you can manually remove it from the view template.

To make the theme light permanently, you can update the view template file. Please refer to this doc link.

https://preview.keenthemes.com/html/metronic/docs/getting-started/dark-mode

Thanks



you should change from bootstrap class , we change manually until fix next version :


public static function initLayout()
{
self::initHeader();
self::initPageTitle();
self::initToolbar();
self::initContent();
self::initAside();
self::initFooter();
self::initAsideMenu();
self::initHorizontalMenu();
self::initLightSidebarLayout();


//todo: read form config
//switch (setting("layout.layout", "dark-sidebar")) {
// case "dark-sidebar":
// // Dark sidebar layout
// self::initDarkSidebarLayout();
// break;
//
// case "light-sidebar":
// default:
// // Light sidebar layout
// self::initLightSidebarLayout();
// break;
//}
}



yes, i did that. but i thought it didn't make sense. as far as i understand, the only way to run the config settings will be to wait for the next version.

thank you for replying.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(