Wiki

Sorted by date (updated)X
Displaying 31-40 of 785 result(s).

By Example: CHtml

Updated 10 months ago by gliciousTutorials15 comments – viewed 814,055 times – ( +117 / -1 ) – version 1.1
"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

How to avoid rendering entire page on AJAX call for CGridView and CListView

Updated 10 months ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 23,629 times – ( +5 ) – version 1.1
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...

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Updated 10 months ago by softarkTutorials0 comments – viewed 10,280 times – ( +4 ) – version 2.0
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.

Background task with Ajax

Updated 11 months ago by Alexandre RodichevskiTutorials0 comments – viewed 10,556 times – version 1.1
Web applications normally execute almost immediately the user's requests. But some requests, like statistical reports, take long time to execute.

Yii 2 Advanced Project Template using Shared Hosting

Updated 11 months ago by marciocamelloHow-tos0 comments – viewed 5,864 times – version 2.0
https://github.com/marciocamello/yii2-app-advanced-sh

How to send POST data from CActiveForm with a CListView inside

Updated 11 months ago by oligalmaHow-tos0 comments – viewed 6,222 times – ( +1 ) – version 1.1
If you want to see a live demonstration of what I mean by "how to send POST data from CActiveForm with a CListView inside" you can take a quiz from here and you will understand.

How to have truly multilingual URLs

Updated 11 months ago by oligalmaHow-tos1 comment – viewed 4,501 times – version 1.1
We can easily have a multilingual site if we put a "lang" parameter that comes via GET. For example:

How to change GridView delete confirmation message for specific controllers only?

Updated 12 months ago by AlaFalakiTips1 comment – viewed 10,277 times – ( +2 ) – version 2.0
Hello, If you want to give extra attention for some specific delete actions and you don't want to override whole yii.confirm JS method here is what you can do: (I've only put the ActionColumn part of the GridView here to just give you the idea)

How to translate and do the translations the easy way

Updated 12 months ago by Roman SolomatinHow-tos3 comments – viewed 66,620 times – ( +28 / -2 ) – version 1.1
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.

Escape from Default's Yii2 Delete Confirm Box

Updated about a year ago by CozumelHow-tos8 comments – viewed 22,751 times – ( +9 / -1 ) – version 2.0
If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.