You can find the reason why I wrote this article here.
You can find the reason why I wrote this article here.
The Yii Framework provides a sweet functionality that allows you to easily create page specific menus. What does this mean? This allows you to create one layout or CSS styling for your menu, and when each page is loaded, a new set of menu items is loaded in. This is useful for context specific sidebars within your application.
This article shows a quick and easy way to implement flat user access control system. Flat means, that user access is controlled by level only, which is solution exactly opposite to complex RBAC access systems.
CGridview displays existent rows of the table (using DataProvider)
In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.
While rewriting the PcReportContent extension I'm maintaining I've bumped to a challenge. This wiki was born out of it.
Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was
When talking about cookie-base login the Yii guide indicates the following:
A Yii Framework 2 component for using assets in different environments (Local/CDNs)
Sometime we need to display numbers of items per page with their counting as a serial number.
There are cases that you want to validate the file format, size, extension etc but how to do that without submit the form ?
Sometimes you have CJuiDialog with different content but same buttons (or width, height). If you don't want to repeat yourself this is a great solution:
Assume that you have teachers and students model.
I am going to show you an effective way to validate the uniqueness of multiple columns.
In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.
Clearing CGridView filters and sort orders from the web pages, is usefull for the end user. Yii does not seem to propose a standard method. Furthermore, this is especially usefull when filters are "remembered" in the user's session.
The keywords will be stored in a text field in a comma delimited format. The keywords will be created by the site administrator.
How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that
For one of my projects I needed an interactive console command in Yii 1, i.e. the one that is gathering all information from user in an interactive mode (a serie of questions and answers displayed directly in the console), ignoring command-line arguments at all.