Wiki

Sorted by ratingX
Displaying 551-560 of 782 result(s).

Export query content to excel through any of your controllers, also can set cssClass for header/odd/even rows, auto download

Created about a year ago by Scott_HuangTutorials1 comment – viewed 8,834 times – ( +2 ) – version 2.0
I have generate one extension base below wiki. You can easily download and use it directly instead of digest below article. http://www.yiiframework.com/extension/yii2-export2excel/

Simple revealing and hiding the password in the password field

Created about a year ago by BizleyHow-tos2 comments – viewed 5,363 times – ( +2 ) – version 2.0
There are numerous usability problems:

thumbsgen and Kohana Image Library together (extends an extension)

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos0 comments – viewed 4,648 times – ( +2 )
In this wiki I will show you how to extends an extension and/or how can two or more extensions work together.

Rendering Views and Updating them with Ajax

Created 3 years ago by Manish GuptaTips4 comments – viewed 19,659 times – ( +2 )
I wanted to implement a widget that could refresh itself through Ajax without refreshing the whole page. CGridView and CListView are excellent examples of such widgets.

How to change GridView delete confirmation message for specific controllers only?

Created 9 months ago by AlaFalakiTips1 comment – viewed 8,324 times – ( +2 ) – version 2.0
Hello, If you want to give extra attention for some specific delete actions and you don't want to override whole yii.confirm JS method here is what you can do: (I've only put the ActionColumn part of the GridView here to just give you the idea)

Set a menu - reusable code

Created 3 years ago by Kostas Apazidis (KonApaz)Tips0 comments – viewed 5,908 times – ( +2 )
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)

Yii2: How to create/develop a new extension using Composer locally without version control or Git

Created 3 months ago by Wade ShulerHow-tos0 comments – viewed 6,153 times – ( +2 ) – version 2.0
Using a version control system, like Git, is nice. However, when building an extension from scratch and loading it via Composer, it adds a lot of pain in the butt steps. You have to commit your changes, update composer to pull them over, then notice there is an error, fix, commit, update. repeat.. I don't want all my baby steps under Git. Sure, I could edit my commit history, but c'mon. Just let me code! I will put it under version control once I get a baseline created. This guide will show you how to setup your composer.json to load a local directory (everything inside, live). You make a change, save the file, refresh the page, boom.

Tunneling using SSH in a limited enviroment

Created 3 years ago by nineinchnickOthers0 comments – viewed 6,698 times – ( +2 ) – version all
This tutorial describes how to connect to a remote service via tunnel when only most basic software is available on the remote server. It is not directly related to Yii. It could be hovewer useful for web developers working with shared hosting sites with limited access.

Publish yii webapp using Git push

Created 4 years ago by rootbearHow-tos6 comments – viewed 11,271 times – ( +2 ) – version 1.1
I did not invent this instructions, I read it somewhere and re-organized in my way as I was trying and it works for me;
tags: git

Integrate Zend 2 XML writer into Yii

Created 2 years ago by JonnyTutorials0 comments – viewed 4,703 times – ( +2 ) – version 1.1
By Integrating the Zend 2.* framework into Yii you can quickly and painlessly generate XML outputs from your controllers. This will be helpful to anyone who has never done this before or only done it with Zend 1 as the introduction of namespaces can be strange when you first view them.
tags: zend, XML