Wiki

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 33,033 times – ( +3 / -1 ) – version 1.1
This is a bried guide about displaying of custom sql query results.

javascript + tabular input

Created 6 years ago by zaccariaHow-tos4 comments – viewed 32,684 times – ( +14 / -2 ) – version 1.1
If you tried this extension with success, maybe you thought how to do it without page submission or ajax calls.

How to use an application behavior to maintain runtime configuration

Created 6 years ago by zaccariaHow-tos3 comments – viewed 32,266 times – ( +28 / -1 ) – 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.

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 3 years ago by Kartik VHow-tos2 comments – viewed 32,078 times – ( +38 / -5 ) – 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:

Kickstart development with Yii-App

Created 4 years ago by Chris83How-tos25 comments – viewed 31,900 times – ( +21 / -2 ) – 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.

Keeping a running total in a CGridView

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

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

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

How to register scripts and css

Created 2 years ago by oligalmaHow-tos0 comments – viewed 31,139 times – ( -1 ) – version 1.1
First of all, we need to download the jQuery library and store it in the js folder. In this example we are using the version 2.1.3.

how to make a dynamic progress bar to show the percentage or status

Created 4 years ago by hehbhehbHow-tos1 comment – viewed 29,735 times – ( +5 / -1 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

How to insert a Simple Dialog Box

Created 5 years ago by bluyellHow-tos6 comments – viewed 29,546 times – ( +5 / -3 ) – 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.