This tutorial shows how to use a model to save and validate related (MANY_MANY) models.
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.
I've found useful to have a step by step reference guide to work with Git with most used commands, feel free to update it with useful information you may find interesting too.
If we want to set meta tags on a per page (controller-action) basis, we may use the clientScript application component.
If you like the things to be short and clear, then you can skip right to a short summary of instructions at the end of this article.
p.s. latest version of this tutorial is always available unter the docs/ folder of the User Management Module.
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.
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.
I found a better solution.
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.
There are scenarios when you work with DVCS (like [Mercurial]( http://mercurial.selenic.com/) or [Git]( http://git-scm.com/)) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very...
Suppose you have an Application in Yii that manages hotels each one has many customers.
Usually when we use AutoComplete in a project, We need to show "title" or "name" in the list, while when the form is posted, we need some sort of integer ID referring to the selected value. Out of the Box, CJuiAutoComplete widget doesn't provides different display text and post values.
In this tutorial we will try to save cgridview filter(search) with title etc. basically we want to save two forms data i.e one represents filters and other data about filters like title, description etc. You can define your own structure for filter saving table here are some basic steps
Inspired by it I extended the CButtonColumn class like this:
This tutorial will guide you through the process of creating a yii application using Cloud9. We will use a git workspace to enable version control and also show how to link the Cloud9 workspace to GitHub.
There are a couple of ways to achieve this, but the first is preferred.
Normally when we want users to download a file, that file is put in a folder under the web application root and the web server does the rest.
by: Christian Salazar (bluyell, @salazachris74, christiansalazarh@gmail.com)