Wiki articles in category How-tos

Showing 21-40 of 292 items.

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

How to create the custom Drop-down using CHtml::dropDownList

Created 9 years ago by Ankit Modi, updated 5 years ago by samdark.

Hi Friends, This tutorial may be help us create the custom drop-down menu using CHtml::dropDownList

0 0
3 followers
Viewed: 27 186 times
Version: 1.1
Category: How-tos

How to sum (Update) of all input button price value using jquery

Created 9 years ago by Ankit Modi, updated 9 years ago by Ankit Modi.

Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others. See Image

0 0
2 followers
Viewed: 20 526 times
Version: all
Category: How-tos

How to show Image view after upload and delete view image using eajaxupload extension

Created 9 years ago by Ankit Modi, updated 5 years ago by samdark.

Hi Friends, In this tutorial you can use the eajaxupload-extension ,

0 1
3 followers
Viewed: 60 463 times
Version: 1.1
Category: How-tos

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 553 times
Version: 1.1
Category: How-tos

How To : Create Forgot Password in Yii (Sending Email to Reset Password)

Created 9 years ago by ruderbytes, updated 7 years ago by ruderbytes.

Assalamualaikum wr.wb Hello yii people i'm Muhammad Fahmi Azain this is tutorial about forgot password in yii framework, and i'm sorry if it does not comply with code standards yii. okay let's begin

0 0
2 followers
Viewed: 60 299 times
Version: 1.1
Category: How-tos

Google style sign out of all other sessions

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

In this wiki I will show how could logout from all other sessions or all other places.

0 0
5 followers
Viewed: 25 938 times
Version: 1.1
Category: How-tos

Use CGridview to sort and filter CSqlDataProvider - when used with UNRELATED tables (or complex queries)

Created 9 years ago by Gerhard Liebenberg, updated 9 years ago by Gerhard Liebenberg.

I have two tables called hospitals and departments. I have a junction table between them which holds the departments in each hospital. But sometimes I need a list of "All hospitals with All possible departments" - regardless of whether they are linked in the junction table or not.

0 0
3 followers
Viewed: 24 750 times
Version: 1.1
Category: How-tos
1 3
3 followers
Viewed: 10 382 times
Version: 1.1
Category: How-tos

Simple Web APIs for your Yii App

Created 10 years ago by shiv, updated 10 years ago by CeBe.

Its very common now-a-days to have Mobile app for web apps. For Mobile apps we need web APIs to fetch data or even post/update on web. We found a very simple method to make such interface. Mobile App can call plain get or post request and receive data back in JSON format. JSON is relatively easy for mobile app to handle while plain standard GET/POST request for easy for Web server to handle. This...

1 2
10 followers
Viewed: 32 563 times
Version: 1.1
Category: How-tos
Tags: API, JSON

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 350 times
Version: 1.1
Category: How-tos

Login Form With email or Whatever

Created 10 years ago by nabil abdouali, updated 9 years ago by nabil abdouali.

Here is my solution to login with email or anything else This update works with database mysql You must generate the user model with GII

1 2
2 followers
Viewed: 31 762 times
Version: 1.1
Category: How-tos

CPhpAuthManager - how it works, and when to use it

Created 12 years ago by dckurushin, updated 12 years ago by François Gannaz.

It is actually mentioned in the documentation

1 2
6 followers
Viewed: 32 076 times
Version: 1.1
Category: How-tos

Extending an ActiveRecord model

Created 11 years ago by Bogsey, updated 11 years ago by Bogsey.

protected $_viewFile

2 3
7 followers
Viewed: 28 715 times
Version: 1.1
Category: How-tos

"safe" and "unsafe" Model validators (massive assignments)

Created 10 years ago by Kostas Apazidis (KonApaz), updated 7 years ago by brianvu.

Ok, it is a little bit difficult to full understanding the unsafe validator.

2 2
7 followers
Viewed: 36 253 times
Version: 1.1
Category: How-tos

Create/Develop View files with plain HTML (Without using ActiveForm Class)

Created 10 years ago by kalpit, updated 10 years ago by CeBe.

Today i want to share with you is "How can we write HTML Code in view files? I am writing this article because many times we can not use CActiveForm to design our form...

2 2
6 followers
Viewed: 21 579 times
Version: 1.1
Category: How-tos

How to nest DB transactions without actually nesting them.

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

To secure your database from inconsistencies resulting from failing (complex) operations, you (should) use transactions. However, complex methods often rely on other complex methods that themselves build on transactions. This HowTo presents a method to nest or embed transactions without relying on the database's nesting capabilities.

1 0
1 follower
Viewed: 10 513 times
Version: 1.1
Category: How-tos

Themed translations (i18n)

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

When using themes you want to changes some of the translations specifically to the theme while keeping the standard translations for most of the text. Duplicating the main translation file is a headache for maintainance. This how to provides a solution.

1 0
1 follower
Viewed: 16 502 times
Version: 1.1
Category: How-tos

CJuiDatePicker extended for more/better language support

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

The number of languages supported by the standard CJuiDatePicker implementation is limited and the language code to use is different from the application's language code. This Wiki shows how to improve on that.

1 0
1 follower
Viewed: 11 532 times
Version: 1.1
Category: How-tos

MailGun Api Wrapper to send emails

Created 9 years ago by VINAY Kr. SHARMA, updated 4 years ago by Maurizio Domba Cerin.

MailGun.php Class

1 0
2 followers
Viewed: 12 702 times
Version: 1.1
Category: How-tos
Tags: email, mailgun