First, you’ll need to create a folder named "themes" in the root directory. Next, Create a "demo" folder in "themes" and create JS & CSS sub folders in "themes" Now Add the theme related JS and CSS files in JS and CSS folder. Create a...
How to load js and css files in Yii 2 application?
The following two scenarios provides a way to load JS and CSS files in the Yii application. Loading in a particular view file Loading for a complete module For example, if a "user" module is created in your application as modules/user then...
Installing Yii 2 extensions manually without composer
It is highly recommended and preferred way to install the Yii 2 extension is through composer but in some rare cases, you may want to install some Yii 2 extensions manually without composer. To do so, please go through the following details on how to use an...
Yii Install with and Without composer
YII PHP Framework 1.0 and 2.0 installation on Ubuntu or Linux If you are coding PHP applications chances are you might have used this Yii PHP Framework or thought about using it. One of the best PHP framework currently in the market. What Makes Yii Special?...
How to Add Advanced filters for Yii Grid
How to Add Advanced filters for Yii Grid A grid is a series of vertical and horizontal lines that are used to subdivide a page vertically and horizontally into margins. All web applications will have grids in some form or the other, they will help us to filter the...
Themeing yii2 application
IN Yii 1.X we have themes, but its missing in yii 2.0, so how you can add themes to your Yii Web applications. Before we go further lets know what is Theming? Theming is a systematic way of customizing the outlook of pages in a Web application. By applying a new...