Category:: YII

Yii2 Change app name

Yii2 Default application name is “My Application”. You can change this name by editing the config/main.php. Just add the application name property in Config Array. NOTE : If your using the advanced app you […]

How to make a drop down list in yii2

In this post I would like to show you how to create a drop down list in yii2. This tutorial will help you to display the array data or model data in drop down list. I am using activeForm. Drop down list syntax Drop down […]

How to display image in CGridView in YII

This post is a simple example for showing images in CGridView in Yii.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.

Yii Tutorial :: How to Add Facebook Open Graph Tags ?

This Blog post is about Adding Facebook Open Graph Tags to web app in Yii, This is really simple Task, Using This Tags We can tell Facebook What Content Should share like Image, Title, Description .. etc. Syntax How to […]

How to add Date Picker to a Form Text Field in YII?

Here is simple code snippet for adding date picker in YII. We have an Date Picker widget in Yii so i am gonna show you how to use this widget with simple blow code sample. For more options visit : http://www.yiiframework.com/doc/api/1.1/CJuiDatePicker […]

How to redirect to previous URL in YII

If you want to get previous URL use blow line of code If you want to redirect to the previous URL use blow line of code That’s it happy coding I hope you like this Post, Please feel free to comment below, your suggestion […]

Yii Framework Tutorial ?

Yii is Open Source PHP Framework. Qiang Xue is the founder of yii, He started the development of this open source framework on January 1st, 2008. What is Yii? Yii is fast and Easy,efficient and secure framework Yii is […]

How to Create A Custom Widget in Yii Framework ?

Yii is a wonderful framework that gives generated codes for the developer.in here i will show you how to create Custom widget in yii. Simplest possible way to get a Custom Widget going: Then, in a view, you can instantiate […]

How to Remove index.php in the url of Yii Website?

Usually when we run a yii website, the url will have index.php after the hostname. To remove this we need to use mode_rewrite, htaccess. To hide “index.php” from the url on a website, add an .htaccess file […]

How to Install YII in windows, XAMPP ?

SETP1: Download Latest version of Yii Framewrok from official website (http://www.yiiframework.com/). SETP2: Extract The Giz. SETP3 : OPEN command prompt, type cd / hit enter cd xampp/php hit Enter cd php.ext c:xampphtdocsframeworkyiic […]