Discussion on Metronic | Tailwind, Bootstrap, React, Next.js, Vue, Angular, Laravel Admin Dashboard HTML Template

Discussion on Metronic | Tailwind, Bootstrap, React, Next.js, Vue, Angular, Laravel Admin Dashboard HTML Template

Cart 119,718 sales
Recently Updated
Well Documented

keenthemes supports this item

Supported

This author's response time can be up to 1 business day.

12202 comments found.

how I can add button in header to Switchable Color Schemes in whole website?

Noted, we have just replied you with some instructions.

Stam88 Author Team

Hi amr_mor1,

Could you please clarify, which framework(HTML/React/Angular/Vue/Laravel), version(7x.x/6.x.x)/ and demo number of Metronic do you use?

Regards Keenthemes support

Hello, HTML and demo number 3 Thanks in advance.

Hello,

I’m watching the video tutorial you gave me, but I’m stuck at 28:34

On the terminal, I have exactly the same as you.

But just bellow : Finished ‘default’ after 96ms

An error is displayed :

[15:00:01] Finished ‘default’ after 179 ms Error in plugin “sass” Message: ..\demo1\src\sass\_init.scss Error: File to import not found or unreadable: bootstrap/scss/_mixins.scss. on line 15 of ../demo1/src/sass/_init.scss from line 11 of ../demo1/src/sass/style.bundle.css >> @import “bootstrap/scss/_mixins.scss”;

internal/streams/leagcy.js:61 throw er; // Unhandled stream error in pipe.

PluginError: ..\demo1\src\sass\_init.scss Error: File to…

It dit generate the assets folder for me in dist assets, but without the css files…

Do you know how to solve this problem?

Thank you.

Hi,

Thank you for your report. We will release a quick bug fix shortly in a few hours.

Thanks

Hello, I purchased the theme and i can’t find any RTL version

Hello Muhammad, could you please check this link: https://keenthemes.com/metronic/?page=docs&section=html-rtl-version

Feel free to ask additional questions.

Hi, https://keenthemes.com/metronic/?page=docs&section=react-internationalization Section 2. Format it with component Code is broken can you fix it.

Can you explain to me how src\index.js is related to I18nProvider. I’ve read the code and I can I can understand how the languague is choosen and & written in localStorage. However how it is being read by index.js I cannot understand? Thanks.

Stam88 Author Team

Hi Nabe_J,

In the src/app/app.js we have wrapper tag ‘I18nProvider’ over on all controls. I18nProvider uses ‘useLang’ hooks from ‘Metronici18n’ which is a wrapper of the whole application it the src/index.js. ‘useLang’ hook reads selected language from localStorage.

Regards, Keenthemes support

Perfect Thanks.

Hello,

I just bought your template for the html version.

I am int the following folder : theme > html > demo1 > dist > index.html

When I launch the index.html file one the browser, css/js files is not taken into account.

I’m missing the assets folder with plugins, css folder.

Do you know where I could find this folder?

(I already looked in the documentation, but I didn’t find anything)

Thank you.

Hi Jallase,

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&section=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.

Hello,

Thank for you reply.

I almost passed the tutorial.

I’m watching the video tutorial you gave me, but I’m stuck at 28:34

On the terminal, I have exactly the same as you.

But just bellow : Finished ‘default’ after 96ms

An error is displayed : [15:00:01] Finished ‘default’ after 179 ms Error in plugin “sass” Message: ..\demo1\src\sass\_init.scss Error: File to import not found or unreadable: bootstrap/scss/_mixins.scss. on line 15 of ../demo1/src/sass/_init.scss from line 11 of ../demo1/src/sass/style.bundle.css >> @import “bootstrap/scss/_mixins.scss”;

internal/streams/leagcy.js:61 throw er; // Unhandled stream error in pipe.

PluginError: ..\demo1\src\sass\_init.scss Error: File to…

It dit generate the assets folder for me in dist assets, but without the css files…

Do you know how to solve this problem?

Thank you.

Hi,

Sorry for the inconvenience. It seems this issue is occurred due to some other 3rd party plugins updates and we will release a new update shortly to solve this issue. You will be notified once the new update arrives shortly.

Regards, Sean

You have example quotation template?

Hi!

Please check this link: https://preview.keenthemes.com/metronic/demo1/custom/pages/invoices/invoice-1.html

