Wiki articles

Showing 141-160 of 650 items.

Check online users / set specific user offline

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that

1 0
4 followers
Viewed: 12 991 times
Version: 1.1
Category: How-tos

Cambiando el diseño de JuiWidgets

Created 8 years ago by Luis Lobo Borobia, updated 8 years ago by Ivan Wilhelm.

Un aspecto del diseño de interfaces de usuario tiene que ver con la coherencia del diseño y uso de colores entre los distintos componentes de interfaz de usuario utilizados.

0 0
4 followers
Viewed: 13 001 times
Version: 1.1
Category: Tutorials
Tags:

How to make use of a fragment cache

Created 10 years ago by dalip, updated 8 years ago by wei.
1 0
2 followers
Viewed: 13 038 times
Version: 1.1
Category: Tutorials

How to prevent Login from two places?

Created 5 years ago by Rohit Suthar, updated 5 years ago by Rohit Suthar.

In this wiki I will show how to Disallowing login from multi places. User can login or access their account at time, only single place.

0 0
5 followers
Viewed: 13 108 times
Version: 1.1
Category: Tutorials

ClientValidation for files (modern browsers)

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by CeBe.

There are cases that you want to validate the file format, size, extension etc but how to do that without submit the form ?

2 0
6 followers
Viewed: 13 118 times
Version: 1.1
Category: How-tos

How to use Flash, Zend AMF and Yii Framework

Created 7 years ago by janisto, updated 7 years ago by janisto.

This is a simple demo how to use Zend_AMF with Yii.

3 0
6 followers
Viewed: 13 205 times
Version: 1.1
Category: Tutorials

Update Gridview with Dropdown Selection

Created 5 years ago by lgastmans, updated 5 years ago by lgastmans.

I recently worked on updating the content of a gridview based on the selection of a dropdown menu. I thought I should share it in the forum...

0 0
4 followers
Viewed: 13 211 times
Version: 1.1
Category: Tips

Insert a model record using CGridview

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

CGridview displays existent rows of the table (using DataProvider)

2 0
1 follower
Viewed: 13 243 times
Version: 1.1
Category: How-tos

Clear CGridView Filters, Sort & Pager

Created 4 years ago by le_top, updated 4 years ago by le_top.

Clearing CGridView filters and sort orders from the web pages, is usefull for the end user. Yii does not seem to propose a standard method. Furthermore, this is especially usefull when filters are "remembered" in the user's session.

2 0
3 followers
Viewed: 13 305 times
Version: 1.1
Category: How-tos

Interactive mode command-line command for Yii1

Created 2 years ago by Trejder, updated 2 years ago by Trejder.

For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.

0 0
1 follower
Viewed: 13 311 times
Version: 1.1
Category: How-tos

Save uploaded file with any filename characters

Created 5 years ago by Kostas Apazidis (KonApaz), updated 5 years ago by Kostas Apazidis (KonApaz).

First of all this is a very common problem, for more details see this post http://www.yiiframework.com/forum/index.php/topic/52052-upload-file-with-any-charset/

1 0
3 followers
Viewed: 13 349 times
Version: 1.1
Category: How-tos

Forcing login for all pages using CBehavior

Created 4 years ago by Rohit Suthar, updated 4 years ago by Rohit Suthar.

In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.

0 3
5 followers
Viewed: 13 434 times
Version: 1.1
Category: Tutorials

Using Pear Mail Mail_Mime and Mail_Queue

Created 8 years ago by Loren, updated 8 years ago by Loren.

require_once 'Mail.php'; // PEAR Mail require_once 'Mail/mime.php'; // PEAR Mail_mime require_once 'Mail/Queue.php'; // PEAR Mail_queue require_once 'Mail/Queue/Container/mdb2.php'; // PEAR Mail_queue mdb2

7 0
11 followers
Viewed: 13 480 times
Version: 1.1
Category: How-tos

ISA hierarchy of tables inside a database and how to implement a single form

Created 8 years ago by pligor, updated 7 years ago by pligor.

Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench: ![MySQL workbench screenshot](http://s4.postimage.org/4tuwkm43d/Screenshot.pn...

1 0
3 followers
Viewed: 13 526 times
Version: 1.1
Category: How-tos

Turn Web HTML Into Newsletter

Created 6 years ago by yasen, updated 6 years ago by yasen.

These newsletters have always been hard to create as regular web HTML is not properly read by web email interfaces and email clients. I thought that the simplest solution would be to use a web page that would serve as a web version of the newsletter and turn it somehow into newsletter HTML.

6 0
9 followers
Viewed: 13 545 times
Version: 1.1
Category: How-tos

Using phpseclib with Yii

Created 6 years ago by nkd, updated 6 years ago by nkd.

I installed phpseclib because I needed to do some AES encryption in my project. After all the hassle of installing php lib, I found out that Yii already has a security module (securityManager). I finally decided to keep using phpseclib because it has one big advantage over Yii securityManager module, it does...

0 0
6 followers
Viewed: 13 614 times
Version: 1.1
Category: How-tos
Tags: security

Using the jamselect widget with min and max values

Created 8 years ago by got 2 doodle, updated 8 years ago by wei.

The keywords will be stored in a text field in a comma delimited format. The keywords will be created by the site administrator.

2 0
1 follower
Viewed: 13 615 times
Version: 1.1
Category: How-tos

Directory independent extensions

Created 8 years ago by GOsha, updated 8 years ago by GOsha.

Many people want to use downloaded extensions in their own way. As for me most of the extensions require me to correct Yii::import() instructions inside their source code. All these extensions are directory dependent. To avoid the situation described above, I suggest to implement pseudo-anonymous aliases:

// take the curr...
16 1
7 followers
Viewed: 13 622 times
Version: 1.1
Category: Tips

How to show a Captcha in CForm?

Created 5 years ago by Rohit Suthar, updated 5 years ago by Rohit Suthar.

In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.

0 0
3 followers
Viewed: 13 656 times
Version: 1.1
Category: How-tos

Implementing a Flat User Access System

Created 6 years ago by Trejder, updated 6 years ago by Trejder.

This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.

6 0
7 followers
Viewed: 13 717 times
Version: 1.1
Category: How-tos