Wiki

Sorted by ratingX
Displaying 301-310 of 719 result(s).

Upload CSV File

Created about a year ago by bhavesh vaghelaTutorials2 comments – viewed 10,612 times – ( +7 ) – version 1.1
View file

Handling Bootstrap active tabs in Yii via URL

Created about a year ago by JamesBarnsleyHow-tos6 comments – viewed 17,564 times – ( +7 ) – version 1.1
As a lead developer at Mutable Labs I found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to this problem is rather cumbersome as every tab component will need the PHP code inserted or you will have to extend the tab component somehow to do it.

Using Pear Mail Mail_Mime and Mail_Queue

Created 3 years ago by LorenHow-tos2 comments – viewed 8,825 times – ( +7 ) – version 1.1
Create a component (/protected/components/PearMail.php) Edit this as needed based on where you put the files from PEAR.

Implementing a Registration Process using the yii-user-management module

Created 3 years ago by thyseusTutorials6 comments – viewed 51,725 times – ( +7 ) – version 1.1
Hi Folks,

How to get & store Last Login DateTime in database?

Created 4 months ago by Rohit SutharHow-tos2 comments – viewed 3,284 times – ( +7 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

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

Created about a year ago by Maug LeeHow-tos2 comments – viewed 21,764 times – ( +7 ) – version 1.1
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.

Local time zones and locales

Created 3 years ago by Russell EnglandHow-tos9 comments – viewed 52,802 times – ( +14 / -2 ) – version 1.1
Following on from international dates, I also wanted times in the local timezone and format. This was a little more tricky but I think I've got a solution. This is only really appropriate if you have an international app.

CButtonColumn: Use special variable $data for the 'id' in the 'options' of a button

Created 2 years ago by bluezedTutorials5 comments – viewed 21,176 times – ( +10 / -1 ) – version 1.1
In an application I had a CGridView with a CButtonColumn and for an Ajax-Request I needed to make sure that the IDs of the buttons would not change when the GridView was updated so in effect I wanted to link them to the $data->id. So I tried:

Ember.js with Yii REST backend,demo application

Created 2 years ago by drumaddictOthers4 comments – viewed 24,214 times – ( +10 / -1 ) – version 1.1
Ember with Yii REST backend,demo application.

Integrating Yii with Wordpress

Created 3 years ago by isekreamTips5 comments – viewed 37,312 times – ( +10 / -1 ) – version 1.1
Well I finally had some time and tinkered a bit with the notion of integrating wordpress and Yii. Now for me I wanted to use Yii as a framework to develop wordpress plugins. Using some tips from imasia Article I was able to do a simple integration of yii as a wordpress plugin. The integration was very basic and i just used yii with its default installation site. I don;t know how it will really react with CRUD application as yet but it was fairly easy to integrate after reading the article...