Wiki

Sorted by commentsX
Displaying 311-320 of 470 result(s).

Advanced CTabView using CClipWidget

Created 4 years ago by krillzipTutorials1 comment – viewed 7,983 times – ( +2 )
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Autocomplete in console command

Created about a year ago by StammTutorials1 comment – viewed 5,301 times – ( +3 )
Missed of autocomplete in bash console commands yii make me sad.

AutoTimestampBehavior

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

How to re enable logging during unit testing

Created about a year ago by AsgarothHow-tos1 comment – viewed 6,971 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,730 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,325 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 10,666 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,376 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,507 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 3 years ago by lucifuriousTutorials1 comment – viewed 14,523 times – ( +3 / -1 )
Here is a quick tutorial for connecting Yii with Twitter using the Pogostick Yii Extensions Library.
tags: twitter