Wiki

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

Background task with Ajax

Updated 3 months ago by Alexandre RodichevskiTutorials0 comments – viewed 5,471 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 3 months ago by marciocamelloHow-tos0 comments – viewed 4,334 times – version 2.0
https://github.com/marciocamello/yii2-app-advanced-sh

How to send POST data from CActiveForm with a CListView inside

Updated 3 months ago by oligalmaHow-tos0 comments – viewed 4,982 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 install Yii 2 advanced on a shared hosting environment

Updated 3 months ago by oligalmaHow-tos1 comment – viewed 7,874 times – ( +2 ) – version 2.0
I've read many comments that it's not possible to install Yii 2 advanced on a shared hosting environment, as it has two webroots. This is partially true.

How to have truly multilingual URLs

Updated 3 months ago by oligalmaHow-tos1 comment – viewed 3,487 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 3 months ago by AlaFalakiTips0 comments – viewed 5,312 times – ( +1 ) – 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 4 months ago by Roman SolomatinHow-tos3 comments – viewed 61,736 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 4 months ago by CozumelHow-tos8 comments – viewed 17,417 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.

How to use Listbox and CheckboxList

Updated 4 months ago by softarkTutorials1 comment – viewed 5,934 times – ( +3 ) – version 2.0
Assume we want to create a page that defines the categories of a post.

Handling recursive deletion in Yii

Updated 4 months ago by JamesBarnsleyHow-tos3 comments – viewed 9,078 times – ( +3 ) – version 1.1
I www.jamesbarnsley.com was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.