In this article I will show you how to slightly increase application security, by exploiting the fact that Yii implements the Front Controller Pattern.
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
hai teman yii... apa kabar.. kembali lagi bersama catatan saya..
When using CListView to display multiple views next to each other, we can use the $index variable inside the viewFile to achieve this. As far as i know there is no extension or out-of-the-box functionality for this, so we need to apply a little hack:
When talking about cookie-base login the Yii guide indicates the following:
Use this extension : yii2-relation-trait
1) Add a fancy-box extension on admin page
En ciertas ocasiones tenemos que lidiar con el tema de colocar una lista de checkboxes para hacer una seleccion especifica como es el caso de los dias de la semana para un calendario, para esta labor tenemos el comando CHtml::checkBoxList(), revisando un poco el funcionamiento de este temos los siguientes parametros:
If you are hosting Yii behind a reverse proxy, for example nginx, and you are having issues with your logs showing the proxies IP, or the urls being created arn't being created for SSL because your SSL certs are located on your reverse proxy instead of the Yii server, this code may be able to help you. I placed them in the very top of Yii's entry script, index.php
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.
Using Rights generator component, we can easily create a dynamic menu, in which we scan every modules' controllers, to access the index page of them.
There are cases that you want to validate the file format, size, extension etc but how to do that without submit the form ?
Here is a way to dynamically extend tabs based on clips.
Probably even more complex things could be done.
ChromePHP is a console logging extension for Google Chrome.
Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).
solution here If we are using default pagination option like