Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?
Do you want to make a listbox or dropdownlist to select one or more categories or sub categories ?
In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.
I hadn't specify whole flow as I assume you know yii crud flow well, and Quick understand of my specified admin flow.. :)
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.
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).
This tutorial shows how to use a model to save and validate related (MANY_MANY) models.
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.
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
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.
In this post I am going to describe a solution to make your yii-based web application safe from illegal content injections.
In your application configuration (protected/config/main.php), set the sourceLanguage parameter to English:
It is a common case coders often come accross. For example the purpose of these checkbox is to mark records to be deleted
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.
This tutorial is for people that are integrating Yii into WordPress. Meaning that WordPress is the host platform, and that Yii will be handling AR, CRUD, etc.
This article is about implementing authentication to Yii based web services.
To get multi level dropdown menu of using boostrap extension (http://www.yiiframework.com/extension/bootstrap/) widget TbNavbar just follow steps
In this WIKI you can learn how to create front and admin login form, using database.
Sometimes you want to render a view in Fancybox.
By default, the decimal separator in php (also in mysql) is a dot (.). So when we work with floats in Yii (in calculations, validation, sql statements etc.), the decimal separator has to be a dot. If we want to use for example a comma (,) as the decimal separator, that is if we want to display numbers and enable users to enter numbers with a comma before the decimals, we have to...
This is another way to view images in your application and I like this way because it's simple and I think it's better performance than other.