Wiki

Sorted by date (updated)X
Displaying 571-580 of 774 result(s).

Deploy yii on pagoda box

Updated 4 years ago by francis jaTutorials0 comments – viewed 7,911 times – ( +4 ) – version 1.1
pagoda box is very useful tool for a programmer to test their php app online so its very useful one. For deploying code pagodabox use git command
tags: pagodabox, pagoda

Radio Button List with enum values for column of type ENUM >+> incorporate into giix

Updated 4 years ago by pckabeerHow-tos1 comment – viewed 17,198 times – ( +7 ) – version 1.1
Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue'). We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a Radio Button List, which has the enum values as options. This is a rewrite of c@cba in the wiki article of enumDropdownListThe main code was contributed by zaccaria in the forum (see this post).

Display an AJAX tree from your DB using CTreeView

Updated 4 years ago by Fran├žois GannazTutorials10 comments – viewed 54,784 times – ( +21 ) – version 1.1
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView

Use phing to make Yii application "installable"

Updated 4 years ago by Maurizio Domba CerinHow-tos3 comments – viewed 8,893 times – ( +7 ) – version 1.1
To use this "how-to", you need to install phing in your machine.
tags: phing

How to log context information to logger (session id, user, ...)

Updated 4 years ago by ajsharmaTutorials0 comments – viewed 14,758 times – ( +2 ) – version 1.1
Logging context information (session, user, ...) to the logfile can be of great help tracking down problems with specific users.
tags: Logging

Update two models with one view

Updated 4 years ago by SebKTips11 comments – viewed 38,822 times – ( +10 / -2 ) – version 1.1
Suppose to have two models: Users and Emails. You do not want to store email in a Users model. And User can have 0 or many emails. This is the form generated to create a new user (just username).
tags: database, model, view, form

How to use an application behavior to maintain runtime configuration

Updated 4 years ago by PablovpHow-tos3 comments – viewed 30,240 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.

Change buttons on our CGridView extending yii

Updated 4 years ago by sensorarioTips6 comments – viewed 27,767 times – ( +12 ) – version 1.1
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).

CGridView keep state of page and sort.

Updated 4 years ago by DanielHow-tos5 comments – viewed 26,152 times – ( +6 ) – version 1.1
Remember-filters-gridview is one of the must-use extension on all of my project. However, it lacks of storing the page and sort variables of the grid view.

Using loginRequiredAjaxResponse to solve ajax session timeout

Updated 4 years ago by RutgerHow-tos3 comments – viewed 24,966 times – ( +13 ) – version 1.1
This solution requires Yii 1.1.9 or above