Sorted by viewsX
Displaying 171-180 of 779 result(s).

How to use YiiBooster TbFileUpload widget

Created 3 years ago by Antonio RamirezHow-tos15 comments – viewed 42,951 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.

Single sign on across multiple subdomains

Created 5 years ago by ianarĂ©How-tos10 comments – viewed 42,716 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.

Searching and Sorting by Count of Related Items in CGridView

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

Adding Yii Search to Your Browser Search Box

Created 5 years ago by qiangTips1 comment – viewed 42,097 times – ( +28 ) – version 1.1
The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.
tags: search

CGridView: Display the full record (actionView) in a CJuiDialog

Created 5 years ago by JobloTips7 comments – viewed 41,991 times – ( +15 ) – version 1.1
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view as a page and afterwards returning back to the gridview.

File uploads in CForm (Form builder)

Created 5 years ago by Luke JurgsHow-tos2 comments – viewed 41,606 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.

yii2-app-advanced on single domain (Apache, Nginx)

Created about a year ago by MadAndHow-tos3 comments – viewed 41,577 times – ( +9 ) – version 2.0
If you develop rather complex applications with Yii2, you might already be familiar with yii2-app-advanced application template. Well, the template is awesome and provides high flexibility regarding code/configuration sharing among parts of an application.

Beginner / Intro Tutorials (please add to / update this list)

Created 7 years ago by Ivo RoperTutorials1 comment – viewed 41,346 times – ( +5 ) – version 1.1
This is a central location to collect links to "Getting Started" documentation beyond the blog demo and Creating First Yii Application. Please help the community by adding general, introductory links and descriptions to this page.

How to use nested DB transactions (MySQL 5+, PostgreSQL)

Created 7 years ago by mindehHow-tos6 comments – viewed 41,324 times – ( +47 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.

How to implement cron in Yii 2

Created 2 years ago by hemcHow-tos10 comments – viewed 41,231 times – ( +10 ) – version 2.0
In advance template there is already a file yii. And there is no need to run it as php, it is Linux script.
tags: cron, yii2, console