Wiki

Displaying 381-390 of 470 result(s).

Saving files to a blob field in the database

Created 2 years ago by zaccariaTips7 comments – viewed 26,420 times – ( +6 / -2 )
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 2 years ago by Antonio RamirezHow-tos2 comments – viewed 5,351 times – ( +5 )
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 2 years ago by Antonio RamirezHow-tos0 comments – viewed 20,720 times – ( +18 / -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 2 years ago by samdarkTips13 comments – viewed 42,301 times – ( +50 / -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 2 years ago by samdarkHow-tos4 comments – viewed 29,030 times – ( +26 / -1 )
There are two ways to run a cron job:
tags: cron, cli

Using the jamselect widget with min and max values

Created 2 years ago by got 2 doodleHow-tos0 comments – viewed 6,278 times – ( +2 )
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 2 years ago by suriyansureshTutorials6 comments – viewed 32,717 times – ( +14 )
If you want to add module based login to a site without using RBAC, please follow these guidelines.

CSS Naming Conventions

Created 2 years ago by qiangTutorials4 comments – viewed 21,063 times – ( +35 )
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 2 years ago by zaccariaTips1 comment – viewed 33,074 times – ( +20 / -2 )
Often happens to have the need of change a part of the page with ajax.
tags: AJAX

Reading the doc

Created 2 years ago by zaccariaTips0 comments – viewed 5,269 times – ( +21 )
Almost all the information you need whilst working with yii is written in the Class Reference.
tags: doc