Sometimes you want to render a view in Fancybox.
Sometimes you want to render a view in Fancybox.
As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.
I keep a reference to some simple but painful task if you forget a common or something. I am new to Yii and this took awhile for me to figure out. Everything I read said do this or do that and not a single one worked for me. However, the following did.
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...
Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII
View file
It is actually mentioned in the documentation
This widget will show a Facebook "like" button and "comments" box together with "tweet" button and "google plusone" button on your page.
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?
Simple Yii Script for performing CRUD operations:
Its very common now-a-days to have Mobile app for web apps. For Mobile apps we need web APIs to fetch data or even post/update on web. We found a very simple method to make such interface. Mobile App can call plain get or post request and receive data back in JSON format. JSON is relatively easy for mobile app to handle while plain standard GET/POST request for easy for Web server to handle. This...
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message
Countries sometimes change their laws pertaining to time zones and daylight saving times. This means that GMT+2 can be a different local time this August compared to last August! It could even be a different date!
To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps
This example includes a composite condition as well as an empty condition - as if you bypass or disable defaultScope without using resetScope().
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.