Wiki

Sorted by commentsX
Displaying 491-500 of 753 result(s).

AutoTimestampBehavior

Created 6 years ago by jonahTutorials1 comment – viewed 12,021 times – ( +2 / -2 ) – version 1.1
Note: currently a variant of this class CTimestampBehavior is included into Yii distribution package.

Building Page Specific Menus using CMenu

Created 2 years ago by mistrybHow-tos1 comment – viewed 9,501 times – version 1.1
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.
tags: CMenu

How to validate the uniqueness of multiple columns

Created 7 months ago by moginnHow-tos1 comment – viewed 2,068 times – ( +1 ) – version 1.1
I am going to show you an effective way to validate the uniqueness of multiple columns.

Running applications with Docker

Created 7 months ago by schmunkTutorials1 comment – viewed 7,074 times – ( +6 ) – version 2.0
When building PHP web applications you usually have to take care about defining and providing a consistent development and production environment for your team. This includes your application packages, PHP-extensions, database servers and often further components such as a mail server or workers.

How to validate CSRF token with session

Created 3 years ago by yangmlsHow-tos1 comment – viewed 41,582 times – ( +22 ) – version 1.1
First of all, You must change component config to enable the default Yii CSRF validation.
tags: CSRF, session

Simple authorization system

Created 3 years ago by GustavoHow-tos1 comment – viewed 26,928 times – ( +16 ) – version 1.1
How to create a simple (non-RBAC) authorization system

Display Status image on CGridView column

Created 2 years ago by Ankit ModiTutorials1 comment – viewed 9,783 times – ( +2 / -1 ) – version all
How to display status image on admin gridview.

How to Display tooltp(qtip) on CGridview dynamic

Created 2 years ago by Ankit ModiTips1 comment – viewed 6,584 times – ( -1 )
Hi Friends,

how to make a dynamic progress bar to show the percentage or status

Created 2 years ago by hehbhehbHow-tos1 comment – viewed 20,817 times – ( +5 ) – version 1.1
Yii have a CJuiProgressBar, but it is static. If we want a dynamic progress bar to show the percentage or status, we have to do more things. I make it successfully and am glad to share it with you.

Rendering a view file in a console application

Created 3 years ago by TompiHow-tos1 comment – viewed 9,476 times – ( +4 / -2 ) – version 1.1
When someone want to send formatted HTML mails from a console application she/he will probably come across the problem of rendering view files.