Showing 1-20 of 652 items.

What SQL-Statement creates yii?

Created 8 years ago by Necip Necip, updated 8 years ago by Necip Necip. 0 comments

The usual way to find out what Yii has created for an SQL query is to mutilate the SQL in the sourcecode and call the program again so that the SQL statement with errors is displayed. Or you can use the SQL logger, which must be switched on and off each time and logs all SQL statements, which leads to an enormous slowdown in program execution and decelerates your workflow.

0 0
1
Viewed: 16 843 times
Version: 1.1
Category: Tips

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 012 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 199 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 108 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: 20 695 times
Version: 1.1
Category: How-tos

Active Record snapshotting (Model data base history)

Created 11 years ago by Bizley Bizley, updated 11 years ago by Bizley Bizley. 3 comments

One of the common tasks the web application might be required to perform, especially the app using some kind of a CMS, is to save the history of data changes. Your client for sure will want the answer to this simple question - If I mess this up or delete by accident can we bring it back? Well, DB backup is one thing and quick recovery is another - let's talk about latter one.

1 0
5
Viewed: 20 110 times
Version: 1.1
Category: Tutorials