Wiki

Sorted by ratingX
Displaying 391-400 of 786 result(s).

Multilanguage and SEO friendly

Created 4 years ago by InterboyHow-tos1 comment – viewed 21,976 times – ( +5 / -1 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

Boost composer-asset-plugin update speed

Created about a year ago by schmunkTips5 comments – viewed 11,086 times – ( +5 / -1 ) – version 2.0
If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Created about a year ago by Amjad KhanTutorials3 comments – viewed 19,852 times – ( +5 / -1 ) – version 2.0
Following is the table structure

Using SQLite and CDbMessageSource as a module

Created 5 years ago by pheadeauxHow-tos5 comments – viewed 15,512 times – ( +5 / -1 ) – version 1.1
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.

Take more control of CGridview and model searching (related model or another controller)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 32,287 times – ( +5 / -1 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

Using recaptchlib in your projects

Created 7 years ago by Antonio RamirezHow-tos2 comments – viewed 10,964 times – ( +5 / -1 ) – version 1.1
It is good when someone writes extensions for us but trust, sometimes we forget about other approaches that, if we know the library, we shouldn't forget.

HOW TO: Use token based authentication

Created 3 years ago by le_topHow-tos2 comments – viewed 22,300 times – ( +5 / -1 ) – version 1.1
After reading the other wiki article regarding token based access, I thought that it might be interesting to share my method.

Extending CActiveForm for some form display fixes and language tweaks

Created 7 years ago by TrejderTips0 comments – viewed 17,459 times – ( +5 / -1 ) – version 1.1
In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.

Changing Controllers Name

Created 6 years ago by TrejderHow-tos0 comments – viewed 16,879 times – ( +5 / -1 ) – version 1.1
This very short how-to presents steps required to change controller name. It is oriented for less experienced users, which are starting their journey with Yii, to avoid common newbie pitfalls.

CGridView customized CCheckBoxColumn

Created 3 years ago by chandranTips2 comments – viewed 13,277 times – ( +5 / -1 ) – version 1.1
Hi friends,