Wiki

Sorted by ratingX
Displaying 351-360 of 786 result(s).

Yet another implementation of CPhpAuthManager.

Created 4 years ago by seenivasanHow-tos3 comments – viewed 12,843 times – ( +8 / -2 ) – version 1.1
In this wiki, I try to implement a simple authorization schema without putting much logic inside a file or into database table. We are constructing authorization hierarchy inside the controller. We are getting roles for the current user from database table and assigning only roles to user that are declared in the particular controller. We have brought down the work of loading of auth data at main application level to controller level. This way we have pulverised auth data for entire site into smaller units. Finally we are going to look at couple of examples.

Yii Rights Management Tips

Created 3 years ago by Rajith RTips0 comments – viewed 6,861 times – ( +6 / -1 ) – version 1.1
yii rights some tips..

Insert a multirow header in CGridView

Created 4 years ago by PeppeHow-tos2 comments – viewed 17,655 times – ( +6 / -1 ) – version 1.1
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way you can write columns grouping headers, and obtain a nicer view.

Create / Generate PDF files with TCPDF plugin (Example to generate Table with TCPDF plugin)

Created 4 years ago by codesutraTutorials11 comments – viewed 60,060 times – ( +6 / -1 ) – version 1.1
Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.

Multiple file upload handler

Created 5 years ago by hasanaviTutorials2 comments – viewed 25,741 times – ( +6 / -1 ) – version 1.1
Hi,

New Relic Error Alert with Yii

Created 4 years ago by simon604Tips2 comments – viewed 16,168 times – ( +6 / -1 ) – version 1.1
Introduction

Ajax Login form with validation errors inside jQuery modal dialog

Created 4 years ago by praviTutorials4 comments – viewed 37,326 times – ( +6 / -1 ) – version 1.1
I would like to share my little experience with Yii to the community in the form of the below small wiki:
tags: ajax login

CGridView keep focus on the control after filtering

Created 5 years ago by jayalaHow-tos4 comments – viewed 11,486 times – ( +6 / -1 ) – version 1.1
You can find the reason why I wrote this article here.
tags: CGridView, filter

Relational Query - Lazy Loadnig and Eager Loading in Yii 2.0

Created about a year ago by softarkTutorials0 comments – viewed 16,803 times – ( +6 / -1 ) – version 2.0
It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's very important to know how the Eager Loading approach works in Yii 2. It has changed drastically from that of Yii 1.1, and there are common misunderstandings about it in the community.

CGridView keep state of page and sort.

Created 5 years ago by DanielHow-tos5 comments – viewed 28,834 times – ( +6 / -1 ) – version 1.1
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.