447 comments found.
Hiya. Great theme. Big fan. Your Success Colors for buttons has dark text and we’d like to change that to white globally. Is there a mix or something that is calculating that? Something I can adjust? Or will I need to write a ‘text-white’ in my success buttons? Super new to scss/mix Thanks!
Sorry. I found this answer myself, which led to another problem I’ll post separately. Thanks
No problem, glad you were able to find the answer you were looking for! Let us know if you have any other questions or issues.
Hi,
I need to know how to remove the events added by the dom.js file. We are using the html file for now.
Using importmaps on ruby on rails with hotwire in some cases we need render the same page and js witch will give us a lot of duplicated events
because this JS uses a lot of events with anonymous functions.
Hello hdlp09,
Thank you for reaching out to us regarding the issue you’re facing with the dom.js file. We understand the concern about duplicated events when using importmaps with Ruby on Rails and Hotwire.
The “dom.js is a built-in mini library created to manipulate the dom element inspired by jQuery. We wrote this library to keep the final code size small by removing unnecessary functions in jQuery. You can access the code of dom.js at the following path /node_modules/@left4code/tw-starter/dist/js/dom.js. To remove events attached with this library, you can use the following code example:
$("#selector").replaceWith($('#selector').clone());
https://stackoverflow.com/questions/9251837/how-to-remove-all-listeners-in-an-element#answer-28375061
We hope this solution will be helpful in resolving your issue. If you need further assistance, please don’t hesitate to reach out to us again.
Best regards, Left4code Team
It worked. I think you should include this in another release, and maybe add something closer to jQuery off method to avoid this type of issues. Because now for every event a need to remove and clone all elements, not a very clean solution.
Hi there,
Thank you for the feedback! I’m glad to hear that the solution worked for you. We strive to continuously improve our package, so we appreciate any suggestions from our users.
Actually, I have some good news for you! We have just released an update for the `.off()` method that includes a cleaner solution to avoid these types of issues. To update the package, please run `yarn add @left4code/tw-starter`.
Thank you for using our package and for your valuable feedback. If you have any other suggestions or issues, please don’t hesitate to reach out to us.
Best regards.
Hello, I have purchased the tabulator-tables. I have purchased the tabulator-tables, but after changing the tabulator-tables from ver. “4” to “5”, I get an error with npx mix. The error is
WARNING in ./src/js/tabulator.js 17:20-29 export ‘default’ (imported as ‘Tabulator’) was not found in ‘tabulator-tables’ (possible exports: AccessorModule, AjaxModule, CalcComponent, CellComponent, ClipboardModule, ColumnCalcsModule, ColumnComponent, DataTreeModule, DownloadModule, EditModule, ExportModule, FilterModule, FormatModule, FrozenColumnsModule, FrozenRowsModule, GroupComponent, GroupRowsModule, HistoryModule, HtmlTableImportModule, ImportModule, InteractionModule, KeybindingsModule, MenuModule, Module, MoveColumnsModule, MoveRowsModule, MutatorModule, PageModule, PersistenceModule, PopupModule, PrintModule, PseudoRow, ReactiveDataModule, Renderer, ResizeColumnsModule, ResizeRowsModule, ResizeTableModule, ResponsiveLayoutModule, RowComponent, SelectRowModule, SortModule, Tabulator, TabulatorFull, TooltipModule, ValidateModule)
Can you solve it?
Sorry, I purchased Midone, not tabulator-tables, and I would like to upgrade the tabulator-tables version to Series 5.
The tabulator-tables case has been resolved. When I refresh the page, the elements fade in. Can this be changed to no fade-in?
Hello uwsolu,
Thank you for reaching out to us regarding the tabulator-tables issue. We’re glad to hear that the issue has been resolved, and the elements are fading in when you refresh the page.
Regarding your request to change the fade-in effect, we would be happy to assist you with that. Can you please provide more information on what exactly you want to change and how you would like the fade-in effect to be? This will help us better understand your requirements and provide an accurate solution.
Looking forward to hearing back from you soon.
Best regards, Left4code Team
Hello, Thanks for the reply. Specifically, I would like to disable the fade-in effect for each of the side menu items.
Thanks for your reply. To disable the fade-in effect for each of the side menu items, you can open this file `/src/assets/css/components/_side-nav.css` and comment the following lines.
https://i.imgur.com/g2vfYt6.png
Please use incognito if you are using chrome or use another browser if you can’t open the above link.
Please let me know if you have any further questions or concerns. I am here to help.
Best regards, Left4code Team
Thanks for your reply. Does `/src/assets/css/components/_side-nav.css` mean `/src/css/components/_side-nav.css`? I changed it and did npx mix, but it doesn’t change. Also in ‘dist/css/_app.css’ of ‘mix.css(“dist/css/_app.css”, “dist/css/app.css”)’ written in ‘webpack.mix.js’ Can I rewrite it?
Hello uwsolu,
Thanks for reaching out to us again. In order to better assist you with your issue, could you please provide us with your email address and the version of the Midone theme you are using? This will help us to send you an example project without the side-nav animation.
Regarding the mix command, you can change the dist/css/_app.css to dist/css/app.css in the webpack.mix.js file if that’s what you would like.
We are looking forward to hearing back from you soon.
Best regards, Left4code Team
Hello. Thank you Left4code. The version will be Enigma v1.0.5. I asked this question because it would be more convenient for content that frequently goes back and forth between menus without fading. Can I write my email address here?
Of course! You can feel free to email us at leftforcode@gmail.com with your email address. We would be more than happy to send you the example project without the side-nav animation. Thank you for choosing Enigma v1.0.5 and we hope you find it to be a convenient solution for your content.
Dear Team
we are using three major components through out the template i.e – Data-table, Date Pickers, Modal dialog and Tab controls.
1. Data-table challenges I am using regular table class name – table table-bordered table-hover but not achieve pagination, table row filters and search features like tabulator. I tried with tabulator which is mapped with “app.js” but finding difficulties in binding data to table. how can I achieve features like search, pagination, row filter present in tabulator table into the regular table with class name mentioned above. Example we have shared the link
2. j query challenges we are not able to refer standard j-query lib in the script tags and use features like a) $(”#test option:selected”).text(); b) cannot make a ajax call c) find(“td:eq(33)”).text();
3. Nav menu challenges when sub-menu item is selected, page will be redirected but sub menu is not highlighted and open.
j-query version – 3.6.3V
Application we are developed in .net framework v4.7.2
Demo Site(all the issue type mentioned) Link – http://www.smarthyneticworld.com/Test
kindly please guide us to fix the challenges ASAP Thank you
Dear adminh1,
Thank you for reaching out to us regarding the challenges you are facing with your implementation of data tables, date pickers, modal dialogs, and tab controls. I understand that you are encountering difficulties in binding data to tables, referencing the standard jQuery library in your script tags, and ensuring that sub-menu items remain highlighted and open when selected.
1. To customize the data in Tabulator, you need to update the code in the following file /src/js/tabulator.js. In this file, you can change the columns and other properties from the Tabulator configuration. Then, you need to compile the JS assets using the command yarn run watch.
2. Currently, we are not using jQuery. We have written a built-in mini library called ‘dom.js’ which is used to manipulate the DOM elements and is inspired by jQuery. We wrote this library to keep the final code size small by removing unnecessary functions in jQuery. You can access the code of dom.js at the following path: /node_modules/@left4code/tw-starter/dist/js/dom.js.
However, we can replace this plugin with jQuery if you require the full functionality of jQuery. First, we need to install jQuery using the command ‘yarn add jquery’. Then, access the file at /src/js/bootstrap.js and replace the following line.”
// Load plugins
import helper from "./helper";
import * as Popper from "@popperjs/core";
// Replace this line
// import dom from "@left4code/tw-starter/dist/js/dom";
// To this
import jquery from "jquery";
// Set plugins globally
window.helper = helper;
window.Popper = Popper;
// Replace this line
// window.$ = dom;
// To this
window.$ = jquery;
After that, you can use the functions in jQuery as usual.
3. To activate the active side menu, you need to manually add the class “side-side-menu—active” to the active menu and “side-menu__sub-open” to the active submenu dropdown. You can do this on the backend side. For more details, you can check out the following element structure.
https://i.imgur.com/3dWuLZj.png
Please use incognito if you are using chrome or use another browser if you can’t open the above link.
We hope this solution will be helpful in resolving your issue. If you need further assistance, please don’t hesitate to reach out to us again.
Best regards, Left4code Team
Dear team,
I’m using date-picker in different pages but it should be different format. 1.DD-MM-YYYY 2.MM-YYYY 3.YYYY 4.DD
I want use the date-picker in different formats
How can we achieve this, please guide us
Hello!
Thanks for reaching out. To change the format of your date picker, you can follow these steps:
1. Open the file “src/js/datepicker.js”.
2. On line 15, you can change the format to one of the following options: “DD-MM-YYYY”, “MM-YYYY”, “YYYY”, or “DD”.
3. The format option should be set to the desired format you would like to use.
Let me know if you have any other questions or if there’s anything else I can assist with.
I have sent you an email regarding this issue ‘When a page is refreshed the sidebar menu is shaken. How to disable this shaking?’
But it’s not replied to. Please check and reply to me please.
Hi, I’m using a older version of the templates and it has @left4code/tw-starter V1.1.0 , i see there is a V 3.1.39 but i cant upgrdae it without everything breaking, what is this file/ dependancy doing?
Hi there,
Thank you for reaching out to us,
The latest updates of the package @left4code/tw-starter v3+ were released for Tailwind 3+, in the latest version, the Midone package doesn’t use SASS anymore and only uses regular CSS because of a compatibility issue with Tailwind.
You can see the code in ”/node_modules/@left4code/tw-starter/dist/*” for more details.
Hi Is it possible to change the dark mode without refreshing the page? (HTML version)
Hi,
Thank you for reaching out to us,
The short answer is, yes, it’s possible. We only need to add the dark mode class to the root HTML element.
Is it possible to add this item in future updates?
Hi, I need help. I want to apply this to the sveltekit project. Is there an example?
Hi there,
Sorry for the late response,
Unfortunately, at this time our team doesn’t have any integration experience with sveltekit or the boilerplate that works with svelte.
Please don’t hesitate to contact us if you have any other questions.
Hi there,
Simple Api Token authentication aren’t working ! Even the basic default one from Laravel (Get on /api/user)
Any workaround please ?
Thanks & Regards
Note : For each Api call using the middleware auth:sanctum, we are redirected to the home page
How can I remove side-nav, top-nav or other page elements animations? Please answer me
can you add Kanban component?
Hello, bought two of your Templates, Rue and HTML editions. I need to implement Tables with Datatables. Don’t like tabulator. How Can i make it work with your app.js Please tell me how can i make it work.
Hi there,
Sorry for the late reply,
Actually, we have never used `Datatable`, and this is not included in the Item Support because the use of plugins other than what we provide is the responsibility of each buyer.
But maybe you can try the following steps.
To use `Datatables` you need to install the package first.
yarn add jquery
yarn add datatables.net
yarn add datatables.net-dt
Create new file ”/src/js/datatable.js”.
var jquery = require( 'jquery' );
var dt = require( 'datatables.net' )( window, jquery);
let table = new DataTable('#example', {
// options
});
Last step, import the last created file into app.js.
/*
|--------------------------------------------------------------------------
| Custom Components
|--------------------------------------------------------------------------
|
| Import JS custom components.
|
*/
import "./maps";
import "./chat";
import "./show-modal";
import "./show-slide-over";
import "./show-dropdown";
import "./search";
import "./copy-code";
import "./show-code";
import "./side-menu";
import "./mobile-menu";
import "./side-menu-tooltip";
import "./dark-mode-switcher";
// Import last created datatable file
import "./datatable";
Run `yarn run watch` to recompile the assets.
Hope this helps.
Hi,
is there a chance to get the XD Design File (mentioned in the delivered files) for the Midone Admin Dashboard Template ?
dcbd1cb0-aec0-41cc-ac57-a8e857c8ea34 – 26 Oct 2022
BR Daniel
Hi,
Thank you for reaching out to us,
The XD design file is currently only available for Rubick version, the first version of Midone. You can check it inside the Rubick version directory.
Hello, Are you providing a customization service?!
Hi,
Thank you for reaching out to us,
Unfortunately, We currently do not provide customization service.
Hi Support Team
Is this template based on Bootstrap 4 or 5 version ?
Hi,
Thank you for reaching out to us,
Unfortunately, we don’t use bootstrap, it’s a Tailwind template.
I hope all is well with you. I bought your theme “Icewall v2.0.7” and I found it awesome, but I’m facing some problems while trying to use the built-in Tabulator implementation in my views.
I’m using .Net Core framework as a back-end and front-end, and I saw the example of how to make the Tabulator package accessible outside the app.js. Now when defining the table all is good, and it returns the real number of record, and filtration and ordering is all perfect. But, whatever I send to the table shows empty rows, there is no data is being filled in the table, whereas, it returns the total count of records successfully.
Images descriptions: 1.jpg: the return list that should be returned from API to MVC controller. 2.jpg: tabulator table column definition. 3.jpg: a collection of data “IEnumerable object in C#”. 4.jpg: the data which is being returned to the tabulator table. 5.jpg: the table with an empty value.
Note that I’m sending two records from my API controller, and the record count in the table is two.
I cannot clarify the problem, I tried too much with no result. I attached some pictures that may help you to configure my problem.
Can you please send me this template with the Vite setup. I am trying to integrate this template on Laravel Vite, but It has only webpack.
My email is : damodar.bhattarai.1999@gmail.com
Hi,
Sorry for the late reply,
Just had time to make a sample project. We have sent the file, please check your email.
Hi,
I just purchased the themeforest-eowLGjvS-midone-jquery-tailwindcss-html-admin-template and Im wondering if there is a chance to get the mentioned XD files as well.
BR Daniel
Hi there,
Thank you for reaching out to us,
The XD design files are currently only available for the Rubick version.
https://prnt.sc/17tcd3a
Best regards, Left4code Team
I need wordpress version. please.