Hi,
First of all, We appreciate your effort in Metronic themes. These are fantastic.
We trying demo 3 - laravel version. We try to disable the aside menu on some particular pages. that was not working. can you suggest me how to do that.
We enabled aside in general.php file and we disabled in page.php
These are written in demo3 directory under config
General.php
// Aside
"aside" => array(
"menu-icon" => "svg", // Menu icon type(svg|font)
"display" => true,
),
"card-maker" => array(
"title" => "Business Card Maker1",
"view" => "card-maker/index",
"layout" => array(
"page-title" => array(
"description" => false,
"breadcrumb" => false,
),
),
"aside" => array(
"display" => false,
),
)
Hi,
I already raised question, not answered for more than 3 days. please update me on this
Thanks
Hi Suresh Nachiappan,
Sorry for the delay. We will get back to you shortly with the solution.
Thanks
Hi Suresh Nachiappan,
Seems it is a bug. We will fix it as soon as possible. As a workaround, could you please update this file? resources/views/layout/demo3/master.blade.php
somewhere in line 15.
From this:
{{ theme()->getView("layout/aside/_base") }}
@if (theme()->getOption("layout", "aside/display") === true)
{{ theme()->getView("layout/aside/_base") }}
@endif
Thanks for the reply,
we already done this, but above one is for entire pages. we need to fix for the specific page. can you suggest me how to fix this
Thanks for the reply,
it not updating the values, still remains the same. always in true. even it set false on the pages.php on global
Yes, i tried but it getting value true. even if i set demo3/pages.php as false.
when i try to debug theme()->getOption('layout', 'aside/display')
im always getting values true.
Can you try the same scenario from you side and share me the solution
Thanks
We tried like that only, we not getting result.
Can you give me the solution instead of reply
return array(
"" => array(
"title" => "Dashboard",
"description" => "",
"view" => "index",
"layout" => array(
"page-title" => array(
"description" => true,
"breadcrumb" => false,
),
"aside" => array(
"display" => false
)
),
"assets" => array(
"custom" => array(
"js" => array(
"js/widgets.bundle.js",
),
),
"vendors" => array("fullcalendar", "amcharts", "amcharts-maps"),
),
)
);
Hi Suresh,
I did try and gave this solution.
@if (theme()->getOption("layout", "aside/display") === true)
{{ theme()->getView("layout/aside/_base") }}
@endif
theme()->getOption('layout', 'aside/display')
will read config value from the demo3/pages.php first, if exist like below config.