Wiki

Displaying 681-690 of 771 result(s).

Extending CActiveForm for some form display fixes and language tweaks

Created 5 years ago by TrejderTips0 comments – viewed 16,087 times – ( +5 ) – 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.

Saving files to a blob field in the database

Created 5 years ago by zaccariaTips8 comments – viewed 53,623 times – ( +9 / -2 ) – version 1.1
As a follow-up from the How to upload a file using a model wiki entry that explains how to save a file to the filesystem, this article will do the same using a blob field in the database.
tags: File upload

Using recaptchlib in your projects

Created 5 years ago by Antonio RamirezHow-tos2 comments – viewed 9,665 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.

Using the jqueryslidemenu plugin with CMenu

Created 5 years ago by Antonio RamirezHow-tos0 comments – viewed 31,163 times – ( +18 / -1 ) – 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.

Configuring PhpStorm IDE for Yii

Created 5 years ago by samdarkTips20 comments – viewed 107,023 times – ( +66 / -1 ) – version 1.1
In order to be able to get from render or renderPartial to the view, from widget to widget class, from relations to model classes you need to install additional plugin called YiiStorm.
tags: IDE, PhpStorm

Implementing cron jobs with Yii

Created 5 years ago by samdarkHow-tos6 comments – viewed 72,655 times – ( +32 / -2 ) – version 1.1
There are two ways to run a cron job:
tags: cron, cli

Using the jamselect widget with min and max values

Created 5 years ago by got 2 doodleHow-tos0 comments – viewed 9,632 times – ( +2 ) – 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.

Module based login

Created 5 years ago by suriyansureshTutorials6 comments – viewed 54,998 times – ( +14 ) – version 1.1
If you want to add module based login to a site without using RBAC, please follow these guidelines.

CSS Naming Conventions

Created 5 years ago by qiangTutorials4 comments – viewed 30,931 times – ( +35 / -1 ) – version 1.1
In this article, we introduce a set of CSS naming conventions that we have applied in several big projects and achieved success. The goal of these naming conventions is to eliminate the possibility of naming conflicts, facilitate debugging and maintenance, and to simplify the naming process.

Ajax update

Created 5 years ago by zaccariaTips2 comments – viewed 46,375 times – ( +21 / -2 ) – version 1.1
Often happens to have the need of change a part of the page with ajax.
tags: AJAX