Hostma – PHP Modern Web Hosting Template

Dashboard
Welcome to Hostma – PHP Modern Web Hosting Template
  • Created Date : 17/Feb/2023
  • Author : Spruko
  • Company : Spruko Technologies Private Limited

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/.

Introduction
Welcome to Hostma – PHP Modern Web Hosting Template

Hostma - PHP Modern Web Hosting 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! 😊

Template Description

Hostma is a Modern Web Hosting Template using modern and minimal design. It is fully flexible user-friendly and responsive. Hostma Modern template is powered with HTML 5, SASS, & Bootstrap 5 which looks great on Desktops, Tablets, and Mobile Devices. This Template Includes 40+ 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 Backend 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 Hostma is a Modern Web Hosting Template, you will be able to get free download of all future updates.

Theme Features :

Light Theme

Dark Theme

LTR Version

RTL Version

Fullwidth & Boxed

Template Features
Dark Theme Ready RTL Version Boxed Layout
40+ PHP Pages Easy to Customize Bootstrap 5 Responsive Framework
24 * 7 Professional Company Support Error Page Under Construction Page
Color Theme Support (Primary and Background) Neat, clean and simple design W3C Validated
Check out the folder structure of the Layout
                 
						├── assets
						|   ├──  css
						|   ├──  iconfonts
						|   ├──  images
						|   ├──  js
						|   ├──  libs
						|   └──  scss
						├── layouts
						|   ├──  accept-cookie.php
						|   ├──  footer.php
						|   ├──  header.php
						|   ├──  scripts.php
						|   ├──  sidebar.php
						|   ├──  styles.php
						|   ├──  switcher-icon.php
						|   └──  switcher.php
						└── pages
							└── (40+ .php pages)
					 
				
How to Run PHP Project in localhost
Step:1 Quick view of Installations

Download and Install the XAMPP from official site https://www.apachefriends.org/download.html

If you have installed XAMPP on your machine then please follow the below steps

Step:2 Run project

1. Launch Xampp and launch the Apache and MySQL servers by clicking the start buttons.

2. Extract the zip folder of the project in the path: EX: C:\xampp\htdocs\ that you have received after purchase.

3. Once the extraction is completed, type the localhost url in the browser to access the project. Example: C:\xampp\htdocs\myproject.


Note : Do not forget to start Apache server and MySQL server

SCSS & CSS

Zanex comes with power of SCSS. The css files can be generated from scss by simply following below steps:

  • Gulp

    Gulp is a JavaScipt streaming task runner. It automate many development tasks. Using gulp you can perform tasks like running a local server, minifying code, compilation, Browser sync ,optimizing images, etc... We are using gulp which allows to easily compilation of scss to csss. You can read it more about it here.

Prerequisites

Please follow below steps to install and setup all prerequisites:

  • Nodejs

    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 and install all the dependencies manually that are given below in command prompt.

  • Gulp

    Make sure to have the Gulp installed & running in your computer. If you have already installed gulp on your computer, you can skip this step. In order to install, just run command npm install -g gulp from your terminal.

  • After Completion of gulp Install. open gulpfile.js And install the "Declaration of gulp variables" in your command promt. In order to install, just run command
    npm install gulp,
    npm install gulp-sass,
    npm install gulp-postcss,
    npm install autoprefixer,
    npm install gulp-sourcemaps,
    npm install browser-sync,
    npm install gulp-cssbeautify,
    npm install gulp-beautify from your terminal.

    Make sure to have all above prerequisites installed & running in your computer. If you want to install more variables for your template, just declare the variables in gulpfile.js after that run in command promt

Installation

To setup, follow below mentioned steps:

  • Install Prerequisites

    Make sure to have all above prerequisites installed & running in your computer

  • Install Dependencies

    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 above steps, you can run the command to compile scss into css: gulp

Note:- please ensure that you have installed all nodemodules requried to run gulp tasks .

Compiling Styles

1. In the assets folder you will see css, iconfonts, images, js, plugins and switcher folders

Folder Structure

          
						├── assets
						|   ├── css  
						|   ├── iconfonts 
						|   ├── images
						|   ├── js
						|   ├── libs
						|   └── scss
					
					
				

2. Now you can compile or customize your styles in scss files that are present in the assets folder.

3. Once the changes made in the files in order to apply those changes to your template you need to run the gulp commands in the same terminal or command prompt that you have set your project root path.

4. After Compilation, all your .scss files are converted into .css.

Installation Instructions For both CPANEL’S and FTP

Upload the Project that you have purchased, based on your uploading process on server

FTP Uploading Process
    Access FTP:
  1. Login to your FTP server using your login credentials provided by your hosting provider.
  2. Upload Project Files:
  3. Once you successfully accessed your FTP server navigate to the Path: public_html/ in your FTP server.
  4. Now upload and extract the project folder that you have received, in the Path: public_html/
  5. Once the extraction is completed, you can access your project by visiting your domain, Example: www.example.com
cPanel Uploading Process
    Access cPanel:
  1. Login to your cPanel server using your login credentials provided by your hosting provider.
  2. Upload Project Files:
  3. Once you successfully accessed your cPanel dashboard, navigate and click on File Manager
  4. Now open public_html and click on Upload
  5. Here you can select your zipped project folder or you can simply drag and drop your zipped project folder, once the uploading is completed go back to the public_html folder
  6. In the public_html folder, you will find your zipped project folder now you need to extract that project folder
  7. Once the extraction is completed, you can access your project by visiting your domain Example: www.example.com
Version
  • php :- 8.1.12
  • Gulp:- 4.0.2
  • node:- 18.12.1
  • npm :- 8.19.2
