Wiki

Sorted by date (updated)X
Displaying 481-490 of 707 result(s).

Advanced CTabView using CClipWidget

Updated 2 years ago by Yang HeTutorials1 comment – viewed 10,341 times – ( +2 ) – version 1.1
Here is a way to dynamically extend tabs based on clips. Probably even more complex things could be done.

Organize directories for applications with front-end and back-end using WebApplicationEnd behavior

Updated 2 years ago by kiran sharmaTutorials22 comments – viewed 78,743 times – ( +33 ) – version 1.1
Previously there was described a way to build an application with front-end and back-end. I would like to continue this theme and suggest another way to organize directories using WebApplicationEnd behavior.

Organize directories for applications with front-end and back-end

Updated 2 years ago by intel352Tutorials10 comments – viewed 62,076 times – ( +28 ) – version 1.1
Large applications are often divided into front-end and back-end (or even more ends) depending on the target user groups. The front-end should be used by common users, while the back-end mainly the administrators or staff members. The two ends usually have dramatically different appearance, even though they may share a lot of code underneath. In this tutorial, we describe a way of organizing directories of the code for both ends.

Using SQLite and CDbMessageSource as a module

Updated 2 years ago by pheadeauxHow-tos5 comments – viewed 10,399 times – ( +5 ) – version 1.1
There are scenarios when you work with DVCS (like Mercurial or Git) and CDbMessageSource. To my experience keeping the development database and production database in sync can be very time consuming. Plus, when working in a team, you never know when the database was updated.

MVC primer and 5 minute form walkthrough

Updated 2 years ago by rix.rix.Tutorials0 comments – viewed 15,619 times – ( +8 ) – version 1.1
This tutorial assumes some basic knowledge of Yii and a functional development environment.
tags: Forms, tutorial, mvc

How to: use github for download yii, create new app, and store our modules or extensions.

Updated 2 years ago by Maurizio Domba CerinHow-tos1 comment – viewed 8,977 times – ( +8 ) – version 1.1
Yesterday I've written a module for myself. Just an experiment. When I was feeling satisfied, I've created a repository on github, and pushed my code. My module and yii are on github. So I'll show you a "new" way to start our yii projects.
tags: github, git

How to hide `index` action from URL

Updated 2 years ago by rootbearHow-tos2 comments – viewed 11,138 times – ( +3 / -2 ) – version 1.1
Here is my experiment inspired by my own question and others from the forum.
tags: index

Simple access control

Updated 2 years ago by szfjozsefTutorials4 comments – viewed 30,006 times – ( +4 / -8 ) – version 1.1
For those who feel, the Controller->accessRules() or RBAC (Role-Based Access Control) is too complicated or doesn't want the username(s) to be hard-coded in accessRules(), here is a very simple, easy-to-implement solution.

Avoiding rendering entire page when using CGridView and CListView via AJAX

Updated 2 years ago by xrxHow-tos17 comments – viewed 33,118 times – ( +23 ) – version 1.1
Since I used CGridView for a first time, I didn't like how it handled operations like sorting, filtering, changing page and etc using AJAX.

CGridView: Display the full record (actionView) in a CJuiDialog

Updated 2 years ago by JobloTips7 comments – viewed 35,366 times – ( +15 ) – version 1.1
If you show a model (with a lot of attributes) partially in a CGridView, it can be helpful when the user can take a quick look at the full record with all attributes without displaying the view as a page and afterwards returning back to the gridview.