Thank you for showing interest towards our admin template. Feel free to contact us any time. We have a dedicated team to provide you the best support. If you want any queries open support ticket https://support.spruko.com.
Ynex - Codeigniter Premium Bootstrap-5 Admin Template, With these template formats, it's very easy to create a presence and grab someone's attention around the web page Because the template is built using HTML5, CSS3, Bootstrap 5 framework and with Sass. So please before you start working with the template take a quick look on the documentation so that you can easily built your website.
If You Love Our Template Design Please don't forgot to rate it. Thank you so much! π
Ynex is a Codeigniter Premium Bootstrap-5 Admin Template using modern and minimal design. It is fully flexible user-friendly and responsive. Ynex Modern template is powered with HTML 5, SASS, & Bootstrap 5 which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 170+ PHP Pages . No Need to do hard work for this template customization. We already designed it and you can easily design your website just how you like it. This template using Bootstrap 5 framework. After Purchased this template you will get All PHP files,CSS, Scss and JS Files.
It has super clean flat user interface admin design, easy customizable components and widgets.The Template comes with a awesome unique design also we ensure you can easily design template.
It is a fully responsive layout for all type of devices. Works on all major web browsers, Desktop, iPhone, iPad, Tablet and all other smart phone devices
Once you Purchase Ynex Premium Bootstrap-5 Admin Template, you will be able to get free download of all future updates.
| No Jquery | Dark Layout | RTL Ready |
| 12 Different Dashboards | Authentication Pages | Error Pages |
| 170+ PHP Pages | Easy to Customize | Bootstrap 5 Responsive Framework |
| Form Elements | Draggable Cards | Ratings |
| Grid JS Tables | Data Tables | Gallery |
| Apex Charts | Chartjs Charts | Echarts |
| Full Calendar | Sweet Alerts | Swiper JS |
| Blog Pages | Mail App | Chat |
| File Manager | Invoice | Landing |
| Pricing | Profile | Notifications |
| 24 * 7 Professional Company Support | Ecommerce Pages | Under Construction Page |
| Color Theme Support (Primary and Background) | Neat, clean and simple design | W3C Validated |
Step1: Please visite the Official Web Site of the Composer www.getcomposer.org
Step2: Click on the Download option
Step3: Click on the Composer-Setup.exe you are done with download
Step4: Now Right click on the Composer-Setup.exe file and select Run as administrator click on Yes
Step5: You'll be getting two options click as per your choice
Step6: I choose Recommended option here and if your developer you can check the box of the Developer Mode
Step7: And click on the Next button please make sure of installation path and then click Next
Step8: You'll be asked to enter proxy url please skip the step and click on the Next button
Step9: Please make sure with the PHP Version it should not be less than 7.3 V, here we used 8.0.9 Version and then click on the next button
Step10: To confirm that Composer is installed in your system then type Composer in command prompt (if you are using XAMPP then go to C:\xampp\htdocs location and type composer)
Note : This installation is shown based on XAMPP server..
Step1: Open command prompt, find the path of your XAMPP that is installed in your system.
Step2: Set your path as (Example: C:\xampp\htdocs>) in command prompt.
Step3. Now type the following command line to install the CodeIgniter Packages in your "htdocs" folder composer create-project codeigniter4/appstarter my-project and press Enter.
Step4: Now your downloading is started please wait for sometime to download all the necessary dependencies and packages.
Step5: Once you are redirected to the Token (hidden):_ path then you are sucessfully installed CodeIgniter
Step6: You can also download the CodeIgniter framework using this link https://codeigniter.com/download
// Optional: If you want to asscess your index.php file from your root directory.Step7: Once the framework is downloaded you need to make a small changes in index.php file that is located in your public folder.
Step8: Take a copy of index.php file and paste it in your root folder that is out
of your public folder and open it in your editor and replace the code
$pathsPath = realpath(FCPATH . '../app/Config/Paths.php');
to $pathsPath = realpath(FCPATH . 'app/Config/Paths.php');
Step9: Note : If you have any further queries in installation please refer to the official websites Click here
"php spark serve" or "php -S localhost:8080"
Note :
Please make sure with your "public $baseURL" (Set
your "public $baseURL" according to your root path)
In your root directory
app/config/app.php open app.php in your editor and set the url
Example: public $baseURL = 'http://localhost:8080';
The Codeigniter starterkit is a resource that helps developers kickstart their Codeigniter web development projects by providing a preconfigured and ready-to-use template. It aims to simplify the initial setup and provide a foundation for building Codeigniter Framework-based websites or applications.
The purpose of the Codeigniter starter kit is to save developers time and effort by offering a set of prebuilt files and configurations commonly used in Codeigniter projects. Instead of starting from scratch, developers can leverage the starter kit to quickly set up a project structure that adheres to best practices and industry standards.
The starter kit eliminates the need to set up the basic project structure manually. It provides a well-organized file and folder structure, including commonly used directories for separating code, templates, assets, and configuration files. This allows developers to focus more on implementing business logic rather than spending time on initial setup.
You can use the Starterkit if you are creating a new project. It will be time-consuming to use the full admin version for a new project as Ynex have more than 174 pages.
We have provided all the pre-build layouts like Sidemenu, Header, footer and blank pages etc in the Starterkit.
For further information or support regarding the template, please contact us using the provided link.
https://support.spruko.com/
βββ app/
| βββ Config
| βββ Controllers
| βββ Database
| βββ Filters
| βββ Helpers
| βββ Language
| βββ Libraries
| βββ Models
| βββ ThirdParty
| βββ Views/
| | βββ errors
| | βββ layouts
| | | βββ components
| | | | βββ footer.php
| | | | βββ main-header.php
| | | | βββ main-sidebar.php
| | | | βββ model.php
| | | | βββ scripts.php
| | | | βββ styles.php
| | | | βββ switcher.php
| | | βββ main.php
| | βββ pages
| | βββ index.php
βββ public
βββ tests
βββ vendor
βββ writable
βββ .env
βββ .gitignore
βββ .htaccess
βββ builds
βββ composer.json
βββ composer.lock
βββ env
βββ esbuild.config.js
βββ LICENSE
βββ package-lock.json
βββ package.json
βββ phpunit.xml.dist
βββ preload.php
βββ README.md
βββ spark
βββ app/
βββ public
βββ tests
βββ vendor
βββ writable
βββ .env
βββ .gitignore
βββ .htaccess
βββ builds
βββ composer.json
βββ composer.lock
βββ env
βββ esbuild.config.js
βββ LICENSE
βββ package-lock.json
βββ package.json
βββ phpunit.xml.dist
βββ preload.php
βββ README.md
βββ spark
Ynex comes with power of Esbuild
Esbuild is a cutting-edge JavaScript task runner that automates common development tasks, such as compiling Sass to CSS, minifying JavaScript and CSS files, optimizing images, and more. Esbuild allows developers to define tasks that process files in a project, and then run those tasks automatically when files are changed or when specific commands are issued.for more information about Esbuild Check here.
Please follow below steps to install and setup all pre requisites:
Make sure to have the Node.js installed & running in your computer. If you have already installed nodejs on your computer, you can skip this step, otherwise install nodejs on your computer,
Note : If you are using the latest version of Node JS or want to install and use the latest version, click here
Make sure to have the Esbuild installed &
running in your computer. If you have already installed Esbuild on your computer, you can skip
this step. In order to install, just run command npm install from
your terminal.
To setup, follow below mentioned steps:
Make sure to have all above pre requisites installed & running in your computer
Open your terminal, go to your folder and enter the command npm install. This
would install all required dependencies in node_modules folder.
After you finished with the above steps, you can run the following commands into the terminal/command prompt from the root directory ( your project location ) of the project to run the project locally or build for production use:
npm run build
Note:- please ensure that you have installed all node_modules requried to run Esbuild tasks .
| Command | Description |
|---|---|
npm install
|
npm install command is used to intall required dependencies to run Esbuild in node_modules
|
npm run build
|
In this template Esbuild watch command is for what ever changes made in scss folder, will watch and run an appropriate task.
All the CSS files under public/assets/css/ folder will be watched and upon changes made to these files, the styles task will be executed.
|
If you have installed XAMPP on your machine then please follow the below steps
1. Download and Install the Composer from official site https://getcomposer.org/
2. Install CodeIgniter by using Composer as mentioned in the installation process above.
1. After installing your CodeIgniter, Open Xampp and click on the start button on the Apache server and MySQL server
2. Extract the zip file of CodeIgniter project that you received.
3. Please set your public $baseURL before going to run your project, go to /app/Config/app.php Example: public $baseURL = 'http://localhost:8080'; and set your project path in command prompt.
4. If your project is placed in Local Server, Example: C:\xampp\htdocs\myprojectfolder
5. If your project is placed in Desktop, Example: cd C:\Users\Admin\Desktop\myprojectfolder
6. Now run the command line: "php spark serve" or "php -S localhost:8080"
7. Your CodeIgniter PHP Development Server as been started (http://localhost:8080)
8. Copy the url and past it in your favorite browser
Upload the Project that you have purchased, based on your uploading process on server
βββ app/
| βββ Config
| βββ Controllers
| βββ Database
| βββ Filters
| βββ Helpers
| βββ Language
| βββ Libraries
| βββ Models
| βββ ThirdParty
| βββ Views/
| | βββ errors
| | βββ layouts
| | | βββ components
| | | | βββ landingpage/
| | | | βββ custom-scripts.php
| | | | βββ custom-styles.php
| | | | βββ custom-switcher.php
| | | | βββ footer.php
| | | | βββ main-header.php
| | | | βββ main-header1.php
| | | | βββ main-sidebar.php
| | | | βββ model.php
| | | | βββ scripts.php
| | | | βββ styles.php
| | | | βββ switcher.php
| | | βββ custom-main.php
| | | βββ custom-main2.php
| | | βββ landing-main.php
| | | βββ landing-main1.php
| | | βββ main.php
| | βββ pages
| | βββ 170 + .php (files)
βββ public/
| βββ assets
| βββ .htaccess
| βββ favicon
| βββ index.php
| βββ robots.txt
βββ tests/
βββ vender/
βββ writable/
| βββ cache
| βββ debugbar
| βββ logs
| βββ session
| βββ uploads
| βββ .htaccess
βββ .env
βββ .gitignore
βββ .htaccess
βββ builds
βββ composer.json
βββ composer.lock
βββ env
βββ esbuild.config.js
βββ LICENSE
βββ package-lock.json
βββ package.json
βββ phpunit.xml.dist
βββ preload.php
βββ README.md
βββ spark
If you want to remove switcher to your template follow the below process.
Go to root path: app/views/layouts/main.php open main.php in that file, below the body tag, remove the switcher path given below.
Switcher path:
Before:
<body class="">
Remove this(
<!-- Start::main-switcher -->
<?= $this->include('layouts/components/switcher'); ?>
<!-- End::main-switcher -->
)
After :
<body class="">
(removed switcher path)
Go to root path: app/views/layouts/components/scripts.php open "scripts.php" file and then remove the"custom-switcher.js" link as shown below.
REMOVED SWITCHER SCRIPT :
<!-- Custom-Switcher JS -->
<script src="<?php echo base_url('assets/js/custom-switcher.min.js'); ?>"></script>
Go to root path: app/views/layouts/components/styles.php open "styles.php" file and then remove the"main.js" link as shown below.
REMOVED SWITCHER SCRIPT :
<!-- Main JS -->
<script src="<?php echo base_url('assets/js/main.js'); ?>"></script>
Go to root path: app/views/layouts/main.php open main.php file and then chenge main-header to main-header1 given below.
Before:
<!-- Start::main-header -->
<?= $this->include('layouts/components/main-header'); ?>
<!-- End::main-header -->
After:
<!-- Start::main-header1 -->
<?= $this->include('layouts/components/main-header1'); ?>
<!-- End::main-header1 -->
Go to root path: public/assets/js/custom.js open custom.js Finally replace complete custom.js file
(function () {
"use strict";
/* page loader */
if (localStorage.getItem("ynexdarktheme")) {
document.querySelector("html").setAttribute("data-theme-mode", "dark")
document.querySelector("html").setAttribute("data-menu-styles", "dark")
document.querySelector("html").setAttribute("data-header-styles", "dark")
}
function hideLoader() {
const loader = document.getElementById("loader");
loader.classList.add("d-none")
}
window.addEventListener("load", hideLoader);
/* page loader */
/* tooltip */
const tooltipTriggerList = document.querySelectorAll(
'[data-bs-toggle="tooltip"]'
);
const tooltipList = [...tooltipTriggerList].map(
(tooltipTriggerEl) => new bootstrap.Tooltip(tooltipTriggerEl)
);
/* popover */
const popoverTriggerList = document.querySelectorAll(
'[data-bs-toggle="popover"]'
);
const popoverList = [...popoverTriggerList].map(
(popoverTriggerEl) => new bootstrap.Popover(popoverTriggerEl)
);
//switcher color pickers
const pickrContainerPrimary = document.querySelector(
".pickr-container-primary"
);
const themeContainerPrimary = document.querySelector(
".theme-container-primary"
);
const pickrContainerBackground = document.querySelector(
".pickr-container-background"
);
const themeContainerBackground = document.querySelector(
".theme-container-background"
);
/* header theme toggle */
function toggleTheme() {
let html = document.querySelector("html");
if (html.getAttribute("data-theme-mode") === "dark") {
html.setAttribute("data-theme-mode", "light");
html.setAttribute("data-header-styles", "light");
html.setAttribute("data-menu-styles", "light");
if (!localStorage.getItem("primaryRGB")) {
html.setAttribute("style", "");
}
html.removeAttribute("data-bg-theme");
localStorage.removeItem("ynexdarktheme");
html.setAttribute("data-header-styles", "light");
} else {
localStorage.setItem("ynexdarktheme", "true");
if (localStorage.getItem("ynexdarktheme")) {
document.querySelector("html").setAttribute("data-theme-mode", "dark")
document.querySelector("html").setAttribute("data-menu-styles", "dark")
document.querySelector("html").setAttribute("data-header-styles", "dark")
}
}
}
let layoutSetting = document.querySelector(".layout-setting");
layoutSetting.addEventListener("click", toggleTheme);
/* header theme toggle */
/* Choices JS */
document.addEventListener("DOMContentLoaded", function () {
var genericExamples = document.querySelectorAll("[data-trigger]");
for (let i = 0; i < genericExamples.length; ++i) {
var element = genericExamples[i];
new Choices(element, {
allowHTML: true,
placeholderValue: "This is a placeholder set in the config",
searchPlaceholderValue: "Search",
});
}
});
/* Choices JS */
/* footer year */
document.getElementById("year").innerHTML = new Date().getFullYear();
/* footer year */
/* node waves */
Waves.attach(".btn-wave", ["waves-light"]);
Waves.init();
/* node waves */
/* card with close button */
let DIV_CARD = ".card";
let cardRemoveBtn = document.querySelectorAll(
'[data-bs-toggle="card-remove"]'
);
cardRemoveBtn.forEach((ele) => {
ele.addEventListener("click", function (e) {
e.preventDefault();
let $this = this;
let card = $this.closest(DIV_CARD);
card.remove();
return false;
});
});
/* card with close button */
/* card with fullscreen */
let cardFullscreenBtn = document.querySelectorAll(
'[data-bs-toggle="card-fullscreen"]'
);
cardFullscreenBtn.forEach((ele) => {
ele.addEventListener("click", function (e) {
let $this = this;
let card = $this.closest(DIV_CARD);
card.classList.toggle("card-fullscreen");
card.classList.remove("card-collapsed");
e.preventDefault();
return false;
});
});
/* card with fullscreen */
/* count-up */
var i = 1;
setInterval(() => {
document.querySelectorAll(".count-up").forEach((ele) => {
if (ele.getAttribute("data-count") >= i) {
i = i + 1;
ele.innerText = i;
}
});
}, 10);
/* count-up */
/* back to top */
const scrollToTop = document.querySelector(".scrollToTop");
const $rootElement = document.documentElement;
const $body = document.body;
window.onscroll = () => {
const scrollTop = window.scrollY || window.pageYOffset;
const clientHt = $rootElement.scrollHeight - $rootElement.clientHeight;
if (window.scrollY > 100) {
scrollToTop.style.display = "flex";
} else {
scrollToTop.style.display = "none";
}
};
scrollToTop.onclick = () => {
window.scrollTo(0, 0);
};
/* back to top */
/* header dropdowns scroll */
var myHeaderShortcut = document.getElementById("header-shortcut-scroll");
new SimpleBar(myHeaderShortcut, { autoHide: true });
var myHeadernotification = document.getElementById(
"header-notification-scroll"
);
new SimpleBar(myHeadernotification, { autoHide: true });
var myHeaderCart = document.getElementById("header-cart-items-scroll");
new SimpleBar(myHeaderCart, { autoHide: true });
/* header dropdowns scroll */
})();
/* full screen */
var elem = document.documentElement;
function openFullscreen() {
let open = document.querySelector(".full-screen-open");
let close = document.querySelector(".full-screen-close");
if (
!document.fullscreenElement &&
!document.webkitFullscreenElement &&
!document.msFullscreenElement
) {
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.webkitRequestFullscreen) {
/* Safari */
elem.webkitRequestFullscreen();
} else if (elem.msRequestFullscreen) {
/* IE11 */
elem.msRequestFullscreen();
}
close.classList.add("d-block");
close.classList.remove("d-none");
open.classList.add("d-none");
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
} else if (document.webkitExitFullscreen) {
/* Safari */
document.webkitExitFullscreen();
console.log("working");
} else if (document.msExitFullscreen) {
/* IE11 */
document.msExitFullscreen();
}
close.classList.remove("d-block");
open.classList.remove("d-none");
close.classList.add("d-none");
open.classList.add("d-block");
}
}
/* full screen */
/* toggle switches */
let customSwitch = document.querySelectorAll(".toggle");
customSwitch.forEach((e) =>
e.addEventListener("click", () => {
e.classList.toggle("on");
})
);
/* toggle switches */
/* header dropdown close button */
/* for cart dropdown */
const headerbtn = document.querySelectorAll(".dropdown-item-close");
headerbtn.forEach((button) => {
button.addEventListener("click", (e) => {
e.preventDefault();
e.stopPropagation();
button.parentNode.parentNode.parentNode.parentNode.parentNode.remove();
document.getElementById("cart-data").innerText = `${
document.querySelectorAll(".dropdown-item-close").length
} Items`;
document.getElementById("cart-icon-badge").innerText = `${
document.querySelectorAll(".dropdown-item-close").length
}`;
console.log(
document.getElementById("header-cart-items-scroll").children.length
);
if (document.querySelectorAll(".dropdown-item-close").length == 0) {
let elementHide = document.querySelector(".empty-header-item");
let elementShow = document.querySelector(".empty-item");
elementHide.classList.add("d-none");
elementShow.classList.remove("d-none");
}
});
});
/* for cart dropdown */
/* for notifications dropdown */
const headerbtn1 = document.querySelectorAll(".dropdown-item-close1");
headerbtn1.forEach((button) => {
button.addEventListener("click", (e) => {
e.preventDefault();
e.stopPropagation();
button.parentNode.parentNode.parentNode.parentNode.remove();
document.getElementById("notifiation-data").innerText = `${
document.querySelectorAll(".dropdown-item-close1").length
} Unread`;
document.getElementById("notification-icon-badge").innerText = `${
document.querySelectorAll(".dropdown-item-close1").length
}`;
if (document.querySelectorAll(".dropdown-item-close1").length == 0) {
let elementHide1 = document.querySelector(".empty-header-item1");
let elementShow1 = document.querySelector(".empty-item1");
elementHide1.classList.add("d-none");
elementShow1.classList.remove("d-none");
}
});
});
/* for notifications dropdown */
Go to root path: app/views/layouts/landing-main.php open landing-main.php in that file, below the body tag, remove the switcher path given below.
Switcher path:
Before:
<body class="landing-body">
Remove this(
<!-- Start::main-switcher -->
<?= $this->include('layouts/components/landingpage/switcher'); ?>
<!-- End::main-switcher -->
)
After :
<body class="landing-body">
(removed switcher path)
Go to root path: app/views/layouts/landing-main.php open landing-main.php file and then chenge main-header to main-header1 given below.
Before:
<!-- Start::main-header -->
<?= $this->include('layouts/components/landingpage/main-header'); ?>
<!-- End::main-header -->
After:
<!-- Start::main-header1 -->
<?= $this->include('layouts/components/landingpage/main-header1'); ?>
<!-- End::main-header1 -->
Go to root path: app/views/layouts/landing-main.php open landing-main.php file and then chenge main-sidebar to main-sidebar1 given below.
Before:
<!-- Start::main-sidebar -->
<?= $this->include('layouts/components/landingpage/main-sidebar'); ?>
<!-- End::main-sidebar -->
After:
<!-- Start::main-sidebar1 -->
<?= $this->include('layouts/components/landingpage/main-sidebar1'); ?>
<!-- End::main-sidebar1 -->
Go to root path: app/views/layouts/landing-main1.php open landing-main1.php in that file, below the body tag, remove the switcher path given below.
Switcher path:
Before:
<body class="landing-body jobs-landing">
Remove this(
<!-- Start::main-switcher -->
<?= $this->include('layouts/components/landingpage/switcher'); ?>
<!-- End::main-switcher -->
)
After :
<body class="landing-body jobs-landing">
(removed switcher path)
Go to root path: app/views/layouts/landing-main1.php open landing-main1.php file and then chenge landing-jobs-header to landing-jobs-header1 given below.
Before:
<!-- Start::main-header -->
<?= $this->include('layouts/components/landingpage/landing-jobs-header'); ?>
<!-- End::main-header -->
After:
<!-- Start::main-header1 -->
<?= $this->include('layouts/components/landingpage/landing-jobs-header1'); ?>
<!-- End::main-header1 -->
Go to root path: app/views/layouts/landing-main1.php open landing-main1.php file and then chenge landing-jobs-sidebar to landing-jobs-sidebar1 given below.
Before:
<!-- Start::main-sidebar -->
<?= $this->include('layouts/components/landingpage/landing-jobs-sidebar'); ?>
<!-- End::main-sidebar -->
After:
<!-- Start::main-sidebar1 -->
<?= $this->include('layouts/components/landingpage/landing-jobs-sidebar1'); ?>
<!-- End::main-sidebar1 -->
(Root:app/Views/layouts/main.php)
| Attribute | Description |
|---|---|
data-theme-mode="light"
data-header-styles="light"
data-menu-styles="light"
|
To set the light theme |
data-theme-mode="dark"
data-header-styles="dark"
data-menu-styles="dark"
|
To set the Dark theme |
dir="ltr"
|
To set LTR version default |
dir="rtl"
|
To set LTR version to RTL version |
data-nav-layout="vertical"
|
To set menu layout to vertical |
data-nav-layout="horizontal"
data-nav-style="menu-click"
|
To set menu layout to horizontal |
data-nav-style="menu-click"
|
To set navigation style to menu click - *Works same for both vertical and horizontal |
data-nav-style="menu-hover"
|
To set navigation style to menu hover - *Works same for both vertical and horizontal |
data-nav-style="icon-click"
|
To set navigation style to icon click - *Works same for both vertical and horizontal |
data-nav-style="icon-hover"
|
To set navigation style to icon hover - *Works same for both vertical and horizontal |
data-page-style="regular"
|
To set page style to Default |
data-page-style="classic"
|
To set page style to Classic |
data-page-style="modern"
|
To set page style to modern |
data-width="fullwidth"
|
To set page width to Full Width |
data-width="boxed"
|
To set page width to Boxed |
data-menu-position="fixed"
|
To set menu position Fixed |
data-menu-position="scrollable"
|
To set menu position Scrollable |
data-header-position="fixed"
|
To set header position Fixed |
data-header-position="scrollable"
|
To set header position Scrollable |
data-vertical-style="closed"
|
To set sidemenu layout style Closed - *Does not work for horizontal |
data-vertical-style="icontext"
|
To set sidemenu layout style Icon Text - *Does not work for horizontal |
data-vertical-style="overlay"
|
To set sidemenu layout style Icon Overlay - *Does not work for horizontal |
data-vertical-style="detached"
|
To set sidemenu layout style Detached - *Does not work for horizontal |
data-vertical-style="doublemenu"
|
To set sidemenu layout style Double Menu - *Does not work for horizontal |
loader="enable"
|
To enable loader by default |
(Root:app/Views/layouts/main.php)
| Attribute | Description |
|---|---|
data-menu-styles="light"
|
To set the menu style to light |
data-menu-styles="dark"
|
To set the menu style to dark |
data-menu-styles="color"
|
To set the menu style to color |
data-menu-styles="gradient"
|
To set the menu style to gradient |
data-menu-styles="transparent"
|
To set the menu style to transparent |
data-header-styles="light"
|
To set the header style to light |
data-header-styles="dark"
|
To set the header style to dark |
data-header-styles="color"
|
To set the header style to color |
data-header-styles="gradient"
|
To set the header style to gradient |
data-header-styles="transparent"
|
To set the header style to transparent |
data-bg-img="bgimg1"
|
To set menu background image1 |
data-bg-img="bgimg2"
|
To set menu background image2 |
data-bg-img="bgimg3"
|
To set menu background image3 |
data-bg-img="bgimg4"
|
To set menu background image4 |
data-bg-img="bgimg5"
|
To set menu background image5 |
Go To style.scss (public/assets/scss/styles.scss )
if you want to change another font-family Go to the site Google Fonts And Select One font Family and import in to styles.scss file

