Wiki

Articles in category "tutorials", sorted by ratingX
Displaying 171-180 of 236 result(s).

WordPress Role Based Authentication in Yii

Created about a year ago by Bob GTutorials0 comments – viewed 6,307 times – ( +4 / -1 ) – version 1.1
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.

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

Created 5 months ago by Rohit SutharTutorials6 comments – viewed 6,464 times – ( +4 / -1 ) – version 1.1
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.

RBAC Super Simple with Admin and User

Created about a month ago by evercodeTutorials4 comments – viewed 4,767 times – ( +5 / -2 ) – version 2.0
One of the common requests I see in the forum is how to implement RBAC. While you can implement Yii 2's built-in RBAC, that might be too much for developers who are just starting with Yii 2 or have simpler needs. Sometimes you are looking for a fast solution and just want two flavors, user and admin. And even if you will eventually need more, you can use these methods as a starting point for developing your own features or move on to Yii 2's RBAC.

[Updated] How to create & call custom global function in whole application?

Created 5 months ago by Rohit SutharTutorials8 comments – viewed 3,450 times – ( +5 / -2 ) – version 1.1
In this wiki I will show how to create own custom global function. It may be save the space and reduce the time.

Performance - A Guide For Best Practice

Created 4 years ago by Y!!Tutorials3 comments – viewed 15,757 times – ( +8 / -5 ) – version 1.1
In this guide I will explain best practise regarding performance in MySQL, PHP and of course our loved Yii Framework. Since this is a complex topic, I will start with some basics and then expand this guide from time to time. Since this wiki can become big, you may click on View history - there you can see what changes have been made, so you don't miss anything.
tags: performance

Exporting CGridView results to CSV file

Created 2 years ago by RusAlexTutorials9 comments – viewed 31,638 times – ( +6 / -3 ) – version 1.1
A few days ago, i worked for CGridView exporting functional for my client. He asked me to create a simple exporting to a CSV file a CGridView search results.
tags: cgridview, export, csv

How to setup yiic on WAMP (XP/Vista)

Created 5 years ago by krillzipTutorials3 comments – viewed 68,961 times – ( +2 ) – version 1.1
This page assumes that you have installed Wampserver on your MS Windows computer.

Advanced CTabView using CClipWidget

Created 5 years ago by krillzipTutorials1 comment – viewed 10,484 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

How to log context information to logger (session id, user, ...)

Created 5 years ago by olafureTutorials0 comments – viewed 12,753 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created about a year ago by Ankit ModiTutorials2 comments – viewed 8,425 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js