Articles in category "how-tos", sorted by viewsX
Displaying 101-110 of 354 result(s).

custom sql query results to CDetailView

Created 3 years ago by Kostas Apazidis (KonApaz)How-tos8 comments – viewed 30,919 times – ( +3 ) – version 1.1
This is a bried guide about displaying of custom sql query results.

How to use an application behavior to maintain runtime configuration

Created 5 years ago by zaccariaHow-tos3 comments – viewed 30,743 times – ( +28 ) – version 1.1
In this tutorial will be explained a method to manage some configuration runtime. This excellent tutorial follows a similar approach, but requires to write a masterclass which all controllers are supposed to extend, following this wiki you can achieve the same by only editing the configuration.

Keeping a running total in a CGridView

Created 5 years ago by Steve FriedlHow-tos4 comments – viewed 30,489 times – ( +24 ) – version 1.1
This tip created in conjunction with IRC #yii channel users emilsedgh and tydeas - thanks!
tags: CGridView

Kickstart development with Yii-App

Created 3 years ago by Chris83How-tos25 comments – viewed 30,306 times – ( +21 / -1 ) – version 1.1
I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use this project as a starting point for all of your Yii projects.

Yii CGridView add custom button

Created 2 years ago by Arockia JohnsonHow-tos1 comment – viewed 30,270 times – ( +6 ) – version 1.1
Hi buddies !, This tutorial shows about how to add a custom button with your own icon for your CGridView of Yii framework

Take more control of CGridview and model searching (related model or another controller)

Created 2 years ago by Kostas Apazidis (KonApaz)How-tos5 comments – viewed 29,462 times – ( +5 ) – version 1.1
Suppose you have an Application in Yii that manages hotels each one has many customers.

Displaying uploaded file from DB for update with FileInput widget

Created 2 years ago by Kartik VHow-tos3 comments – viewed 27,777 times – ( +39 / -5 ) – version 2.0
This is for folks who are using \kartik\widgets\FileInput to upload files from your client. How do you display an image for update after you have uploaded it to the server using the widget?

How to install pdo_oci

Created 6 years ago by gallego123How-tos2 comments – viewed 27,706 times – ( +1 ) – version 1.1
From: and me.
tags: pdo oci php

How to insert a Simple Dialog Box

Created 4 years ago by bluyellHow-tos6 comments – viewed 27,703 times – ( +5 / -2 ) – version 1.1
I build this simple PHP class (DialogBox.php at the bottom of this wiki) to help you in the dialog box usage on Yii applications. The goal is run any Yii actions into this dialog box and return the resulting value to the calling instance.

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 2 years ago by Kartik VHow-tos2 comments – viewed 27,381 times – ( +38 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like: