Wiki

Articles in category "tutorials", sorted by viewsX
Displaying 151-160 of 236 result(s).

Multi level dropdown menu in Bootstrap

Created 11 months ago by sefburhanTutorials1 comment – viewed 11,218 times – ( +37 ) – version 1.1
To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps

Integrating FirePHP

Created 4 years ago by ricardogranaTutorials5 comments – viewed 11,009 times – ( +8 ) – version 1.1
Install Firebug plugin for Firefox from here.

AutoTimestampBehavior

Created 5 years ago by jonahTutorials1 comment – viewed 10,966 times – ( +2 / -2 ) – version 1.1
Note: currently a variant of this class CTimestampBehavior is included into Yii distribution package.

Log Activity in DataBase

Created about a year ago by mahdi1986Tutorials6 comments – viewed 10,918 times – ( +8 ) – version 1.1
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message

Create image thumbnails with php_img_preview

Created 2 years ago by Anas AbuDayahTutorials6 comments – viewed 10,734 times – ( +3 ) – version 1.1
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.
tags: images, views

Ordering Models by Weight with CJuiSortable

Created 4 years ago by Matt KelliherTutorials2 comments – viewed 10,622 times – ( +10 ) – version 1.1
In this tutorial we will be setting up a content type to be ordered by weight using the JUI Sortable plugin.

Upload CSV File

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

Advanced CTabView using CClipWidget

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

YII SaaS Multi Tenant application with single database

Created about a year ago by Rajith RTutorials5 comments – viewed 9,948 times – ( +10 / -10 ) – version 1.1
Lots of people are asking how to solve it with YII,We think its difficult with YII. But its easy to solve . There is no database triggers needed . we can simply sove it by extending a class(say "RActiveRecord") from CActiveRecord .Then extend all our model classes from that class.

Encapsulate db and module configurations

Created 5 years ago by ricardogranaTutorials3 comments – viewed 9,911 times – ( +7 ) – version 1.1
This method was inspirated on the excellent text about different environments available at http://www.yiiframework.com/doc/cookbook/32/
tags: module