Wiki

Sorted by commentsX
Displaying 421-430 of 468 result(s).

Catching bounce messages (NDR) and piping them to a Yii command

Created 8 months ago by bennounaTutorials0 comments – viewed 3,214 times – ( +1 )
In order to avoid bounce messages and unsolicited registrations, most webapps send automatic activation emails upon user registration, and the account remain inactive as long as it is not activated. Better yet, you can periodically purge your data by removing accounts that have not yet been activated.

Creating Yii applications with composer

Created 7 months ago by schmunkTutorials0 comments – viewed 12,307 times – ( +19 )
Creating Yii applications with composer

Preventing CJuiTabs from hiding drop-down CMenu items

Created 2 years ago by Steve FriedlTips0 comments – viewed 6,141 times – ( +4 )
Almost all Yii applications use CMenu at the top of each page to show options available to the user, and many include drop-down components to allow more fine-grained selection.

[pt-br] O guia de estudos do Yii para iniciantes

Created 7 months ago by Rodrigo CoelhoTips0 comments – viewed 2,772 times – ( +1 )
You can find the english version of this wiki here: The complete beginner's study guide for the Yii Framework.

Setting static modules' properties in config

Created 7 months ago by Alexander PalamarchukTips0 comments – viewed 2,779 times – ( +2 / -2 )
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
tags: config, module

Create custom button button with AJAX function in CGridView

Created 7 months ago by nkdHow-tos0 comments – viewed 9,596 times – ( +4 )
CButtonColumn in CGridView can be customised to include user built buttons. To learn a great deal about including custom buttons, read this excellent wiki. This tutorial will show how to call an action from one custom button using AJAX instead of regular GET calls.

pass variables or content block from view file to layout file

Created 6 months ago by yiqing95How-tos0 comments – viewed 5,179 times – ( +1 )
If you use yiic to generate webApplication there will be a layout folder under the protected/views/, and the Controller class under protected/components which will use by default these layouts files.

caching controllers with filters()

Created 2 years ago by RusAlexHow-tos0 comments – viewed 6,716 times – ( +2 )
Hello, this article will describe some aspects about caching controllers with filters() method in your controller. And I will describe some problems I meet when using this approach for caching, the main problem was

Multilanguage Lorem Ipsum Text Generator

Created 5 months ago by yasenHow-tos0 comments – viewed 2,396 times – ( +2 )
Taking futher the idea from Piotr Masełkowski - http://www.yiiframework.com/extension/elipsum/ here's how to generate multilanguage Lorem Ipsum text. This example uses English and Bulgarian sample paragraphs. Create a class in /protected/components/LoremIpsum.php. Wall of text incoming wohoo...