Wiki

Sorted by commentsX
Displaying 381-390 of 677 result(s).

CJuiTabs Content

Created about a year ago by mbalaTips2 comments – viewed 9,906 times – ( +6 ) – version 1.1
When I used CJuiTabs I did something. They are
tags: CJuiTabs

Javascript and AJAX with Yii

Created about a year ago by François GannazHow-tos2 comments – viewed 87,045 times – ( +39 ) – version 1.1
This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii. It does not explain how to learn coding in JS, but how to deal with it "the Yii way".
tags: javascript, AJAX

The complete beginner's study guide for the Yii Framework

Created about a year ago by Rodrigo CoelhoTips2 comments – viewed 43,302 times – ( +20 ) – version 1.1
Start studying the MVC pattern. You will understand the roles of the model, the view and the controller and know where goes each part of the code.

Localized version of CFormatter

Created about a year ago by marcovtwoutHow-tos2 comments – viewed 3,361 times – ( +3 ) – version 1.1
Since Yii 1.1.14, a CLocalizedFormatter is available.

FORM with GET method causes repeated stacking of URL Parameters

Created 2 months ago by Kartik VTips2 comments – viewed 1,162 times – ( +26 / -4 ) – version all
You are using an ActiveForm in yii (both v1.x or 2), with a GET method like below:

Instantiate a child class that depends a type field from parent model class (CActiveRecord)

Created about a year ago by robregonmHow-tos2 comments – viewed 6,071 times – ( +3 / -1 ) – version 1.1
[EN] [ES]

How to use Smarty renderer in Yii

Created 3 years ago by dongbetaHow-tos2 comments – viewed 15,855 times – ( +4 ) – version 1.1
At first, create a class named SmartyRenderer under application/components or any directory you want.
tags: smarty, renderer

CGridView and AjaxForm Connect

Created 3 years ago by PinkBrainPlanHow-tos2 comments – viewed 17,490 times – ( +1 ) – version 1.1
As I'm new to the framework (2 weeks) - I tried to build a functionallity I already use a lot in my old framework (PRADO). This means combining a GridView with a form. And this in one page, what allows you to select a record from the grid and view the values in the same page without jumping to a new page.
tags: Ajax, Form, CGridView

Managing your nested dropdown dependency with DepDrop widget

Created 2 months ago by Kartik VTutorials2 comments – viewed 1,695 times – ( +25 / -5 ) – version 2.0
If you are coming over to Yii 2 from Yii 1.x, you may have already read this useful wiki for creating dependent dropdowns. You can use a similar approach in Yii 2 to do the same. But if you are looking at a prebuilt solution that helps you manage it easier, read along.

Multilanguage Lorem Ipsum Text Generator

Created about a year ago by yasenHow-tos2 comments – viewed 4,237 times – ( +2 ) – version 1.1
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...