Articles in category "how-tos", sorted by date (updated)X
Displaying 351-355 of 355 result(s).

Using setFlash for displaying various kind of messages

Updated 7 years ago by TrejderHow-tos6 comments – viewed 68,019 times – ( +4 / -6 ) – version 1.1
In this short how-to I will show how to customize setFlash() to display messages (flashes) styled to be success confirmation, error report or notice information. And how to achieve displaying errors in other way.
tags: flash, error, message

Using the jqueryslidemenu plugin with CMenu

Updated 7 years ago by pc131How-tos0 comments – viewed 34,069 times – ( +18 / -2 ) – version 1.1
Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.

Using recaptchlib in your projects

Updated 7 years ago by Antonio RamirezHow-tos2 comments – viewed 11,267 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.

Implementing cron jobs with Yii

Updated 7 years ago by samdarkHow-tos6 comments – viewed 86,729 times – ( +33 / -4 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Using the jamselect widget with min and max values

Updated 7 years ago by weiHow-tos0 comments – viewed 11,344 times – ( +2 / -1 ) – version 1.1
I needed to have users select from a list of keywords, in this example they must select at least two keywords but they cannot select more than six.