Wiki

Sorted by commentsX
Displaying 391-400 of 718 result(s).

Extension Development (beginner)

Created 11 months ago by sefburhanTutorials2 comments – viewed 16,004 times – ( +33 ) – version 1.1
To extend the functionality of you web application relative to your requirements you are supposed to use existing yii core libraries or use external libraries. There are some steps to ensure security, uniqueness, modularity, performance and to avoid rework in future.

Code style

Created 4 years ago by zaccariaTips2 comments – viewed 14,069 times – ( +29 ) – version 1.1
Often, when writing widgets or editing Yii code, it is unclear whether or not the code is following the MVC pattern.
tags: mvc

Simple Multiple Environment Setup with Default Yii Installation

Created 10 months ago by turiHow-tos2 comments – viewed 4,162 times – ( +3 ) – version 1.1
After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.

Configuring Yii to run on both Windows and OSX

Created 10 months ago by trondHow-tos2 comments – viewed 2,848 times – ( +2 ) – version 1.1
If you develop your Yii project on both Windows and Mac, there can be a problem setting up the configuration unless the configurations for both system are identical. On my machines I have the following configurations:
tags: config

CGridView customized CCheckBoxColumn

Created 10 months ago by chandranTips2 comments – viewed 6,015 times – ( +5 ) – version 1.1
Hi friends,

Override/Eliminate Bootstrap CSS/JS for Yii 2.0 widgets

Created 9 months ago by Kartik VHow-tos2 comments – viewed 7,576 times – ( +27 / -4 ) – version 2.0
In Yii 2.0, the yii widgets that use Twitter Bootstrap CSS & JS directly, are part of the yii2-bootstrap extension, starting with yii/bootstrap namespace. For customizing bootstrap extension specific widget assets, you could configure your own assets (CSS/JS) using the new Yii Asset Manager in your Yii Config file. Something like:

Image Puzzle Game

Created 9 months ago by nachiOthers2 comments – viewed 1,977 times – ( +3 ) – version 1.1
I have developed a extension for a image puzzle game. You can use your own images and you can also customize how many rows and columns for the image. It can be used in commercial sites. I just needed your thoughts on the game.
tags: image, puzzle, game

Quick Tip about Pagination Params

Created 4 years ago by Antonio RamirezTips2 comments – viewed 25,018 times – ( +6 ) – version 1.1
Developing custom Grids and ListViews for my new CMS I was facing a small challenge: If I was to update/delete/batch delete items of my Grid, how would I return to the current page view?
tags: Pagination

Putting Function To Be Called In View

Created 3 years ago by junxiongTips2 comments – viewed 25,417 times – ( +6 / -1 ) – version 1.1
Sometimes we need some complicated view to be displayed (such as generating complicated table). Most people suggest that in MVC the View must be as simple as possible (don't have too much loops, etc). So what we have to do is to hide away the complex code by putting it at somewhere else. The following are few places options to keep the function:
tags: view, render

Simple example for language translation

Created 9 months ago by RKAHow-tos2 comments – viewed 9,505 times – ( +1 ) – version 1.1
Language translation is a common requirement in multi lingual sites. In Yii, we can translate using message and view translation.
tags: yii, i18n