Showing 1-20 of 292 items.

An alternative way to ElasticSearch

Created 8 years ago by Necip Necip, updated 3 years ago by Necip Necip. 5 comments

This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.

1 0
2
Viewed: 50 369 times
Version: all
Category: How-tos

How to customize your grid columns visible and order by user themselves

Created 9 years ago by Scott_Huang Scott_Huang, updated 9 years ago by Scott_Huang Scott_Huang. 0 comments

The export to excel function will affected by the final resorted columns in case you use my export grid to excel extends hzlexportgrid too, Since that export extention just depends on the grid columns configs, and that columns been customized by user themselves just now.

0 0
1
Viewed: 28 312 times
Version: 1.1
Category: How-tos

Multiple CGridView virtual attributes, retrieved from a single model function. Also communication between CGridView columns and rows; and between CGridView and its own parent view.

Created 11 years ago by Gerhard Liebenberg Gerhard Liebenberg, updated 11 years ago by Gerhard Liebenberg Gerhard Liebenberg. 3 comments

We probably have all used a virtual attribute (model function) to retrieve complex or related data for a CGridView column:

0 0
4
Viewed: 16 194 times
Version: 1.1
Category: How-tos

Using Yii Gallery Manager in your Yii 1.x application

Created 11 years ago by Trejder Trejder, updated 11 years ago by Trejder Trejder. 0 comments

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1
Viewed: 21 082 times
Version: 1.1
Category: How-tos

How to nest DB transactions without actually nesting them.

Created 11 years ago by le_top le_top, updated 11 years ago by le_top le_top. 0 comments

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.

1 0
1
Viewed: 14 593 times
Version: 1.1
Category: How-tos

Use CGridview to sort and filter CSqlDataProvider - when used with UNRELATED tables (or complex queries)

Created 11 years ago by Gerhard Liebenberg Gerhard Liebenberg, updated 11 years ago by Gerhard Liebenberg Gerhard Liebenberg. 6 comments

I have two tables called hospitals and departments. I have a junction table between them which holds the departments in each hospital. But sometimes I need a list of "All hospitals with All possible departments" - regardless of whether they are linked in the junction table or not.

0 0
3
Viewed: 27 411 times
Version: 1.1
Category: How-tos