12201 comments found.
Hi,
We are trying to override the Element Plus theme colors on vue demo2 following this guide: https://element-plus.org/en-US/guide/theming.html#how-to-override-it
but we are getting the following error:
Syntax Error: SassError: Undefined function. ╷ 61 │ math.percentage(math.div($number, 10)) │ ^^^^^^^^^^^ ╵ node_modules\element-plus\packages\theme-chalk\src\common\var.scss 61:29 set-color-type-light() node_modules\element-plus\packages\theme-chalk\src\common\var.scss 82:5 @forward
Can you please point us in the right direction how to override the Element Plus theme defaults?
Thank you!
Hi,
Sorry for the late reply.
Can you try to update the dependencies listed below?
"@yaireo/tagify": "^3.23.1", "bootstrap": "5.0.1", "sass": "1.32.1", "sass-loader": "^8.0.2",
Regards,
Lauris
Hi Lauris,
Thanks for your reply. I’ve tried with the versions your provided, but get the same result. Then I tried to update all those dependecies to latest and now I get a new error:
ERROR Failed to compile with 1 error
error in ./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss
Syntax Error: TypeError: this.getOptions is not a function
@ ./node_modules/vue-style-loader??ref-9-oneOf-1-0
./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js
./node_modules/sass-loader/dist/cjs.js??ref-9-oneOf-1-3
./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--1-1!./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss 4:14-479 15:3-20:5 16:22-487
@ ./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss
@ ./src/App.vue
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://10.0.0.102:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
What version should I update to exactly?
Thanks
Hi,
To fix this you need to use sass version "^1.43.5".
So the correct versions for sass and sass-loader must be:
"sass": "^1.43.5", "sass-loader": "^10.1.0",
Also you will need to update element-plus dependency to “^1.2.0-beta.4“
"element-plus": "^1.2.0-beta.4",
We have already updated these dependencies in Metronic and included these changes in the next Metronic v8.0.32 release.
Regards,
Lauris
Hi Lauris,
I updated those 3 dependencies to the exact versions you gave, but now I receive a new error:
ERROR Failed to compile with 1 error
error in ./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss
Syntax Error: TypeError: (0 , _schemaUtils.validate) is not a function
@ ./node_modules/vue-style-loader??ref-9-oneOf-1-0
./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js
./node_modules/sass-loader/dist/cjs.js??ref-9-oneOf-1-3
./node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist??ref--1-1!./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss 4:14-479 15:3-20:5 16:22-487
@ ./src/App.vue?vue&type=style&index=0&id=7ba5bd90&lang=scss
@ ./src/App.vue
@ ./src/main.ts
@ multi (webpack)-dev-server/client?http://10.0.0.102:8080&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.ts
The other dependencies are as in the default Metronic v8.0.30.
Do you have an idea why this is happening?
Try to delete node_modules folder and package-lock.json then run npm install again.
If it will not help, then can you please send a whole package.json to our support email support@keenthemes.com.
Regards,
Lauris
Hello, I have been using your template for some time and am very happy with it, however, I currently have a problem and do not get on:
I have a dropdown menu for multiple Datatable filters. Among other things, I need one or more DateTime-Range pickers there. I would be willing to use a date range picker as well as a flatpickr. However, with Flatpickr I don’t know how to make a Range with both date and time, so now I am using a Date-Range picker. Preferably the one from this example: https://preview.keenthemes.com/metronic8/demo1/documentation/forms/daterangepicker.html#predefined
Now to my problem: Since the date range picker is in a menu, the problem is that the menu closes as soon as you want to open the picker. I also already tried to specify the menu element with the attribute “parentEl”. But then the picker squeezed itself to the size of the menu
Can you help me further?
Hi
,
Thanks for your interest in Metronic.
May I know which Dropdown menu are you using ? Bootstrap Dropdown or KTMenu ? For the Bootstrap Dropdown you can use Form tag to keep the dropdown menu permanently open: https://getbootstrap.com/docs/5.1/components/dropdowns/Regards, Sean
Thank you for your answer, however I use the KTMenu. Is there also such a simple solution there?
Hi,
Can you please try to use attribute along with other menu attributes:
data-kt-menu-permanent="true"
Regards, Sean
I don’t know if I implemented it correctly, but I implemented it in 3 different places and didn’t notice any difference. Here is a shortened part of my filter toolbar:
<!--begin::Toolbar-->
<div class="d-flex justify-content-end" data-kt-menu-permanent="true" data-player-table-toolbar="base">
<!--begin::Filter-->
<button type="button" class="btn btn-light-primary me-3" data-kt-menu-trigger="click" data-kt-menu-permanent="true" data-kt-menu-overflow="false" data-kt-menu-placement="bottom-end">
<!--begin::Svg Icon | path: icons/duotune/general/gen031.svg-->
<span class="svg-icon svg-icon-2">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
<path d="M19.0759 3H4.72777C3.95892 3 3.47768 3.83148 3.86067 4.49814L8.56967 12.6949C9.17923 13.7559 9.5 14.9582 9.5 16.1819V19.5072C9.5 20.2189 10.2223 20.7028 10.8805 20.432L13.8805 19.1977C14.2553 19.0435 14.5 18.6783 14.5 18.273V13.8372C14.5 12.8089 14.8171 11.8056 15.408 10.964L19.8943 4.57465C20.3596 3.912 19.8856 3 19.0759 3Z" fill="black" />
</svg>
</span>
<!--end::Svg Icon-->Filter</button>
<!--begin::Menu 1-->
<div class="menu menu-sub menu-sub-dropdown w-300px w-md-325px" data-kt-menu="true" data-kt-menu-permanent="true" id="filter_dropdown">
<!--begin::Header-->
<div class="px-7 py-5">
<div class="fs-5 text-dark fw-bolder">Filter Options</div>
</div>
<!--end::Header-->
<!--begin::Separator-->
<div class="separator border-gray-200" />
<!--end::Separator-->
<!--begin::Content-->
<div class="px-7 py-5">
<!--begin::Input group-->
<div class="mb-10">
<label class="form-label">Logout at</label>
<input class="form-control form-control-solid" placeholder="Pick date rage" name="filter_logout" id="filter_logout_datetime_picker"/>
</div>
<!--end::Input group-->
<!--begin::Actions-->
<div class="d-flex justify-content-end">
<button type="reset" class="btn btn-light btn-active-light-primary fw-bold me-2 px-6" data-kt-menu-dismiss="true" data-player-table-filter="reset">Reset</button>
<button type="submit" class="btn btn-primary fw-bold px-6" data-kt-menu-dismiss="true" data-player-table-filter="filter">Apply</button>
</div>
<!--end::Actions-->
</div>
<!--end::Content-->
</div>
<!--end::Menu 1-->
<!--end::Filter-->
</div>
<!--end::Toolbar-->
I double checked the the permanent option is not actually valid. Please ignore it. Sorry for the misleading. The issue seems to be related to the dateragepicker’s element population outside the menu content. The same issue was fixed for select2 since it supports parent element binding as explained here https://preview.keenthemes.com/metronic8/demo1/documentation/forms/select2.html#basic. If possible please contact our support via support@keenthemes.com and provide your test link to your page and our core developers will have a look and see what can be done in our end.
Thank you very much for your help. I have just sent you an email
Noted, we will check it asap. Thanks 
Congratulations on the excellent product, especially from the engineering side. But I would like to make a constructive criticism. It would not be advisable to do a demo for developers, where individual css and js files are uploaded individually (as it once was). In this way, among the various possibilities that the theme offers, the developer chooses the ones he actually need and only then group them in a single file. Maybe there is a way to do it but it seems complicated to me.
Thanks
Francesco Calò
Hi
,
Thanks for your interest in Metronic.
Our gulp or webpack builder allows customizing the bundle by adding or removing plugins as per your requirements.
For more info about using Metronic please check the theme documentation https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started.html and video tutorials https://preview.keenthemes.com/metronic8/demo1/documentation/getting-started/video-tutorials.html
Regards, Sean
any chance for Angular version for most of the demos?
Hi,
Thanks for your interest in Metronic.
We are currently working on crud solution for the metronic angular version and soon we will start releasing those pending demos.
Regards, Sean
thank you.. do you have a estimate date of release? i really want it
It’s released. You should have received the email notification. All the best with your projects 
Hi, purchased theme long back but using now and facing problem with laravel version of demo1. I have put laravel project in abc.com/admin folder. css,js,plugin,media are in ‘abc.com/admin/public’ . I have modified htaccess in ‘abc.com/admin’ folder to point to server.php Issue : upon calling abc.com/admin it works but plugin and media files don’t load . Please help.
Hi 
Could you please check the console log? And send the screenshot of the error assets paths?
Thanks
Thanks for your reply.As mentioned my laravel project is a subdirectory of root domain and it will accessed as abc.com/admin . File structure is : public_html/admin public_html/admin/public/media public_html/admin/public/plugins Here is the link to error https://pasteboard.co/ROwsa4oRyWZq.png
Hi,
Are you using the laravel from Metronic v7? Have you run “npm run dev”? Could you please verify if the plugins.bundle.js file is in /public/plugins/global/plugins.bundle.js.
Thanks
yes , it’s Laravel from v7 .Custom and global folder are present in public/plugins folder including /public/plugins/global/plugins.bundle.js. Hers’s the link to the htaccess file located in public_html/admin/ https://pasteboard.co/Xpjx3gpheE95.png
Hi,
Could you please try this htaccess setup?
https://dev.to/vumanhtrung/setup-an-htaccess-file-for-redirecting-to-laravel-s-public-folder-1e1jThanks
This too not working.
Hi,
We have sent the reply via email.
Thanks
question before buying
I have a website made in html / js / php, I wonder if you can make changes at extra charge? to turn into a metronic theme?
Hi,
Thanks for your interest in Metronic.
At the moment we are not accepting backend integration projects. You can check freelancer sites as nowadays there are plenty of developers who work with Metronic and provide custom development.
Regards, Sean
ReferenceError: KTUtil is not defined getting this error on a simple form when using validation. Sent an email to support but have yet to hear back. Any help would be greatly appreciated.
Hi,
We have just replied you. For any case please check your spam folder as well.
Regards Sean
Hi, there is a bug in metronic 7 angular with the user profile page in mobile mode. The left panel with user photo and links to profile pages doesn’t appear. How to fix it ? Thanks
Are there any plans for eCommerce front/inside pages?
Hi
,
Thanks for your interest in Metronic.
Yes, we will release ecommerce admin and frontend pages soon.
Regards, Sean
Hi,
Is there way for the user to toggle the aside on demo2 vue? Or maybe show on some pages but hide on others?
Thank you
Hi,
The easiest way is to make aside hoverable, to achieve this you need to add toggle button into your aside menu:
<div id="kt_aside_toggle" class="btn btn-icon w-auto px-0 btn-active-color-primary aside-toggle" data-kt-toggle="true" data-kt-toggle-state="active" data-kt-toggle-target="body" data-kt-toggle-name="aside-minimize">
<span class="svg-icon svg-icon-1 rotate-180">
<inline-svg src="media/icons/duotune/arrows/arr080.svg" />
</span>
</div>
This button will be addicting the attribute data-kt-aside-minimize=”on” to the body tag and depending on this attribute you can change your aside menu styles.
You can check the example in demo1 assets/sass/layout/aside/_base.scss.
Regards,
Lauris
Hi Lauris,
Thanks, this works great!
Although saving the minimized state to localstorate seems to be implemented, I am not sure how the store works to facilitate this. What is the right way to save the state of the aside to the store then localstorage?
Thank you
Hi,
We are saving the whole layout config to local storage, which contains the actual configuration for the current layout. So to make the aside menu minimized by default you should change the localStorage config minimized option to true.
Regards,
Lauris
Hi,
I see. Actually in demo2 which I am using, it didn’t work because in LayoutService.ts at initAside() there was no function to init the minimized state, so I just copied from demo1 and now it works flawlessly.
I have a final question for implementing the aside on demo2. The code you gave for the hoverable aside, pushes the entire content to the right when hovered. How could I make the hover only cover the content and push it to the right when the toggle is clicked to pin the position, exactly like in demo1?
Is there a simple way to achieve this? Thank you!
You can achieve this by setting the position to absolute for the aside menu also you will need to change the z-index of the side menu to put it over the content.
Regards,
Lauris
This works, but now if I fix the aside, it overlaps the content and does not resize the content to make it visible. Where can I adjust this to have the content transition and become fully visible, just like how it is in demo1?
Thanks
Hi,
There might be an issue since the aside menu in demo2 doesn’t suppose to be working in this way, you can refer to the demo1 codebase and try to apply the same solution for demo2.
Regards,
Lauris
Okay, I’ll check that out.
Thanks
Hey! Where’s in html version “User management” folder? i buy your template, but i don’t find folder with this page: https://preview.keenthemes.com/metronic8/demo1/apps/user-management/roles/list.html
Hi,
You can find it in the zip.
html/theme/demo1/dist/apps/user-management/roles/list.html
https://github.com/KeenthemesHub/Metronic/tree/master/html/theme/demo1/dist/apps/user-management/roles
Thanks
Am I crazy is is Demo11 dark mode not completely released for Metronic8? I’m not seeing it in the changelog either. It goes from Demo10 to Demo12 in the log from what I can see, despite having a few .dark files and a preview for it in your online demo?
for now I’ve downloaded the plugins.dark. and style.dark. css files from your online demo and will mess with that a bit, but I imagine if it’s not officially released I’ll run into some issues.
Hi
,
Thank you for your interest in Metronic.
It supports the dark mode as you can see in in the preview: https://preview.keenthemes.com/metronic8/demo11/dark/index.html For all demos you will need to generate the dark mode css files as explained here: https://preview.keenthemes.com/metronic8/demo11/dark/documentation/getting-started/dark-mode.htmlRegards, Sean
Helo, where can i download version 7 ? My github username is alghiffaryfa19. Thank You
Hi
,
Thanks for your interest in Metronic. Please contact our support via support@keenthemes.com and provide us your Github username and we will grant you access to our private repo so you can download any previous virion of Metronic.
Regards, Sean
why??
Hi
,
Thanks for your interest in Metronic. This demo will be released as demo 17 in Metronic 8 in the next week. Please stay tuned!
Regards, Sean
Hi, how to delete the width of aside bar in metronic 8 demo 10?
Hi,
Could you please clarify your question ? Do you need to reduce the aside menu bar width or completely remove it ?
Regards, Sean
Hi, Do you have any plan to upgrade react-router to v6?
Hi,
Yes, we are planning to update the react-router in upcoming releases.
Regards,
Lauris
Hi there. Is there anyway to make laravel route URLs as a path for the menu in config/global/lmenu ??
Hi,
Could you please clarify your issue in details?
Thanks
I can only type in the static path for the menu item, for example : tax/create. As I try to put the route URL which is {{ route(tax.create) }}, the rendering of the URL doesn’t come right, the URL of the menu item become : 127.0.0.0.0/”à_(èroute(tax.create)à)à)à and leads to a 404.
Hi,
In the menu.php config, you have to specify the path. route function does not support.
Thanks
Hello,
I am having trouble downloading the metronic 7. It only downloads 8 version.
Hi
,
Thanks for your interest in Metronic.
Please provide us your github username and we will grant you access to our private repo to download Metronic’s previous versions.
Regards, Sean
github username : devgr24
thanks for your help 
Done! here you go: https://github.com/KeenthemesHub/Metronic
Sir, can you teach me how to implement like sweetalert, countUP and drawer on project vue using template demo1
Hi,
The sweetalert plugin is already implemented, you can check usage example in file demo1/src/components/modals/forms/AddCustomerModal.vue. Also, you can find more examples in the official doc: https://sweetalert2.github.io/
For the drawer, we are using our custom component which is located in the folder: vue/demo1/src/assets/ts/components/_DrawerComponent.ts.
To use this component you need configurate it using attributes shown below:
data-kt-drawer="true"
data-kt-drawer-name="chat"
data-kt-drawer-activate="true"
data-kt-drawer-overlay="true"
data-kt-drawer-width="{default:'300px', 'md': '500px'}"
data-kt-drawer-direction="end"
data-kt-drawer-toggle="#kt_drawer_chat_toggle"
data-kt-drawer-close="#kt_drawer_chat_close"
Since a countUp plugin requires jQuery we haven’t added it into Vue as an alternative you can use vue3-count-to plugin. https://www.npmjs.com/package/vue3-count-to
Regards,
Lauris
<script type="text/javascript" src="{{ asset('assets/plugins/custom/datatables/datatables.bundle.js') }}"></script>
<script type="text/javascript" defer src="{{ asset('assets/js/custom/user-management/users/list/table.js') }}"></script>
<script type="text/javascript" defer src="{{ asset('assets/js/custom/user-management/users/list/export-users.js') }}"></script>
<script type="text/javascript" defer src="{{ asset('assets/js/custom/user-management/users/list/add.js') }}"></script>
custom javascript I copy from html version to extended/js/custom folder. What wrong in here? pls help me.
Hi, 
Could you please try to remove “defer” from the js include?
Thanks
<script type="text/javascript" src="{{ asset('assets/plugins/custom/datatables/datatables.bundle.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/custom/user-management/users/list/table.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/custom/user-management/users/list/export-users.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/custom/user-management/users/list/add.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/custom/widgets.js') }}"></script>
if I move code from table.js file to datatables.bundle.js file. It working (before wrong in table.js file). I think table.js loaded before datatables.bundle.js loading.
I think may be something like that noscript???
<link rel="preload" href="{{ asset('assets/plugins/global/plugins.bundle.css') }}" as="style"
onload="this.onload=null;this.rel='stylesheet'" type="text/css">
<noscript>
<link rel="stylesheet" href="{{ asset('assets/plugins/global/plugins.bundle.css') }}">
</noscript>
<link rel="preload" href="{{ asset('assets/plugins/global/plugins-custom.bundle.css') }}" as="style"
onload="this.onload=null;this.rel='stylesheet'" type="text/css">
<noscript>
<link rel="stylesheet" href="{{ asset('assets/plugins/global/plugins-custom.bundle.css') }}">
</noscript>
<link href="{{ asset('assets/css/style.bundle.css') }}" rel="stylesheet" type="text/css"/>
in laravel version have not user list page so I don’t know why. Pls help me.
Hi 
As a workaround, could you please add this code at the top of the table.js where the datatable init. We will check it further.
window.$ = window.jQuery = require( 'jquery' ); require( 'datatables.net' );
Please run “npm run dev” to recompile the assets using mix.
Thanks