Over All Folder Structure
        
						├── assets  									    											
						|   ├── css  
						|   ├── iconfonts 
						|   ├── images
						|   ├── js
						|   ├── libs
						|   └── scss
						├── layouts
						|   ├──  accept-cookie.php
						|   ├──  footer.php
						|   ├──  header.php
						|   ├──  scripts.php
						|   ├──  sidebar.php
						|   ├──  styles.php
						|   ├──  switcher-icon.php
						|   └──  switcher.php
						├── pages
						|   └── (40+ .php pages)
						├── gulpfile.js
						├── package-lock.json
						└── package.json
					
				
SWITCHER?

If you want to add switcher to your template follow the below process.

FAQ'S

1) How to Change Font Style ?

Step 1:

Go To _fonts.scss (assets/scss/style.scss )

if you want to change another font-family Go to the site Google Fonts And Select One font Family and import In to style.css file

How to Select font Family

Example:

Step 2:

And paste Your Selected font-family in _style.scss

Example:

Step 3:

And add the Your Selected font-family in _customs.scss(assets/scss/custom/_customs.scss)

Example:

	body {
		font-size: 1rem;
		font-family: "Hind Siliguri", sans-serif;
		font-weight: 400;
		color: #{$color};
		background-color: #{$background};
		line-height: 1.5;
		text-align: start;
		overflow-x: clip;
		padding: 0;
		margin: 0;
	}
		
	

Note : After Changing font you must run gulp command i.e, gulp watch . Refer gulp page for more gulp commands click here.

2) How to Change Logo ?

Go To "assets/images/brand" 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.

3) How to change Menu icons ?

By default menu icons are Bootstrap icons if you want to change icons please follow below steps
Step 1 :

To change Menu icons, layouts/sidebar.php page open and go through sidebar section, in that section you will find Bootstrap icons of menu in i tag, there you can replace previous icon with your icon. Example as shown in below

			
				
			
		

4) How to Enable RTL Version?

Please follow the below steps to enable RTL Version
Step 1 :

To enable RTL Version you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for rtl as shown in below



	//RTL

	if (!localStorage.getItem("hostmartl")) {
		// html.setAttribute("dir" , "rtl") // for rtl version 
	}

	
Step 2 :
Remove the comments to enable rtl as shown below


	//RTL

	if (!localStorage.getItem("hostmartl")) {
		html.setAttribute("dir" , "rtl") // for rtl version 
	}

	

5) How to Enable Dark Theme?

Please follow the below steps to enable Dark Theme
Step 1 :

To enable Dark Theme you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for dark-mode as shown in below



	//Dark Theme Style
	if (!localStorage.getItem("hostmadarktheme")) {
		// html.setAttribute("data-theme-mode" , "dark") // for dark theme 
	}

	
Step 2 :
Remove the comments to enable dark-mode as shown below


	//Dark Theme Style
	if (!localStorage.getItem("hostmadarktheme")) {
		html.setAttribute("data-theme-mode" , "dark") // for dark theme 
	}

	

6) How to Enable Boxed?

Please follow the below steps to enable Boxed
Step 1 :

To enable Boxed you have to open custom-switcher.js (assets/js/custom-switcher.js) file and remove comments for layout-boxed as shown in below


	if (!localStorage.getItem("hostmaboxed")) {
		// html.setAttribute("data-width" , "boxed") // for boxed style
	}
	
Step 2 :
Remove the comments to enable boxed as shown below

	if (!localStorage.getItem("hostmaboxed")) {
		html.setAttribute("data-width" , "boxed") // for boxed style
	}
	
Local Storage

How to clear LocalStorage (cookie)?

Step1:

Open custom-switcher.js file assets/js/custom-switcher.js

To clear LocalStorage loading functions you need to remove localStorageBackup() function in custom-switcher.js as shown below

function localStorageBackup() {............}
Step2:

To remove complete LocalStorage saving you need to remove all localstorage related calling functions in custom-switcher.js assets/js/custom-switcher.js files.

LocalStorage related functions like localStorage.setItem, localStorage.removeItem, localStorage.getItem, localStorage.clear. Below are the some examples to find out.


			localStorage.setItem("hostmadarktheme", true);
			localStorage.removeItem("hostmalighttheme");
			localStorage.getItem('hostmaboxed')
			localStorage.clear();
			localStorageBackup();
		
Theme Styles
Primary Color

How to Change Primary Color?

Please follow the below steps to change Primary Color
Step 1 :

To change Primary Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (assets/scss/_variables.scss )

Note : After Changing font you must run gulp command i.e, gulp watch . Refer gulp page for more gulp commands click here.

Dark Theme Style

If you want to change Dark Theme color you need to follow the below process.

How to Change Dark body Color?

Please follow the below steps to change Dark body Color
Step 1 :

To change Dark body Color you have to open _variables.scss file and replace what color you want as shown in below

Rootpath : _variables.scss (assets/scss/_variables.scss )

Note : After Changing font you must run gulp command i.e, gulp watch . Refer gulp page for more gulp commands click here.

Sources
Plugins Versions URL
Bootstrap v5.2.2 https://www.npmjs.com/package/bootstrap
Choices js v7.0.0 https://www.npmjs.com/package/choices.js
Swiper js v8.4.4 https://www.npmjs.com/package/swiper
Icons References
Font Awesome https://fontawesome.com/v4.7.0/icons/
Feather Icons https://feathericons.com/
Tabler Icons https://tabler-icons.io/
Bootstrap Icons https://icons.getbootstrap.com/
Images References
Vecteezy https://www.vecteezy.com/
Iconscount https://iconscout.com/
Unsplash https://unsplash.com/
Bootstrap Icons https://icons.getbootstrap.com/
Font Used

Google fonts are used in the template. They are as follows: Google Fonts

THANK YOU!