And paste Your Selected font-family in style.scss

And add the Your Selected font-family in _variables.scss(public/assets/scss/_variables.scss)
--default-font-family: 'Inter', sans-serif;
Note : After Changing font you must run esbuild command i.e, npm run build.
To change Menu icons, open main-sidebar.php page Path:app/Views/layouts/components/main-sidebar.php and go through
main-sidebar
section, in that section you will find Boxicons of menu in
i
tag, there you can replace previous icon with your icon. Example
as shown in below
Go To "public/assets/images/brand-logos" folder and replace your logo with Previous Logos within in image size. note: Please don't increase logo sizes. Replace your logo within given image size. otherwise the logo will not fit in particular place it disturbs the template design.
Open custom-switcher.min.js file
public/assets/js/custom-switcher.min.js
To clear LocalStorage loading functions you need to remove localStorageBackup2() function in custom-switcher.min.js as shown below
function localStorageBackup2(){
if (localStorage.bodyBgRGB || localStorage.bodylightRGB){
document.querySelector('#switcher-dark-theme').checked = true;
document.querySelector('#switcher-menu-dark').checked = true;
document.querySelector('#switcher-header-dark').checked = true;
}
if (localStorage.bodyBgRGB && localStorage.bodylightRGB) {
if(localStorage.bodyBgRGB == "20, 30, 96"){
document.querySelector("#switcher-background").checked = true
}
if(localStorage.bodyBgRGB == "8, 78, 115"){
document.querySelector("#switcher-background1").checked = true
}
if(localStorage.bodyBgRGB == "90, 37, 135"){
document.querySelector("#switcher-background2").checked = true
}
if(localStorage.bodyBgRGB == "24, 101, 51"){
document.querySelector("#switcher-background3").checked = true
}
if(localStorage.bodyBgRGB == "120, 66, 20"){
document.querySelector("#switcher-background4").checked = true
}
}
if (localStorage.primaryRGB) {
if(localStorage.primaryRGB == "58, 88, 146"){
document.querySelector("#switcher-primary").checked = true
}
if(localStorage.primaryRGB == "92, 144, 163"){
document.querySelector("#switcher-primary1").checked = true
}
if(localStorage.primaryRGB == "172, 172, 80"){
document.querySelector("#switcher-primary2").checked = true
}
if(localStorage.primaryRGB == "165, 94, 131"){
document.querySelector("#switcher-primary3").checked = true
}
if(localStorage.primaryRGB == "87, 68, 117"){
document.querySelector("#switcher-primary4").checked = true
}
}
}
To remove complete LocalStorage saving you need to remove
all localstorage related calling functions in
custom-switcher.js
public/assets/js/custom-switcher.min.jsfile.
LocalStorage related functions like localStorage.setItem, localStorage.removeItem, localStorage.getItem, localStorage.clear. Below are the some examples to find out.
localStorage.setItem( );
localStorage.removeItem( );
localStorage.getItem( )
localStorage.clear();
localStorageBackup();
To remove complete LocalStorage saving you also need to remove
main.js link present in styles.php Path:app/templates/components/layouts/styles.php as shown below
<!-- Main JS -->
<script src="<?php echo base_url('assets/js/main.js'); ?>"></script>
All plugins runs through npm.
If you want new plugins : Install new plugin from npm then run npm run build command.
Refer following links for usage:
| Icons | References |
|---|---|
| Bootstrap Icons | https://icons.getbootstrap.com/ |
| Remix Icons | https://remixicon.com/ |
| Feather Icons | https://feathericons.com/ |
| Tabler Icons | https://tabler-icons.io/ |
| Line Awesome Icons | https://icons8.com/line-awesome |
| Boxicons | https://boxicons.com/ |
| Material Icons | https://fonts.google.com/icons?icon.set=Material+Icons |
Refer following links for usage:
| Images | References |
|---|---|
| Vecteezy | https://www.vecteezy.com/ |
| Iconscount | https://iconscout.com/ |
| Unsplash | https://unsplash.com/ |
Refer following link for usage:
| Google Fonts | https://fonts.google.com/ |
Refer following link for usage:
| Boxicons | https://boxicons.com/ |