Wiki articles

Showing 141-160 of 651 items.

Starting with YII 1.1.x in Windows Environment (WAMP)

Created 9 years ago by Rajith R, updated 9 years ago by Rajith R.

As we know YII is the Leading Framework of PHP. Lots of new developers are starting to use YII day by day. Most of the beginners are little bit confused with how to start with YII . I think this note will help them. Follow the simple steps To run a Yii-powered Web application, you need a Web server that supports PHP 5.1.0.

3 0
5 followers
Viewed: 31 035 times
Version: 1.1
Category: Tutorials
Tags: newbie, Yii, yiic

Migration the database schema to another one

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

In this wiki I will show how to copy a schema from a database to another one

1 0
5 followers
Viewed: 11 303 times
Version: 1.1
Category: Tutorials

Disallowing login for INACTIVE users in Yii

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

In this wiki I will show how to Disallowing login for Inactive users. Only Active users can logging and access their account. You can set privacy for your yii web apps users.

1 0
3 followers
Viewed: 16 267 times
Version: 1.1
Category: Tutorials

How to prevent Login from two places?

Created 9 years ago by Rohit Suthar, updated 9 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: 19 613 times
Version: 1.1
Category: Tutorials

Yii Change Password with use of old and repeat password using bootstrap TbActiveForm

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

In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.

0 0
7 followers
Viewed: 54 845 times
Version: 1.1
Category: Tutorials

Yii 1.1: Cgridview: Use Special Variable $Data In The Options Of A Button (I.e. Evaluate Options Attribute)

Created 9 years ago by Louis Gac, updated 9 years ago by Louis Gac.

Let's take the example of the above article to display an email button next to a delete button:

3 0
4 followers
Viewed: 22 222 times
Version: 1.1
Category: Tutorials

CGridView. Add custom class to table rows preserving original „odd“ and „even“

Created 10 years ago by Maug Lee, updated 9 years ago by yugene.

Lets say we have such a CGridView widget showing a list of users for administrator. Users have status „active“ or „disabled“. Grid widget puts class „odd“ or „even“ to rows and we want to preserve this. So we want to add a class „disabled“ to rows with disabled users.

Implementation

<?php
$this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'user-grid',
	'dat...
7 0
4 followers
Viewed: 53 885 times
Version: 1.1
Category: How-tos

Email template functionality with manage content from database

Created 10 years ago by kiran sharma, updated 9 years ago by yugene.

I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)

4 0
12 followers
Viewed: 47 188 times
Version: 1.1
Category: Tutorials

How to display data from two tables in TbGridView using DataProvider?

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

In this wiki I will show how to display data from two tables in Bootstrap TbGridView using dataProvider.

0 0
5 followers
Viewed: 28 238 times
Version: 1.1
Category: Tutorials
1 0
5 followers
Viewed: 10 780 times
Version: 1.1
Category: How-tos
Tags: i18n, Routing

Profiling user requests

Created 9 years ago by M0ka, updated 9 years ago by M0ka.

How to profile user requests so you can determine which actions need an enhancements and optimizations? This wiki going to show you a step by step how to do it.

1 0
3 followers
Viewed: 9 122 times
Version: 1.1
Category: Tutorials

Where to implement knowledge about the addresses of the controller?

Created 9 years ago by Petr.Grishin, updated 9 years ago by Petr.Grishin.

Knowledge is necessary to determine the address of the controller in a single layer system. This allows you to quickly search and painlessly produce refactoring controllers and their addresses.

1 0
2 followers
Viewed: 12 249 times
Version: 1.1
Category: Tutorials

Make the authentication more securely

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

Suppose a hacker has an account of your website He could set the PHPSESSID to empty After of that He login in your system The PHPSESSID remains blank and user has already logged with this session

2 0
3 followers
Viewed: 15 478 times
Version: 1.1
Category: Tutorials

Authenticating against phpass hashes with Yii

Created 12 years ago by Da:Sourcerer, updated 9 years ago by Da:Sourcerer.
  • iteration_count_log2 controls the number of iterations for key stretching. A setting of 8 means the hash algorithm will be applied 2^8 = 256 times. This setting should be kept between 4 and 31.
  • portable_hashes controls whether portable hashes should be used or not. Portable hashes are salted MD5 hashes prefixed by $P$.
22 0
28 followers
Viewed: 39 214 times
Version: 1.1
Category: How-tos

Yii User and Rights Implementation

Created 10 years ago by Rajith R, updated 9 years ago by Rajith R.

implementing some features of yii user and rights.

4 0
8 followers
Viewed: 41 795 times
Version: 1.1
Category: How-tos

Using rights extension with different table and column name

Created 9 years ago by Ibrar Turi, updated 9 years ago by Ibrar Turi.

Once you have installed and configured the rights extension in your application, you can change the table name from 'User' to any table name you want and similarly for 'username' column to any other column name.

0 0
2 followers
Viewed: 6 010 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: 19 009 times
Version: 1.1
Category: Tutorials

DB Driven CMenu (Widget)

Created 9 years ago by Preacher, updated 9 years ago by Preacher.

Awhile ago I was trying to find a database driven CMenu system to add to my web applications. This always seemed to me that it would be a lot easier to manage if it where in a database. So the following is the results of that effort:

1 0
1 follower
Viewed: 6 489 times
Version: 1.1
Category: Tutorials

How to use bizRules in standard accessControl filter

Created 10 years ago by Maciej Liżewski, updated 9 years ago by Maciej Liżewski.

I assume you are familiar with accessControl standard filter. It allows you to separate privileges to run some action from action code itself. There is however one problem with most common usage - you cannot use bizRules, at least based on some parameters passed to 'checkAccess' just because it is hard to pass them in accessRules() result.

3 0
8 followers
Viewed: 20 900 times
Version: 1.1
Category: How-tos

Automatically get the SVN Revision Number of your Project

Created 10 years ago by jcagentzero, updated 9 years ago by jcagentzero.

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4 followers
Viewed: 12 822 times
Version: all
Category: Tutorials