Wiki

Sorted by commentsX
Displaying 151-160 of 771 result(s).

How To Customize CMenu Output

Created 5 years ago by AngeloTutorials7 comments – viewed 60,200 times – ( +10 ) – version 1.1
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
tags: menu

Additional form data with XUpload

Created 3 years ago by AsgarothHow-tos7 comments – viewed 34,283 times – ( +9 ) – version 1.1
In this article you'll learn how to send additional form data when uploading files using XUpload widget

A simple go back button widget

Created 3 years ago by CTalaHow-tos7 comments – viewed 21,111 times – ( +8 / -3 ) – version 1.1
We all know that widgets are really useful. We can use the almost everywhere we want, and we can use the same code a lot of times ( Almost OOP ).

Using jQuery UI 1.8.10 themes with Yii 1.1.6

Created 5 years ago by a110yTips7 comments – viewed 16,997 times – ( +2 ) – version 1.1
When using the latest stable jQuery UI themes (1.8.10) with Yii 1.1.6 (which uses 1.8.6) the widgets don't appear (they're invisible but they're there). In order to make them visible you need to change the following line:

Using cache in CActiveDataProvider

Created 4 years ago by StammTips7 comments – viewed 19,310 times – ( +21 ) – version 1.1
First param in CActiveDataProvider could be a string with model name or instance of class. So, you may use CActiveRecord::cache() for cache, but you need set third param to 2, because you should cache 2 queries: counting and get data.

Creating a Simple CRUD App With Yii2 (Revised 12/20/2013)

Created 3 years ago by Charles R. Portwood IITutorials7 comments – viewed 174,072 times – ( +10 / -10 ) – version 2.0
Creating a Simple CRUD App with Yii Framework 2 (Updated December 20th, 2013)
tags: yii2, tutorial, howto

How to upload a file using a model

Created 7 years ago by qiangTutorials6 comments – viewed 409,664 times – ( +86 / -6 ) – version 1.1
First declare an attribute to store the file name in the model class (either a form model or an active record model). Also declare a file validation rule for this attribute to ensure a file is uploaded with specific extension name.
tags: File upload

Pjax on ActiveForm and GridView - Yii2

Created about a year ago by SreenadhHow-tos6 comments – viewed 51,293 times – ( +10 ) – version 2.0
Here is a example on how to use Pjax with GridView (yii\grid\GridView) and ActiveForm (yii\widgets\ActiveForm) widgets in Yii2.

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 3 years ago by VINAY Kr. SHARMAHow-tos6 comments – viewed 22,079 times – ( +5 ) – version 1.1
CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

Log Activity in DataBase

Created 3 years ago by mahdi1986Tutorials6 comments – viewed 16,402 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