Wiki

Sorted by viewsX
Displaying 521-530 of 785 result(s).

ChromePHP for Yii

Created 6 years ago by imeheszTips0 comments – viewed 12,215 times – ( +3 / -2 ) – version 1.1
ChromePHP is a console logging extension for Google Chrome.

How to create yii2 extension and push to github and register into packagist to allow end user install from composer

Created about a year ago by Scott_HuangHow-tos1 comment – viewed 12,188 times – ( +5 ) – version 2.0
1. Create Extension in yii2.

How to get & store Last Login DateTime in database?

Created 2 years ago by Rohit SutharHow-tos2 comments – viewed 12,138 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).

Display image on CGridView column and open a fancy-box

Created 3 years ago by Ankit ModiTutorials0 comments – viewed 12,120 times – ( +1 / -1 )
1) Add a fancy-box extension on admin page

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 2 years ago by edoardo849How-tos2 comments – viewed 12,059 times – ( +6 ) – version 2.0
You are working with MongoDb and you have embedded documents in your collection that you want to easily map in your Model for CRUD operations.

Update specific cgridview html row after AJAX request

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 12,005 times – ( +2 ) – version 1.1
After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

Debuging variables in Yii2

Created 2 years ago by johonunuTips3 comments – viewed 11,938 times – ( +2 / -1 ) – version 2.0
This tutorial is explained following "basic" application structure.

How to display page on fancybox...using CHtml::ajaxlink with yii validation

Created 3 years ago by Ankit ModiTutorials2 comments – viewed 11,930 times – ( +2 ) – version 1.1
1) include the fancybox extesion otherwise fancybox js

How to customize error handling in console-mode applications

Created 6 years ago by Steve FriedlHow-tos1 comment – viewed 11,928 times – ( +3 ) – version 1.1
One can control the detail of a web application in the webroot/index.php file by manipulating the values of YII_DEBUG and YII_TRACE_LEVEL, but these don't appear to be used by console applications. This is because although the base CApplication class defines a displayError() method that does consider these variable, CConsoleApplication overrides it with a function that doesn't honor them.

Create/Develop View files with plain HTML (Without using ActiveForm Class)

Created 3 years ago by kalpitHow-tos2 comments – viewed 11,893 times – ( +2 / -2 ) – version 1.1
Today i want to share with you is "How can we write HTML Code in view files? I am writing this article because many times we can not use CActiveForm to design our form...
tags: views, tutorial