Articles in category "how-tos", sorted by ratingX
Displaying 151-160 of 346 result(s).

Show captcha after <N> unsuccessfull attempts

Created 3 years ago by zitterHow-tos7 comments – viewed 17,483 times – ( +15 / -4 ) – version 1.1
In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

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

Created 2 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 19,862 times – ( +5 )
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...

using editors of yiibooster - fix issues - configuration

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 6,350 times – ( +5 ) – version 1.1
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.

how to make a dynamic progress bar to show the percentage or status

Created 2 years ago by hehbhehbHow-tos1 comment – viewed 21,383 times – ( +5 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

CGridView Date Range Without Cookies or Session (External Filtering)

Created 2 years ago by ezekielnoobHow-tos6 comments – viewed 10,054 times – ( +5 ) – version 1.1
Here's a tutorial on how to create a CGridView with external date filters the trick is to create hidden columns within the CGridView Filters something like in the example below:

How to create CJui Tabs : Render partial, Ajax tabs, color tabs

Created 2 years ago by InterboyHow-tos1 comment – viewed 18,689 times – ( +5 ) – version 1.1
Hey guys, today we will show you how to make a Yii CJuitabs as example. Some feature cases such as Static tabs, render partial tabs, Ajax tabs, color tabs... You can see our code, there are simple 3 steps to make it work.

Multilanguage and SEO friendly

Created about a year ago by InterboyHow-tos1 comment – viewed 17,132 times – ( +5 ) – version 1.1
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:

Using SQLite and CDbMessageSource as a module

Created 3 years ago by pheadeauxHow-tos5 comments – viewed 12,479 times – ( +5 ) – 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 about a year ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 24,901 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

Using recaptchlib in your projects

Created 4 years ago by Antonio RamirezHow-tos2 comments – viewed 8,996 times – ( +5 ) – 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.