Wiki

Sorted by commentsX
Displaying 51-60 of 600 result(s).

How to use PHPExcel external library with Yii

Created 3 years ago by Antonio RamirezHow-tos13 comments – viewed 52,267 times – ( +27 / -1 ) – version 1.1
Trying to learn and help some other programmers to find their solutions on the Yii Forum (I think is a superb way to learn the framework), I was facing one challenge with an external library that a fellow programmer wanted to use -quite good indeed: PHPExcel. And what is PHPExcel?

Actions code reuse with CAction

Created 3 years ago by Antonio RamirezHow-tos13 comments – viewed 26,142 times – ( +34 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Guidelines for good schema design

Created 2 years ago by Steve FriedlTips13 comments – viewed 51,705 times – ( +138 ) – version 1.1
Virtually all Yii applications are built on top of a database, and though Yii is very flexible in how it addresses your DB, some design choices make things more convenient than others.

Yii for beginners

Created 2 years ago by rackyczTutorials13 comments – viewed 187,951 times – ( +91 ) – version 1.1
Hi. This is first article with my Yii tutorial. I had to split it into more articles as there's limited length of texts on Wiki. So once you understand basics, you can read next article here: Yii for beginners 2.

Using CJuiDatePicker for CGridView filter

Created 2 years ago by softarkHow-tos12 comments – viewed 27,690 times – ( +19 ) – version 1.1
We can use a CJuiDatePicker for a CGridView inline filter.

Importing CSV file to mysql table using "LOAD DATA" command.

Created about a year ago by sirin kTips12 comments – viewed 25,044 times – ( +5 ) – version 1.1
hi, Here i am giving you some simple step to import huge data from a csv file to your mysql table.this is useful when you have a very huge data to import from csv format.
tags: csv, mysql, import

How to filter CGridView with From Date and To Date datepicker

Created about a year ago by kiran sharmaTips12 comments – viewed 24,877 times – ( +15 / -3 ) – version 1.1
This artical is related to allow user to filter CGridView with date range using datepicker on submit button. Here I use Yii Cookie to preserve date in datepicker textbox after submitting the form.

Use crypt() for password storage

Created about a year ago by fsbTutorials12 comments – viewed 45,639 times – ( +24 ) – version 1.1
Update: This wiki has been rewritten to be in line with Yii 1.1.14. Since many of the detailed complexities are now handled by Yii, the article focuses on how the crypt() built-in function works and why it's important to use it correctly.

Implementing a User Level Access System

Created 2 years ago by Antonio RamirezTutorials12 comments – viewed 37,277 times – ( +28 / -1 ) – version 1.1
I would like to provide you a quick tip on how to implement user level access to your Yii applications.

How to show ajax delete status in CGridView like flash messages

Created 2 years ago by hasanaviHow-tos12 comments – viewed 29,330 times – ( +20 ) – version 1.1
I've seen many tickets regarding how to show friendly delete confirmation using CGridView's CButtonColumn in ajax request. If you are using relational database, after producing CRUD functionality when you try to delete a record in ajax mode which has child record it can't be deleted and you can see the ajax loader forever. By this way you can't show the users if a record has been successfully deleted or if there are some problem in flash style (setFlash() / getFlash())