Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 101-110 of 182 result(s).

How to create a wrapper for a js library

Created about a year ago by zaccariaHow-tos2 comments – viewed 7,609 times – ( +16 / -1 )
This wiki will explain how to include a javascript library in a widget.
tags: wrapper, js, uploadify

Show captcha after <N> unsuccessfull attempts

Created 11 months ago by zitterHow-tos6 comments – viewed 7,509 times – ( +14 / -3 )
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).

Integrating Wordpress and Yii,Working Out The Details.

Created 8 months ago by drumaddictHow-tos3 comments – viewed 7,244 times – ( +7 )
This article is based on fr0d0z's article Integrating Wordpress and Yii: still another approach, using Yii as the router/controller and provides more details on how to set up this integration.To be more specific,the idea is not to use any main.php layout in Yii's controllers.This gives the advantage that we do not need to modify any Yii code when we switch a theme in WordPress admin panel,provided we have done a very basic setup which I explain below.
tags: wordpress

Client-side form validation using Twitter Bootstrap's Popovers

Created 28 days ago by TrejderHow-tos0 comments – viewed 7,033 times – ( +3 )
This article explains how to easily turn standard text-line validation errors into beautifully and professionally looking Twitter Bootstrap's Popovers.

How to re enable logging during unit testing

Created about a year ago by AsgarothHow-tos1 comment – viewed 6,954 times – ( +7 )
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

A simple go back button widget

Created 7 months ago by CTalaHow-tos5 comments – viewed 6,881 times – ( +3 / -2 )
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

ACL and RBAC

Created 10 months ago by zeroByteHow-tos0 comments – viewed 6,849 times
This HowTo assumes that you have a smattering of ACL in general and of how the acl-extension works basically. It will introduce you into the abstract and give you a hint on how to use Business-Rules. If you have in-depth questions, please refer to the extension documentation. Using ACL in an RBAC-manner cannot and should never obscure the fact that the underlying system is still ACL-based. In fact, the Business-Rules are just another layer in the permission-check plan.

Using Yii with PHP 5.4 built-in webserver instead of Apache

Created about a year ago by samdarkHow-tos1 comment – viewed 6,797 times – ( +20 )
Since version 5.4 PHP can work as a simple webserver so you can develop Yii applications without installing Apache. That's how to use it:

caching controllers with filters()

Created 2 years ago by RusAlexHow-tos0 comments – viewed 6,719 times – ( +2 )
Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was