Wiki articles

Showing 141-160 of 651 items.
2 0
1 follower
Viewed: 18 146 times
Version: 1.1
Category: How-tos

Advanced CTabView using CClipWidget

Created 15 years ago by krillzip, updated 11 years ago by Yang He.

Here is a way to dynamically extend tabs based on clips.
Probably even more complex things could be done.

2 0
2 followers
Viewed: 18 181 times
Version: 1.1
Category: Tutorials
Tags:

ChromePHP for Yii

Created 13 years ago by imehesz, updated 13 years ago by imehesz.

ChromePHP is a console logging extension for Google Chrome.

3 1
4 followers
Viewed: 18 264 times
Version: 1.1
Category: Tips

Multi Data Provider

Created 10 years ago by Sharon Lavie, updated 8 years ago by Sharon Lavie.

Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

1 0
4 followers
Viewed: 18 270 times
Version: 1.1
Category: Tips

two or more different collected data in one CGridView

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

Assume that you have teachers and students model.

2 1
6 followers
Viewed: 18 287 times
Version: 1.1
Category: How-tos

How to validate the uniqueness of multiple columns

Created 9 years ago by oligalma, updated 8 years ago by oligalma.

I am going to show you an effective way to validate the uniqueness of multiple columns.

2 0
2 followers
Viewed: 18 295 times
Version: 1.1
Category: How-tos

Extending CJuiDialog

Created 11 years ago by dstudio, updated 11 years ago by Maurizio Domba Cerin.

Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:

1 2
2 followers
Viewed: 18 302 times
Version: 1.1
Category: How-tos

Yiistrap TbHtml::navbarSearchForm

Created 10 years ago by Patrice, updated 9 years ago by CeBe.

Hi all,

0 0
3 followers
Viewed: 18 306 times
Version: 1.1
Category: Tips

How to show a Captcha in CForm?

Created 9 years ago by Rohit Suthar, updated 9 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: 18 519 times
Version: 1.1
Category: How-tos

View a related field in CGridView

Created 9 years ago by rafaelt88, updated 8 years ago by rafaelt88.

Generally we need to show one or more fields from a model that is related to another model used in CGridView. For our case we will use two related models, which explain how to use model "A" fields in a CGridView that used model "B".

2 0
3 followers
Viewed: 18 621 times
Version: 1.1
Category: Tips

Clear CGridView Filters, Sort & Pager

Created 9 years ago by le_top, updated 9 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: 18 646 times
Version: 1.1
Category: How-tos

Using the jamselect widget with min and max values

Created 13 years ago by got 2 doodle, updated 13 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: 18 650 times
Version: 1.1
Category: How-tos

Tunneling using SSH in a limited enviroment

Created 10 years ago by nineinchnick, updated 9 years ago by CeBe.

This tutorial describes how to connect to a remote service via tunnel when only most basic software is available on the remote server. It is not directly related to Yii. It could be hovewer useful for web developers working with shared hosting sites with limited access.

1 0
3 followers
Viewed: 18 700 times
Version: all
Category: Others

WordPress Role Based Authentication in Yii

Created 10 years ago by Bob G, updated 9 years ago by CeBe.

This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.

4 0
8 followers
Viewed: 18 726 times
Version: 1.1
Category: Tutorials

The Comedy of Errors

Created 12 years ago by fsb, updated 10 years ago by Mike.

Please join the party by adding your own favorite Yii programming errors. Be sure to leave at least a hint at the correction.

19 0
15 followers
Viewed: 18 863 times
Version: 1.1
Category: Others

Check online users / set specific user offline

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 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: 18 870 times
Version: 1.1
Category: How-tos

Sort and save order of model-elements drag & drop

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

Suppose you have Products,Categories and each product belongs in many categories

1 0
4 followers
Viewed: 18 952 times
Version: 1.1
Category: Tutorials

Interactive mode command-line command for Yii1

Created 7 years ago by Trejder, updated 7 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: 18 969 times
Version: 1.1
Category: How-tos

Using phpseclib with Yii

Created 11 years ago by nkd, updated 11 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: 18 998 times
Version: 1.1
Category: How-tos
Tags: security

URL component access functions

Created 13 years ago by Steve Friedl, updated 13 years ago by Steve Friedl.

Many applications wish to obtain parts of the URL for the current page (the hostname, the query string, etc.), and the CHttpRequest class wraps various $_SERVER variables to break down the URL into its constituent parts.

28 0
16 followers
Viewed: 19 015 times
Version: 1.1
Category: Tips
Tags: request, URL