In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message
In this article i will explain how to customize log activity in database, Imaging you need to save IP user, Url request and user_name in database,But table created by default with Yii only have id,level,category,logtime and message
implementing some features of yii user and rights.
For a complete sample Nginx+PHP-FPM config, view this how-to: Nginx & PHP-FPM
The CGridView widget is very useful and customizable, but sometimes you need a little more. One limit I found is to have only one row for headers; yes, you can write each column header in more than one row, but just inside the single cell. I was looking instead for the possibility to use more than one row, with different structure one from the others. This way **you can write columns grouping h...
Few days ago i was playing with TCPF plugin to create a PDF files. Since i have checked few available extension and also checked some forum threads but still i dont get my expected result for PDF file.
This is an example for how to create Excel File with PHPExcel library.This article is inspired by Wikki Article return by Antonio Ramirez and extension created by marcovtwout for [PHPExcel library](https://github.co...
if you have use the yiibooster extension, you have definitely used the amazing redactor, html5 and ckEditor editors.
/*
Get class constants by token.
If you set constants with same prefix, like:
MY_STATUS_1
MY_STATUS_2
MY_STATUS_3
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