Wiki

Sorted by date (updated)X
Displaying 11-20 of 784 result(s).

Displaying image in a CGridView column.

Updated about a month ago by Maurizio Domba CerinHow-tos5 comments – viewed 62,784 times – ( +13 / -2 ) – version 1.1
This is a simple example of how we can display images in CGridviews.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.
tags: CGridView, image

Storing your images in your table's blob field and displaying that stored images.

Updated about a month ago by Maurizio Domba CerinHow-tos7 comments – viewed 33,781 times – ( +9 / -2 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Solution for session lose of Facebook iframe application in Internet Explorer .

Updated about a month ago by Maurizio Domba CerinTips0 comments – viewed 8,469 times – ( +2 / -1 ) – version 1.1
Facebook iframe app’s session is losing in Internet Explorer when doing a second redirection inside the facebook iframe app.The main reason is ,by default IE wont allow cookies in its priavacy settings If cookies not available means session is also not available for our Facebook iframe app in IE.

Working with relational removals by yii2

Updated about a month ago by Jairus MartinTutorials2 comments – viewed 7,448 times – ( +1 / -1 ) – version 2.0
This tutorial shows you how to safely remove records between relationships.

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Updated 2 months ago by Luis Lobo BorobiaTips0 comments – viewed 6,496 times – ( +2 / -1 ) – version all
We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

How to make UrlManager createAbsoluteUrl work with sub-domains

Updated 3 months ago by Wade ShulerHow-tos1 comment – viewed 4,169 times – ( +1 / -1 ) – version 2.0
Upon creating my Yii2 Members System, I have ran into a few snags along the way that forced me to extend and bend Yii2 to my will.

i18n All-in-one format and timezone conversions for date, time, timestamp and datetime.

Updated 4 months ago by Gerhard LiebenbergHow-tos3 comments – viewed 21,414 times – ( +8 / -2 ) – version 1.1
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!

Show raw SQL query

Updated 6 months ago by dariooFAQs0 comments – viewed 10,740 times – ( +2 / -1 ) – version 2.0
Here's a quick tip to dump the SQL for query.

Using loginRequiredAjaxResponse to solve ajax session timeout

Updated 6 months ago by RutgerHow-tos3 comments – viewed 27,177 times – ( +13 / -1 ) – version 1.1
This solution requires Yii 1.1.9 or above

How to create/update a model with its related items using Listbox or CheckboxList

Updated 7 months ago by softarkTutorials1 comment – viewed 12,835 times – ( +4 / -1 ) – version 2.0
Assume we have many categories and many posts.