Wiki

Sorted by date (updated)X
Displaying 501-510 of 707 result(s).

Use phing to make Yii application "installable"

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

Storing your images in your table's blob field and displaying that stored images.

Updated 2 years ago by sirin kHow-tos6 comments – viewed 21,894 times – ( +8 / -1 ) – version 1.1
He im giving you a very simple example ie how you can store an image to your blob field in a table.Hope you already familiar with the normal image upload.
tags: blob, image

Displaying image in a CGridView column.

Updated 2 years ago by sirin kHow-tos5 comments – viewed 46,023 times – ( +13 / -1 ) – version 1.1
This is a simple example of how we can display images in CGridviews.Imagine that you have an image field in your table ie either a location field or a blob type field used to store the images.
tags: CGridView, image

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

Updated 2 years ago by ajsharmaTutorials0 comments – viewed 12,506 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 2 years ago by SebKTips11 comments – viewed 32,039 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 2 years ago by PablovpHow-tos3 comments – viewed 24,516 times – ( +27 ) – 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 2 years ago by sensorarioTips5 comments – viewed 23,638 times – ( +11 ) – version 1.1
In this tip, I'll help you to change in few second buttons of your CGridView. I hope you like it =).

Widget Personalizado

Updated 2 years ago by CálcioTutorials0 comments – viewed 5,906 times – ( +5 ) – version 1.1
Nesse wiki vou tentar exemplificar de forma mais clara e objetiva o uso de widget com o CDataProvider.

CGridView keep state of page and sort.

Updated 2 years ago by DanielHow-tos5 comments – viewed 19,543 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 2 years ago by RutgerHow-tos3 comments – viewed 18,842 times – ( +12 ) – version 1.1
This solution requires Yii 1.1.9 or above