12208 comments found.
Hi. I am trying to install the dependencies and run the react demo1. After some issues trying to install ‘node-sass’ I got this error on my terminal
Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (83)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.13.0
I am using macOS Big Sur 11.2.1
Also, node-sass is deprecated https://www.npmjs.com/package/node-sass
Hi Bryam42,
Try to install latest version of ‘yarn’. Remove node_modules+*lock lock files. Run ‘yarn’ + ‘yarn start’.
Regards, Keenthemes support
Thank you!! that did the trick
Any tips to change background theme for demo1 with just click button?
Hi,
Can you please specify which version are you using?
html/vue/react/angular/laravel
Regards,
Lauris
Hello, there is a problem in the new version. I could not find the ‘assets’ files.
Since Metronic v7.1.5 update the precompiled assets folder is no longer included. In the download package only the source files are included and the assets folder must be generated. by using the build tools so in order to launch the theme you will need to generate the “assets” folder from “src” folder by installing the build tools and running the build tasks in command line. The good news is you can follow https://www.youtube.com/watch?v=NDlQ09mmvu8&ab_channel=KeenThemes or https://keenthemes.com/metronic/?page=docs§ion=html-build-tools and install the build tools and generate the assets by your own in a few minutes. This approach is nowadays defacto for all developers so we encourage our users to move forward with the development trends and from our side we can help with video tutorials, documentations and easy to follow guides.
Works with Angulardart?
Hi fillipeweb
We don’t have the AngularDART version. Only Angular demos.
Regards, Keenthemes support
Hello, when DataTables is on responsive the collapse button is above the first column, I’m using Metronic 7.2.2, I have 12 fields, it does the work of making it responsive, but the plus sign is above the first field, and I can’t hide specific fields https://imgur.com/XNOk6VA, Would you be so kind in guiding me if its a bug or i have to do something different for responsive to work showing on large screen what i need and on small screen to collapse what i dont need?
Hi,
It is the style issue. We will fix it and include the fix.
Thanks
Hello, I have an issue when I rename the HTML files in .php. Menu does not work correctly anymore.. how can I fix it? thank you
Hi,
Could you please try to check the console log if there is any js error?
Thanks
nope, no errors
it’s weird cause the html file works perfectly but just renaming the file in .php changes the way it’s displayed and menu stops working
Hi, Could you please send the screenshot? You have to check as well if all the assets are included properly. Since PHP runs in web server, the paths may different or changed. It’s either absolute or relative paths.
Thanks
Hello, In the demo VueJS, when I try to connect to an external API (hosted on localhost:5000) it’s always returning status 404, it’s a simple query ( POST with a body data (username/password) and it’s always returning 404. thanks for you help
Nevermind, I had to deactivate the mock API calls. thanks anyways
Hi,
Yes, just need to remove MockService initialization from main.js. All the best with your project!
Regards, Lauris
Hello, how can I use typescript inside VueJs demo ?
Hi,
You can refer to official vue.js doc on typescript support: https://vuejs.org/v2/guide/typescript.htmlRegards, Lauris
can i use for my django project
Hi
,
You can use Metronic with any server side languages including Django. For more info please check https://www.youtube.com/watch?v=ptgwzvvAHy4&t=1s&ab_channel=KeenThemes
Regards, Sean
I downloaded the latest version of the project and it is giving an error stating that it is not finding the assets folder, that the javascript, images and css libraries are located
Hi,
First of all thanks for choosing Metronic.
In order to launch Metronic you will need to install the build tools and run the build task to generate the assets files from the “src” folder.
Nowadays using the build tools to manage the assets is de facto approach. Metronic’s default package includes all the features bundled and using the build tools you may easily customize the styles and also build your custom bundle with required features only to make the output css/js bundle file size minimal.
We encourage our users to move forward with the development trends and from our side we can help with video tutorials, documentations and easy to follow guides.
Please note that the build tools are required only in your development environment just to compile the changes and generate the assets and in your hosting you just need to deploy the assets folder, no need to install those build tools in your hosting.
You can follow https://www.youtube.com/watch?v=NDlQ09mmvu8&ab_channel=KeenThemes or https://keenthemes.com/metronic/?page=docs§ion=html-build-tools and install the build tools and generate the assets by your own in a few minutes.
If you need any further clarifications please contact our support at support@keenthemes.com
Regards, Sean
Hello!
how can I implement a session timeout behaviour in react demo? so far i’ve been able to login using my API.
Thanks!
Hi Y2K_Webs,
We don’t have session timeout functionality in our React application. Anyway, we recommend you use https://www.npmjs.com/package/react-idle-timer library, it’s a well-documented and popular React library.
Regards, Keenthemes support
thank you
I installed the module but I dont get how to implement it with Metronic with React.
Do you have any othe tip? Logout works fine, but how to trigger it when timeout with that module?
thanks!!
Hi Y2K_Webs,
It’s 3d party library, which we didn’t integrate with our theme. Anyway, you have Auth redux actions in https://github.com/KeenthemesHub/Metronic/blob/master/theme/react/demo1/src/app/modules/Auth/_redux/authRedux.js and you can dispatch (with providing payload) them where you need.
Regards, Keenthemes support
Hi! I’m creating a new page using a ktdatable. I can’t seem to figure out how to control which table columns get hidden at smaller screen widths. For example, see: https://preview.keenthemes.com/metronic/demo9/crud/ktdatatable/advanced/column-rendering.html At full width, all columns show. On a slightly smaller screen, the status column collapses. Then on a slightly smaller screen, also the company screen collapses. How can I control which columns collapse and which always stay on the screen?
Thanks again for a FANTASTIC admin theme and parallel support!!
Hi,
Please use this setting to completely disable the hidding columns. Disabling it not good for mobile view.
var datatable = $('#kt_datatable').KTDatatable({
//.. other options
rows: { autoHide: false }
//..
});
Also, you can add this option in each individual column config, to prevent it from hiding on a smaller screen.
autoHide: false
Thanks
Using React, What is the best way to add a font to the project? especially a local font?
Hi Nabe J,
Try to check the article http://skyentific.me/adding-fonts-to-create-react-app/ The same with Metronic React, download TTF files into src/_metronic/_assets/, add FontFace and use it where you need.
Regards, Keenthemes support
Thanks. I imported the css file in the index.js
how to implement login/register pages on laravel? (they must have different layout. how can we implement non-sidebar layout for only login page?)
Hi,
You can just disable the layout for some roues in file theme/html_laravel/demo1/skeleton/resources/views/layout/default.blade.php
@if (Request::route()->getAction('login', false))
@include('layout.base._layout')
@else
@yield('content')
@endif
Regards, Lauris
html version not working ? !!!!! please help
Hi,
First of all thanks for choosing Metronic.
In order to launch Metronic you will need to install the build tools and run the build task to generate the assets files from the “src” folder.
Nowadays using the build tools to manage the assets is de facto approach. Metronic’s default package includes all the features bundled and using the build tools you may easily customize the styles and also build your custom bundle with required features only to make the output css/js bundle file size minimal.
We encourage our users to move forward with the development trends and from our side we can help with video tutorials, documentations and easy to follow guides.
Please note that the build tools are required only in your development environment just to compile the changes and generate the assets and in your hosting you just need to deploy the assets folder, no need to install those build tools in your hosting.
You can follow https://www.youtube.com/watch?v=NDlQ09mmvu8&ab_channel=KeenThemes or https://keenthemes.com/metronic/?page=docs§ion=html-build-tools and install the build tools and generate the assets by your own in a few minutes.
If you need any further clarifications please contact our support at support@keenthemes.com
Regards, Sean
Can we please get a NextJS version?
Hi sazid1346
We haven’t had the NextJS version of Metronic yet. But I hope in the future we will implement some demos with NextJS too.
Regards, Keenthemes support
If I make a WordPress theme based on this template and sell it, and only use a small part of the entire project, do I need to purchase a separate license?
Hi,
Thanks for contacting us regarding this. Please note that using Metronic as part of other stock item is not allowed.
Regards, Sean
Good day,
I recently downloaded this but there is no “assets” for the html version.
Hi,
First of all thanks for choosing Metronic.
In order to launch Metronic you will need to install the build tools and run the build task to generate the assets files from the “src” folder.
Nowadays using the build tools to manage the assets is de facto approach. Metronic’s default package includes all the features bundled and using the build tools you may easily customize the styles and also build your custom bundle with required features only to make the output css/js bundle file size minimal.
We encourage our users to move forward with the development trends and from our side we can help with video tutorials, documentations and easy to follow guides.
Please note that the build tools are required only in your development environment just to compile the changes and generate the assets and in your hosting you just need to deploy the assets folder, no need to install those build tools in your hosting.
You can follow https://www.youtube.com/watch?v=NDlQ09mmvu8&ab_channel=KeenThemes or https://keenthemes.com/metronic/?page=docs§ion=html-build-tools and install the build tools and generate the assets by your own in a few minutes.
If you need any further clarifications please contact our support at support@keenthemes.com
Regards, Sean
Thanks!
i am having a issue with the react template. i am using a real REST API but after successfully login also auth token is not working. there is some where you are using getusertoken() function.
Hi johnboxy.
Please mail us ‘support@keenthemes.com’ with all details which you have, what issue/errors do you have and step-by-step reproduction of your case.
Regards, Keenthemes support
Hi just suggestion, isn’t Summernote and Apexcharts is big so it will be great if it move separately from JS and CSS bundle just like Datatables. I try to remove it manually but still got some problem till now.
Hi,
Can you show us how you moved them in gulp config file ? If you refer to those custom bundles and how their css/js files are bundled them you can easily many custom bundle for any plugin. You can send further details to our support team via support@keenthemes.com.
Regards, Sean