Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


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.



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


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(