Wiki

Sorted by ratingX
Displaying 501-510 of 774 result(s).

Configuring CWebLogRoute for DB profiling

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

Behaviour for Time Zone and Format conversion for Date, Time, timestamp, and datetime

Created about a year ago by SmitheshHow-tos1 comment – viewed 7,138 times – ( +3 ) – version 1.1
This Behaviour helps to view time/date/timestamp/datetime from db to local Date / Time / Date Time format and in local Timezone. And save into db in with db timezone and db format. You only need to include this behaviour in models where need this facility.

Inline views, write less

Created 3 years ago by FirebreakerTips0 comments – viewed 5,665 times – ( +3 )
Sometimes writing views like

Moving the vendor directory for multiple projects

Created about a year ago by mariosimaremareHow-tos2 comments – viewed 9,547 times – ( +5 / -1 ) – version 2.0
This How-To is useful if you are planning to move the Yii vendor directory outside the default location.

Customizing the CMenu Widget

Created 3 years ago by mistrybTips1 comment – viewed 45,646 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 7 years ago by OriginalCopyTutorials3 comments – viewed 33,381 times – ( +5 / -1 ) – version 1.1
The Yii documentation states:
tags: module

Yii HMVC

Created 2 years ago by ezekielnoobHow-tos6 comments – viewed 11,927 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 7 years ago by KJediTutorials4 comments – viewed 20,120 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 2 years ago by Kostas Apazidis (KonApaz)How-tos3 comments – viewed 13,732 times – ( +5 / -1 ) – version all
Ok, this wiki is not only for yii projects.

Caching strategy

Created 2 years ago by darkheirHow-tos9 comments – viewed 6,205 times – ( +5 / -1 ) – version 1.1
Note: Before reading this wiki you should have read the caching part in the Yii guide
tags: caching, filter