Wiki

Sorted by viewsX
Displaying 321-330 of 716 result(s).

Auto set model fields values

Created 2 years ago by vibhaJadwaniTutorials3 comments – viewed 14,916 times – ( +9 ) – version 1.1
This is a tutorial for how to auto set model values without any code.

How to Create Pdf Report / Excel Report By Using Parameters (From - Until)

Created 11 months ago by ruderbytesHow-tos2 comments – viewed 14,884 times – ( +2 / -2 ) – version 1.1
Asslamualaikum Wr.Wb Hello I'm Fahmi Azain i will share wiki tutorial about Creating Pdf Report / Excel Report by using Parms / Parameters.

Hyphenation of routes in URL management

Created 2 years ago by qiangHow-tos6 comments – viewed 14,841 times – ( +18 ) – version 1.1
In this article, we introduce an approach that allows automatic hyphenation of the route part in URLs.
tags: URL

Show captcha after <N> unsuccessfull attempts

Created 2 years ago by zitterHow-tos7 comments – viewed 14,734 times – ( +14 / -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).

Force a User to Change Their Password (ChangePasswordFilter)

Created 3 years ago by waterloomattTutorials2 comments – viewed 14,650 times – ( +16 / -2 ) – version 1.1
Sometimes you need to force a user to change their password after x number of days. This article describes how to implement this using a filter, ChangePasswordFilter.

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Created 10 months ago by tophHow-tos2 comments – viewed 14,605 times – ( -1 ) – version 1.1
This is a shortcut for adding a text search for multiple values i.e.

Multiple Database Connection : Select database based on login user id, Dynamic

Created about a year ago by Rajith RHow-tos4 comments – viewed 14,582 times – ( +9 / -6 ) – version 1.1
create a class file under protected\components named RActiveRecord.php

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

Created about a year ago by InterboyHow-tos1 comment – viewed 14,437 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.

TDD with PHPUnit_Story and Yii

Created 3 years ago by sidewinderTutorials1 comment – viewed 14,255 times – ( +7 ) – version 1.1
Unfortunately Sebastian Bergmann decided to remove PHPUnit_Story from future PHPUnit versions. Thanks to elvan for pointing me to the relevant comment. As an alternative Behat has been suggested but it seems too bloated for me TBH. There is also PHPSpec but it's non flexible enough for me and tightly bound with English language (What's the purpose of using DSL if customers can't speak English). Since both frameworks are quite young I think I'll just stick to PHPUnit and see what's going on on the BDD frameworks arena. Even PHPUnit_Story parts of this entry are going to be deprecated soon, rest is still valid! When doing TDD, please write tests with design and behaviour of application in mind instead of testing single functions.

Two Login in same form in Yii application , with two tables

Created about a year ago by BaluTutorials4 comments – viewed 14,118 times – ( +4 / -7 ) – version 1.1
login links will be