Wiki

Sorted by date (updated)X
Displaying 91-100 of 483 result(s).

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

Updated 4 months ago by Roman SolomatinTutorials1 comment – viewed 11,181 times – ( +2 / -1 )
The Yii documentation states:
tags: module

Understanding Scenarios

Updated 4 months ago by Luke JurgsTutorials9 comments – viewed 37,693 times – ( +22 )
Scenarios are an extremely useful tool for separating validation tasks on any class you use derived from CModel. In this tutorial we will use CActiveRecord.

Twitter Bootstrap style Breadcrumbs

Updated 4 months ago by junaidatariHow-tos0 comments – viewed 5,618 times – ( +3 / -1 )
1: Create breadcrumb in your view file.

How to translate and do the translations the easy way

Updated 4 months ago by Roman SolomatinHow-tos3 comments – viewed 25,539 times – ( +17 / -1 )
I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.
tags: i18n

Using Bootstrap with LESS

Updated 4 months ago by Chris83How-tos1 comment – viewed 12,529 times – ( +14 )
I discovered Twitter Bootstrap almost two years ago. After trying it out for a while I fell in love with it. It didn't take long before I realized that it would be great to write an extension that allowed developers to start using Bootstrap in their Yii projects. One night I sat down and started writing what later became my now popular bootstrap extension. Now that the extension is quite widely used in the community I felt that it was time to write about how to use Bootstrap to its full potential. If you use the Bootstrap CSS files you're really missing out on some great features. After reading this article you'll be able to take full advantage of Bootstrap using LESS.

Kickstart development with Yii-App

Updated 4 months ago by Chris83How-tos20 comments – viewed 10,493 times – ( +17 )
I recently created a project called Yii-App on GitHub to kickstart my development of smaller Yii applications. The main goal of the project is to provide a ready-to-use application template that includes my bootstrap extension and many other useful extensions. After reading this article you will be able to use this project as a starting point for all of your Yii projects.

Handling Bootstrap active tabs in Yii via URL

Updated 4 months ago by JamesBarnsleyHow-tos4 comments – viewed 5,786 times – ( +5 )
As a lead developer at Mutable Labs I found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to this problem is rather cumbersome as every tab component will need the PHP code inserted or you will have to extend the tab component somehow to do it.

simple CSV export

Updated 4 months ago by bluyellHow-tos3 comments – viewed 4,839 times – ( +1 )
tags: csv, excel, export

Creating HTML code using Jamboree Panels

Updated 4 months ago by bluyellTutorials0 comments – viewed 4,609 times – ( +2 )

Filter / Search with CListView

Updated 4 months ago by JohnPollardHow-tos6 comments – viewed 18,586 times – ( +21 )
This is what I did. Its the EASIEST solution that I know of. I just reused the advanced search done in CGridView.