Wiki

Articles in category "how-tos", sorted by viewsX
Displaying 61-70 of 350 result(s).

How to use YiiBooster TbFileUpload widget

Created 3 years ago by Antonio RamirezHow-tos15 comments – viewed 41,566 times – ( +11 ) – version 1.1
The following wiki is to explain how to make use of the TbFileUpload widget from YiiBooster. I have received a couple of requests and I thought was worth writing a wiki for it.

Install, update and use Yii with WAMP server

Created 3 years ago by mrsHow-tos5 comments – viewed 41,561 times – ( +5 / -1 ) – version 1.1
Here I am describing how you can install and update Yii in WAMP sever.

Searching and Sorting by Count of Related Items in CGridView

Created 4 years ago by softarkHow-tos13 comments – viewed 40,705 times – ( +31 ) – version 1.1
Let's say we have two models and relation between them:

Single sign on across multiple subdomains

Created 5 years ago by ianarĂ©How-tos10 comments – viewed 40,614 times – ( +32 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

File uploads in CForm (Form builder)

Created 4 years ago by Luke JurgsHow-tos2 comments – viewed 40,489 times – ( +12 ) – version 1.1
While there is a reasonable amount of documentation regarding CForm (form builder) and file uploads seperately, there really is not any coverage of both in combination.

Filter / Search with CListView

Created 4 years ago by JohnPollardHow-tos9 comments – viewed 39,464 times – ( +29 ) – version 1.1
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.

How to use a Widget as an Action Provider

Created 5 years ago by Antonio RamirezHow-tos14 comments – viewed 39,458 times – ( +27 ) – version 1.1
As written on the API docs: An Action Provider Widget is a widget that has declared several actions by using its 'public static function actions()'. After, a Controller can easily import all its declared actions on its 'public function actions()'.
tags: Widgets, CAction

Write & use a custom Component in Yii2.0

Created about a year ago by sirin kHow-tos4 comments – viewed 38,978 times – ( +16 ) – version 2.0
This is a simple example in Yii2.0 to understand how you can write a custom component and use it inside your app.(basic template)

Actions code reuse with CAction

Created 5 years ago by Antonio RamirezHow-tos13 comments – viewed 38,653 times – ( +36 ) – version 1.1
We all know how good 'gii' automates the code for us and we normally tend to be happy with what that tool offers at the beginning of our Yii learning curve. But as soon as you start working in larger and larger projects, you realize that its code is too repetitive to maintain and having a small pitfall in general actions means to go over and over through them to fix the issues.
tags: CAction, Tutorial

Creating a jQueryUI Sortable CGridView

Created 4 years ago by blindMoeHow-tos23 comments – viewed 38,536 times – ( +48 / -1 ) – version 1.1
I have had to do this a couple of times now so I figured I would share it with the community. I am going to keep this short because I really hope that you are familiar with jQueryUI's Sortable class before starting this tutorial.