Wiki

Sorted by ratingX
Displaying 471-480 of 715 result(s).

Expert's model generation with Gii

Created 4 months ago by le_topTips0 comments – viewed 3,286 times – ( +3 ) – version 1.1
Efficient coding with Yii implies efficient use of the code generator. This article shares the personalised Gii templates that were built starting from the standard templates proposed by AweGen.

Profiling using XDebug

Created about a year ago by le_topHow-tos1 comment – viewed 5,812 times – ( +3 ) – version all
A short explication on how to extract profile information for PHP on your server using XDebug and KCacheGrind or WinCacheGrind.

Configuring CWebLogRoute for DB profiling

Created 3 years ago by Igor IvanovicTutorials1 comment – viewed 16,919 times – ( +3 ) – version 1.1
/index.php /protected/config/main.php
tags: logger, profiler, db

embedded javascript block in your view with IDE checking or intellisense

Created 2 months ago by yiqing95Tips0 comments – viewed 1,835 times – ( +3 ) – version 2.0
this is my way for embed js code block in view file:

Inline views, write less

Created about a year ago by FirebreakerTips0 comments – viewed 4,062 times – ( +3 )
Sometimes writing views like

Customizing the CMenu Widget

Created about a year ago by mistrybTips1 comment – viewed 29,562 times – ( +5 / -1 ) – version 1.1
The CMenu class provides some useful features for generating menus in your web application.

How to access a component of a module from within the module itself

Created 5 years ago by OriginalCopyTutorials3 comments – viewed 21,513 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

Yii HMVC

Created about a year ago by ezekielnoobHow-tos6 comments – viewed 7,638 times – ( +5 / -1 )
Right now we can use widgets + action provider like in this tutorial: How to use a Widget as an Action Provider

Integrating with other frameworks

Created 5 years ago by KJediTutorials4 comments – viewed 16,016 times – ( +5 / -1 ) – version 1.1
When you need to integrate with other frameworks (e.g. Zend Framework), you have to follow these steps:

Remove Byte Order Mark (BOM) from files recursively

Created about a year ago by KonApazHow-tos3 comments – viewed 5,972 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.