Wiki

Sorted by commentsX
Displaying 601-610 of 777 result(s).

Yii Rights Management Tips

Created about a year ago by Rajith RTips0 comments – viewed 5,208 times – ( +6 ) – version 1.1
yii rights some tips..

Search a file size range in CGridView

Created 3 years ago by CrazyCatTips0 comments – viewed 5,811 times – ( +2 )
Working on a report system of files transfert, I had to let the users simply find files by size. I didn't want to have two fields, I prefer a simple text input, with "human syntax".

Gettext and Poedit HOWTO

Created about a year ago by Maug LeeTutorials0 comments – viewed 4,836 times – version 1.1
Example settings when using Gettext for i18n.

How to nest DB transactions without actually nesting them.

Created about a year ago by le_topHow-tos0 comments – viewed 3,295 times – ( +1 ) – version 1.1
To secure your database from inconsistencies resulting from failing (complex) operations, you (should) use transactions. However, complex methods often rely on other complex methods that themselves build on transactions. This HowTo presents a method to nest or embed transactions without relying on the database's nesting capabilities.

Themed translations (i18n)

Created about a year ago by le_topHow-tos0 comments – viewed 3,806 times – ( +1 ) – version 1.1
When using themes you want to changes some of the translations specifically to the theme while keeping the standard translations for most of the text. Duplicating the main translation file is a headache for maintainance. This how to provides a solution.

Clear CGridView Filters, Sort & Pager

Created about a year ago by le_topHow-tos0 comments – viewed 7,672 times – ( +2 ) – version 1.1
Clearing CGridView filters and sort orders from the web pages, is usefull for the end user. Yii does not seem to propose a standard method. Furthermore, this is especially usefull when filters are "remembered" in the user's session.

How to filter data using a dropdown list?

Created 7 years ago by qiangTutorials0 comments – viewed 28,273 times – ( +8 ) – version 1.1
A dropdown list can be used to select a value, based on which we can filter the data to be displayed. For example, the extension page has a dropdown list to filter the displayed extensions according to the selected category.

Understanding series articles

Created 4 years ago by GOshaTips0 comments – viewed 9,258 times – ( +16 ) – version 1.1
Here are all wiki articles from "Understanding" series by Yii wiki contributors:

How to use Highslide for image popups

Created 7 years ago by mocapapaTutorials0 comments – viewed 18,804 times – ( +1 ) – version 1.1
You can download the highslide javascript from http://highslide.com/. And here is an explanation on that URL;
tags: image, popups

checkBox in CGridview

Created about a year ago by n-rOthers0 comments – viewed 12,259 times – ( +1 ) – version 1.1
some when you need to add checkbox in cgridview and change state of selected rows by additianal parameters. in view :