425 comments found.
Hi …
Is there a possibility to load the offcanvas section also programmatically via jquery/js instead of only reacting to data-bs-toggle=”offcanvas” data-bs-target= ?
Thanks for a quick help. Kind regards, Daniel
Hi, many thanks for choosing OneUI for your project! Yes, you can by using the hide and show methods. For example:
const bsOffcanvas = new bootstrap.Offcanvas('#myOffcanvas');
bsOffcanvas.show();
bsOffcanvas.hide();
Please have a look at the official docs for more examples and info. Hope that helps.
Fantasic! Thank you very much!!!!
You’re welcome, happy coding!!
Hey all! We just wanted to let you know that OneUI 5.4 update just went live and comes packed with Bootstrap 5.2, Laravel Starter Kit with Vite integration, new features, updates and improvements!
All existing customers can download it for free from their downloads page. Changelog and update information can also be found in the updated documentation! 
5.4 Update – August 10, 2022
-
FEATURES
- Offcanvas
- Forms with floating labels (plaintext and input groups examples)
- Centered Dropdowns
- Laravel Starter Kit: Vite integration
-
IMPROVEMENTS
- Landing page design
-
FIXES
- The toggle sidebar button in the header now toggles its visibility and not mini mode in the Sidebar with Mini Nav page example
- Pass a function as a parameter in all One.onLoad() functions (used in various .js files in assets/_js/pages)
-
DEPRECATIONS
- Bootstrap Colorpicker
-
UPDATES
- Bootstrap 5.2.0 (5.1.3)
- Laravel Starter Kit: Laravel 9.23.0 (9.20.0)
- 7 dependencies updated to their latest version
If you have any questions feel free to get in touch through our profile’s contact form, we’ll be more than happy to assist you as soon as possible! Happy updating and coding! 
Hey all! We just wanted to let you know that OneUI 5.3 update just went live and comes packed with new features, updates and improvements! All existing customers can download it for free from their downloads page. Changelog and update information can also be found in the updated documentation! 
5.3 Update – July 15, 2022
- FEATURES
-
IMPROVEMENTS
- Inter font is now self hosted
- Various small design improvements throughout the template
-
FIXES
- Various small markup fixes
-
UPDATES
- 15 dependencies updated to their latest version
- Laravel Starter Kit: Laravel 9.20.0 (9.0)
If you have any questions feel free to get in touch through our profile’s contact form, we’ll be more than happy to assist you as soon as possible! Happy updating and coding! 
Hi, I’m having problems using the OneUI Source (HTML) package with Rails 7, I import the oneui.app.min.js file and I always get this error in the console:
Uncaught TypeError: e is not a function at window.One.constructor.onLoad(oneui.app.min.js:10)
Someone is using Rails 7 and also had this problem?
Tanks
I was use OneUI Source (HTML) version 5.2
onLoad(e) { “loading” != document.readyState ? e() : document.addEventListener(“DOMContentLoaded”, e); }
Hi, please make that you’ve included oneui.app.min.js directly in your views and didn’t import it through your build process.
Alternatively, if you would like to import it in your JS code, you can use the JS source code and import the _js/main/app.js file directly.
In that case, if you are still having the same issue, you can try changing lines 23-25 in _js/main/modules/template.js to the following (in some cases, eg you are using a third party library, let’s say Turbolinks that might be an issue):
constructor() {
this._uiInit();
}
Moreover, if you are using the One.onLoad() function yourself, please make sure that you are passing a function as a parameter, eg:
One.onLoad(function(){
// your code to run on page load..
});
PS: It seems that your support is expired, so if you would like any additional support in the future, please consider extending it. Thank you!
Hi, thank you very much!
Your explanations were precisely the solution to the problem, now everything is working perfectly, I will continue using OneUI as the basis for the layout of my website.
If I need help again I will renew the support.
thanks
You’re welcome, we’re glad you’ve got it working. Wish you all the best with your project and happy coding!
The theme is great, but everything seems a little too big! (Fonts and elements)
I was wondering if there’s a way to zoom out everything? Something similar to pressing CTRL / ⌘ – (minus) on the browser?
Thanks for your kind words, really glad you like it! Most of the design is based on the root font size, so you can easily adjust it to your own liking if you set it in your assets/_scss/custom/_main.scss as follows:
:root {
--bs-root-font-size: 14px;
}
16px is the default size and provides a design that looks and works in an ideal way between various screen resolutions and sizes. Hope that helps!
Hi there. Is there a way to make the entire side menu a horizontal menu and get rid of the side menu? Thanks.
Hi, thank you for your interest in OneUI! Yes, it is very easy to remove the sidebar and use a horizontal navigation instead. We also provide a similar example which you can preview online. Hope that helps!
Very Nice !
Do you happen to have a layout or a similar product more suitable for Medical / Health ?
Thanks
how i can use vuejs version in nuxtjs ?
Hi, many thanks for choosing OneUI for your project! Nuxt is a Vue.js based framework and has some specific conventions. Using OneUI Vue Edition with it is the same as using any other Vue.js based project.
You need to be familiar with both and migrate over the code based on your requirements. Also please have in mind, that Nuxt 3 with Vue.js 3 support is still in the works with no stable release as of today (still in beta).
ok can you please send me the old version of vuejs version with vue 2?
Please send us a message from our profile’s contact form and we will get back to you with a link to download that version.
Hey all! We just wanted to let you know that OneUI Vue Edition 2.0 update just went live and comes packed with amazing features! It is a completely new version based on Vue.js 3, OneUI 5 and Bootstrap 5. It uses Vite, Pinia and Vue Router under the hood and was built using the Composition API with <script setup> sugar syntax.
We make it a completely free update, so all existing customers can download it from their downloads page.
OneUI Vue Edition 2.0 was added – March 24, 2022
If you have any questions feel free to get in touch through our profile’s contact form, we’ll be more than happy to assist you as soon as possible! Happy coding! 
Hello, I remember this template had a frontend theme, do you still have it?
Hi, please have a look at your inbox, we just replied to your email!
Hello author, I love this product, I need OneUI 3,4 (Old Version). How to find this ?
Hello, we just replied to your email, please have a look at your inbox!
Thanks for your fast response
Hi thanks. How can i set dark mode on without using the button in the sidebar (body class=”...dark?) thanks
You’re welcome. You can either use the Layout API on page load..
One.layout('dark_mode_on'); ..or add the following classes on #page-container div by default: sidebar-dark page-header-dark dark-mode
Hey all! We just wanted to let you know that OneUI 5.2 update just went live and comes packed with Laravel 9 Starter Kit, new features, updates and improvements! All existing customers can download it for free from their downloads page. Changelog and update information can also be found in the updated documentation! 
5.2 Update – February 10, 2022
- FEATURES
-
IMPROVEMENTS
- Replaced sass with sass-embedded for faster compilation times
- Improved header overlay visibility
-
FIXES
- template.js forEach is not a function error
-
UPDATES
- Bootstrap 5.1.3 (5.1.1)
- 13 dependencies updated to their latest version
- Laravel Starter Kit: Laravel 9 (8.x)
If you have any questions feel free to get in touch through our profile’s contact form, we’ll be more than happy to assist you as soon as possible! Happy updating and coding! 
Hey What’s new ? Dont see any changes. Thanks
Hey, we’ve updated OneUI Vue Edition with 1.7 update which was released today 
dark-mode doesnt work when remember-theme is in the class toohow to fix that ?
_uiHandleDarkMode(mode = ‘init’) { let self = this;
if (this._lPage.classList.contains(‘remember-theme’)) { let darkMode = localStorage.getItem(‘oneuiDarkMode’) || false; }
if (mode === 'init') {
if (darkMode) {
self._lPage.classList.add('sidebar-dark');
self._lPage.classList.add('page-header-dark');
self._lPage.classList.add('dark-mode');
} else if (mode === 'init') {
self._lPage.classList.remove('dark-mode');
} else if (mode === 'init' ) {
localStorage.removeItem('oneuiDarkMode');
}
}
} else if (mode === 'on') {
localStorage.setItem('oneuiDarkMode', true);
} else if (mode === 'off') {
localStorage.removeItem('oneuiDarkMode');
}
Something in that code, but im not good with JS. thanks
This bug is very annoying for US, because we enforce this theme into all of our projects, and not possible to start with dark mode causes a major problems. Please reply to me , i need a fix to that stuff. Currently i can set just without remember-theme , but if someone change to white mode, it doesnt saves , cuz we are forced to not use ‘remember-theme’ in the page-container.
Very easy to reproduce – open your demo page with dark mode on – “be_layout_dark_mode_on.html” and add ‘remember-theme’ , and the page container becomes white
Hi, this is normal because the remember theme functionality was made to work with a light theme as base, not the other way around.
You can just add the ‘remember-theme’ class (not ‘dark-mode’) and run the following JS code on page load to have dark mode as the default preference:
One.onLoad(function(){
if (localStorage.getItem('oneuiModePreference') === null) {
One.layout('dark_mode_on');
localStorage.setItem('oneuiModePreference', true);
}
});
Hope that helps. Moreover, please have in mind that if you are using OneUI in more than one end product, you have to acquire additional licenses for each additional one.
@pixelcave your template is the best, but I need to use a select2 inside a modal and I can’t, can you help me?
Hi, many thanks for choosing OneUI for your project and feedback, really happy you like it! Please try setting Select’s dropdown parent to your modal by bypassing the default helper and using something like the following:
One.helpersOnLoad(function(){
jQuery('.js-select2').select2({
dropdownParent: jQuery('#your-modal-id')
});
});
Hope that helps! Should you need any further help in the future, please consider extending your support, thank you! 
Just a small fix to the code:
One.onLoad(function(){
jQuery('.js-select2').select2({
dropdownParent: jQuery('#your-modal-id')
});
});
@pixelcave thank you! Best template, best author!
Thank you for your kind words! We’re very happy it was helpful and you’ve got it working. Happy coding! 
Hi. Sorry for the inconvenience but is the integration of this template on ReactJS simple? URGENT
Hi, thank you for your interest in OneUI! If you are familiar with React and JavaScript it won’t be that hard to migrate the core JS functionality over since we are not using any third party libraries such as jQuery.
If on the other hand you are not very confident with React and JavaScript, you might find it a bit overwhelming. Using the design on its own though, it’s a simple process. Hope that helps!
Thanks for the answer, I am comfortable with ReactJS. I just didn’t want some features to break using the theme and ReactJS because of the DOM. Your answer is satisfactory. Thank you.
You’re welcome, thank you once again for your interest, wish you all the best with your project!
ReactJS version please?
Thanks for your interest in OneUI! There is no such version available at the moment but we might create one in the future, so stay tuned.
Hello author, love new updates, i would like to see new Blocks API called “sticky-block-header”, in upcoming updates.
Hello, many thanks for choosing OneUI for your project, really glad you like the latest updates! Thanks for you suggestion, we will evaluate such feature and we might implement it in a future update, so stay tuned.
@pixelcave Can I make a suggestion that you don’t regenerate fake data for every new release? What I mean is for example on the HTML layout the section called “Pending Orders” of be_pages_dashboard.html has different names / amounts.
I’m not sure how other people do it but for upgrades I’ve been diffing the old HTML and the new. Using randomly generated (each time) data just adds noise to the diffs. Thanks in advance!
Hi Rob, many thanks for choosing OneUI for your project! Thanks for your suggestion, it makes perfect sense.
The thing is that we don’t force the regeneration but rather use few functions which auto generate dummy content from the PHP version. It is something that we can’t bypass unless we hardcode the content which defeats the purpose of quickly having dummy content for the example pages.
Is there a specific reason you diff the .html files? The update process is the same for each update (updating section includes further info) and if there is an additional change you need to apply to your markup with an update, we always provide the related info in the changelog.
Thanks @pixelcave for responding. I’m not sure I’m following because I’m referring to diffing the changes in the HTML version. It’s not a huge deal but I’m using the Laravel version where I’ve integrated OneUI templates into my app. When a new version of OneUI comes out I diff the HTML version to find out what CSS classes or other changes have happened so I can manually apply those changes. Some examples of those changes are:
enable-cookies to remember-theme
“link-fx font-w600 font-size-h2 text-white” to “link-fx fw-semibold fs-2 text-white” for the link that wraps the app name.
Switching from “form-group” to “mb-4”.
If there is a better way to do this I’m all ears! Thanks either way.
You’re welcome Rob. We’re sorry that we didn’t specify it but with each update we auto generate the HTML version from the PHP one and that’s why there are always changes to the dummy data. Hope that makes sense now.
We can totally understand what you mean and understand how a diff can be helpful in that case. That kind of changes though are always documented in the changelog and most of the time are very few. The exception comes with the 5.0 version which we consider as a new separate version due to many changes that took place because of Bootstrap 5 migration and improvements we made under the hood (that’s why we didn’t include a changelog to upgrade from 4.9).
If you are interested, please send us a message from our profile’s contact form and we will send you over a complete changelog for upgrading from 4.x to 5.x (for example, the class changes in your example happened due to Bootstrap 5 – more info can be found at https://getbootstrap.com/docs/5.1/migration/ ). Hope that helps!