Wiki

Sorted by commentsX
Displaying 321-330 of 483 result(s).

How to re enable logging during unit testing

Created about a year ago by AsgarothHow-tos1 comment – viewed 7,265 times – ( +7 )
Some of you have experienced the need to log some information while doing unit testing, due to the fact that the information given in the summary is just not enough, to know why the test is actually failing. this article focuses on 2 ways to get you logs up and running again.

Links to Yii FAQs on the web

Created about a year ago by schmunkFAQs1 comment – viewed 4,872 times – ( +2 )
While this is not a wiki article about a specific Yii topic, here is the list with more Yii FAQs:
tags: faq, yii, questions

Simple authorization system

Created about a year ago by GustavoHow-tos1 comment – viewed 15,991 times – ( +16 )
How to create a simple (non-RBAC) authorization system

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

Created 4 years ago by OriginalCopyTutorials1 comment – viewed 11,176 times – ( +2 / -1 )
The Yii documentation states:
tags: module

Rendering a view file in a console application

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

How to add a named scope to ActiveRecords with a behavior

Created 4 years ago by MikeTutorials1 comment – viewed 9,808 times – ( +3 )
Since Yii 1.0.5 you can use named scopes with ActiveRecords. They are a great help in simplifying your query calls.

How To Connect With Twitter From Yii

Created 4 years ago by lucifuriousTutorials1 comment – viewed 14,953 times – ( +3 / -1 )
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.
tags: twitter

Database driven Cmenu

Created about a year ago by twisted1919How-tos1 comment – viewed 11,076 times – ( +12 )
This is a simple example that will give you a base for designing a database driven menu system that will use CMenu to be rendered.

How to extend yiic shell commands

Created 3 years ago by qiangTutorials1 comment – viewed 13,780 times – ( +2 )
Note: this tutorial requires Yii 1.0.8 or later.
tags: yiic

How to use default layout for error pages instead of errorXXX views

Created 3 years ago by idle signTutorials1 comment – viewed 10,928 times – ( +4 )
The issue is covered in "The Definite Guide to Yii" (Error Handling - Handling Errors Using an Action).