Feel free to ask additional questions

Hello,

I would like to buy your html template, but I need some information.

1) How does the download happen once the template is purchased? (email, download section…)

2) In the zip file, the 13 demos are inclued? With css, js files?

3) How are the future update of your template going? Will you send theme to us by email?

Thanks.

Hi Jallase!

First of all thank you for choosing our product.

1) You will get download link and it will be always available in your themeforest profile – downloads. 2) 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. 3) You will get notification by email about new updates and you can download it from your themeforest profile.

Feel free to ask additional questions.

Kind regards

Hello , We use metronic latest version with html . We want to use remote call into datatable , our remoet service response like below : { “items”: [ { “lastModificationTime”: null, “lastModifierId”: null, “creationTime”: “2020-12-21T10:18:04.6879761”, “creatorId”: null, “id”: “ba699796-1ac0-4ebb-3099-39f9965663a2” } ] } Because of our list name (Items) we can not get data to table. We think metronic accept only ”data” named lists from server. When we change json object list name from “Items” to ”data” it works but we don’t want to use like that. How to solve this mapping issue with differen list object name for datatables ?

Thank you.

Hi,

You can try this callback option to map data from your “Items”.. Here is the example;


        var datatable = $('#kt_datatable').KTDatatable({
            // datasource definition
            data: {
                type: 'remote',
                source: {
                    read: {
                        url: HOST_URL + '/api/datatables/demos/default.php',
                        map: function(raw) {
                            // sample data mapping
                            var dataSet = raw;
                            if (typeof raw.Items !== 'undefined') {
                                dataSet = raw.Items;
                            }
                            return dataSet;
                        },
                    },
                },

Thanks

Dears, where can i find the RTL files or how to enable it ? i am working on latest version v 7.1.7

Hello, it is possible create KTDatatable with row selection but using data from html? I try do this, but id doesn’t work :(

Hi,

Please try to set this option true, selector: true,

      columns: [{
          field: 'RecordID',
          title: '#',
          sortable: false,
          width: 20,
          type: 'number',
          selector: true,
          textAlign: 'center',
        }

Thanks

hi i have downloaded the theme but when opening any file in chorme its styling is missing i need https://preview.keenthemes.com/metronic/demo1/custom/pages/wizard/wizard-2.html this page in html where can i get that ? and how will i resolve this styling issue no page has any kind of styling as it is shown in domo

Hi :),

First of all thanks for choosing Metronic.

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&section=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.

Please follow us at http://twitter.com/keenthemes to stay updated.

Regards, Sean

Hello!

Thank you for your theme!

Did you plan to release an SSR version?

Hi,

Thanks for your feedback. It’s not in the plans but we will consider this /

Please follow us at http://twitter.com/keenthemes to stay updated.

Regards, Sean

asset folder is not included in download for any demo, can you please give good archive.

Hi :),

First of all thanks for choosing Metronic.

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&section=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.

Please follow us at http://twitter.com/keenthemes to stay updated.

Regards, Sean

``` // CSS3 Transitions only after page load(.page-loading class added to body tag and remove with JS on page load) window.onload = function() { var result = KTUtil.getByTagName(‘body’); if (result && result0) { console.log(result); KTUtil.removeClass(result0, ‘page-loading’); } } ```

this code should not be called in vue version, because it has and should be removed in layout.vue this.$store.dispatch(REMOVE_BODY_CLASSNAME, “page-loading”);

Hi,

Sorry for the late reply.

Yes you are right this code shouldn’t exist in vue version we will remove it in upcoming update. Thank you!

Regards, Lauris

Hello. I’m using Bootstrap Date Picker with validation here : https://preview.keenthemes.com/metronic/demo13/crud/forms/validation/form-widgets.html I’m french and I’d would like to use my local language. I saw french calendar setting in the plugin.bundle.js Is it possible to use them in the form-widget.js to have french format ? I changed the format date in the setting (dd/jj/yyyy) but it’s not enough. Days / months are displayed in english in the pop-up and in France the first day of the week is Monday. Thank you for you help and thank again for you awesome work.

Hi,

You can refer to this site for the example of bootstrap datepicker with different language.

https://bootstrap-datepicker.readthedocs.io/en/latest/i18n.html
$('.datepicker').datepicker({
    language: 'fr'
});

Please import or copy this file for the French config. theme/html/tools/node_modules/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js

Thanks

Hello. It works very well. Thanks for your help

Your welcome. Feel free to let us know if you need more help.

Thanks

Need some help, i try to clear the validation error using this code :

fv.resetForm(true);
i already define the fv like this
    const fv = FormValidation.formValidation( //validation code
but it still give me an error like this: Uncaught TypeError: Cannot read property ‘getAttribute’ of undefined. So what i have to do to fix it? thanks.

Hi,

Thank you for the provided the code!

It is not good practice just clearing an error even if everything is working fine. This error happens for a reason so something is not correct and should be fixed.

Regards, Lauris

nevermind, i guess i had to refresh the page every time there is validation error. Although it might great to revalidate form without refreshing the page. this validation plugin is suck, maybe i should get other template which use jquery validation for this kind of thing.

Hi,

If your project require reset the validation you can try to use https://formvalidation.io/guide/api/reset-form method

If you need any further help can you please contact our support team directly via support@keenthemes.com

Regards, Sean

Hi there, I try to use KTDatatable ajax with csrf autogenerated token. So everytime request already sent the respon will give the new token and have to use the new token for the next request. here my pieces of code for the data, I use variabel to store the token :

kt_datatable_user = $('#kt_datatable_user').KTDatatable({
      // datasource definition
      data: {
         type: 'remote',
         source: {
            read: {
               url: BASE_URL + Modules + '/' + Controller + '/lists_kt_datatable',               
               headers: {
                  [CSRF_NAME]: CSRF_TOKEN
               },
            },
         },
         pageSize: 10,
         saveState: false,
         serverPaging: true,
         serverFiltering: true,
         serverSorting: true,
      }});

The new token will be set to the variabel CSRF_TOKEN for the next request after event “datatable-on-ajax-done”, here my code :

kt_datatable_user.on('datatable-on-ajax-done', function(event, data) {
      let json = data[0].csrf;
      CSRF_TOKEN = json.hash;
   });

But when I try to navigate to next page/previous page, the new token for the next request did not change. It’s still using the old token. I already try to find in the documentation but could not find the answer. Can you please help me? Thanks

I already found the answer on the event “datatable-on-ajax-done”, here is the code :

kt_datatable_user.on('datatable-on-ajax-done', function(event, data) {
      let json = data[0].csrf;
      CSRF_TOKEN = json.hash;
      kt_datatable_user.options.data.source.read.headers[CSRF_NAME] = CSRF_TOKEN;
   });

and just in case if ajax is failed use this code :

kt_datatable_user.on('datatable-on-ajax-fail', function(event, jqXHR) {
      kt_datatable_user.options.data.source.read.headers[CSRF_NAME] = CSRF_TOKEN;
      kt_datatable_user.reload();
   });

Hi,

Glad you found the solution for it. Thank you for sharing your solution. Feel free to let us know if you need any help.

Thanks

Hi, i am having trouble making it compatible with tailwindcss. Do you have a solution on this issue? I can convert Laravel blade files with “tailwindo”. But I don’t know how to make customized sass files compatible.

https://github.com/awssat/tailwindo

Hi,

Sorry at the moment Metronic does not have a tailwindcss solution. You can check this tutorial in the tailwindcss official doc: https://tailwindcss.com/docs/guides/laravel

Regards, Lauris

Hi if i have project A, and shutdown the A project. can I use same license for Project B after shutdown the A project?

whats is minimum required module in src/core/plugins/metronic.js

if we want to use vue version

Hi!

All these scripts are required but you can remove some of them depending on your requirements.

Regards, Lauris

Hi,

Just an update on your earlier request. We are still waiting for the Envato support reply and once we get it we will inform you.

Regards, Sean

good themes have a switch to switch between light mode and dark mode? In the demo I see the separate themes, any way to unite them to get this switch function?

Hi,

Thanks for your feedback.

At the moment the dark mode is not supported for the entire theme. We are considering enabling it in the near future.

Please follow us at http://twitter.com/keenthemes to stay updated.

Regards, Sean

Hi :),

Just in case if you haven’t seen it yet, we are delighted to inform you that Metronic finally has its complete dark mode version. You can check the dark mode preview here https://preview.keenthemes.com/metronic8/demo1/dark/index.html

Regards, Sean

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve ThemeForest.

Sure, take me to the survey