This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.
Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.
According to below wiki we could migrate database schema to another database
First of all this is a very common problem, for more details see this post http://www.yiiframework.com/forum/index.php/topic/52052-upload-file-with-any-charset/
This wiki shows how to get the geolocation info of the client using another server API It could be write also as extension but there are a lots of APIs that change the below code So, I wrote the below code that works for one of them (using www.geoplugin.net)
There are cases that you want to make an ajax request to another server and get the results.
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.
This topic is related with langhandler extension
In order to get your Yii logs into Heroku's logs, you have to work a little bit of magic. You'll need to modify the boot.sh script and add the following two lines: ~~~ touch /app/apache/logs/app_log tail -F /app/apache/logs/app_log & ~~~ This will set up the log and tail it so that when you request "heroku logs", this log is included.
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?
These are functions that I used very often, may helps you!
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that
Simple Ajax popup view with Ajax link
Lets say we have two models and relation between them:
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)
CGridview displays existent rows of the table (using DataProvider)
Suppose you want to have a list in Category with its related products and you want to updates the list (removing or insert product items) This wiki show us how to do that