Wiki

Sorted by ratingX
Displaying 281-290 of 470 result(s).

How to obtain a grammatically correct translation of the model name in giix-generated view files

Created about a year ago by c@cbaHow-tos0 comments – viewed 4,974 times – ( +4 )
The giix code generator has out of the box i18n support for model names and attribute labels (besides other cool features > check it out!) . But I want to factor in not only the plural form, but also the grammatical cases (especially the accusative) while translating 'Manage Objects', 'Create Object', 'Edit Object' etc.

How to use default layout for error pages instead of errorXXX views

Created 3 years ago by idle signTutorials1 comment – viewed 10,578 times – ( +4 )
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).

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

Created 3 years ago by Ivo RoperTutorials0 comments – viewed 29,022 times – ( +4 )
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.

CGridView keep focus on the control after filtering

Created about a year ago by jayalaHow-tos0 comments – viewed 5,123 times – ( +4 )
You can find the reason why I wrote this article here.
tags: CGridView, filter

Deploy yii on pagoda box

Created about a year ago by francis jaTutorials0 comments – viewed 4,921 times – ( +4 )
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

How to catch and log MySQL deadlock errors

Created about a year ago by sebTips0 comments – viewed 5,589 times – ( +4 )
This method allows to log InnoDB monitor output when deadlock error occured. This way we will have much more useful data to find and fix deadlock.
tags: database

XSS safe model content

Created 3 years ago by phirasTutorials2 comments – viewed 5,452 times – ( +4 )
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.

List with multiple checkbox

Created 2 years ago by matkazTutorials3 comments – viewed 15,076 times – ( +4 )
It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted

CSV Export

Created 11 months ago by JohnPollardHow-tos5 comments – viewed 5,595 times – ( +4 )
I needed a csv export function for my cgridview and I wanted to export the entire result set of the sorted and filtered cgridview the user was viewing via ajax.
tags: csv, export

Using SQLite and CDbMessageSource as a module

Created 11 months ago by pheadeauxHow-tos4 comments – viewed 4,429 times – ( +4 )
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.