Wiki articles

Showing 41-60 of 651 items.

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

Created 7 years ago by Scott_Huang, updated 7 years ago by Scott_Huang.

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 follower
Viewed: 22 667 times
Version: 1.1
Category: How-tos

"safe" and "unsafe" Model validators (massive assignments)

Created 10 years ago by Kostas Apazidis (KonApaz), updated 7 years ago by brianvu.

Ok, it is a little bit difficult to full understanding the unsafe validator.

2 2
7 followers
Viewed: 36 250 times
Version: 1.1
Category: How-tos

How to create a criteria condition for a multiple value text search i.e a "LIKE IN"

Created 10 years ago by toph, updated 7 years ago by toph.

This is a shortcut for adding a text search for multiple values i.e.

0 0
5 followers
Viewed: 53 935 times
Version: 1.1
Category: How-tos

CJuiDialog to create new model

Created 13 years ago by zaccaria, updated 7 years ago by Maurizio Domba Cerin.

In this tutorial we will learn how to realize a create interface using a dialog.

55 0
64 followers
Viewed: 127 603 times
Version: 1.1
Category: Tutorials

Popup AJAX DialogBox without any extension

Created 10 years ago by Kostas Apazidis (KonApaz), updated 7 years ago by Maurizio Domba Cerin.

In this wiki I explain how to show a default popup dialogbox (like Gii does) using an existing module.

5 1
6 followers
Viewed: 30 424 times
Version: 1.1
Category: How-tos

Yii 1.1.17 Ubuntu AutoInstall Bash Script

Created 7 years ago by Preacher, updated 7 years ago by Preacher.

Just thought I would share this bash script I wrote to help automate a base install of YII on an Ubuntu server. This script does the following:

1 1
1 follower
Viewed: 11 740 times
Version: 1.1
Category: Others

How To : Create Forgot Password in Yii (Sending Email to Reset Password)

Created 9 years ago by ruderbytes, updated 7 years ago by ruderbytes.

Assalamualaikum wr.wb Hello yii people i'm Muhammad Fahmi Azain this is tutorial about forgot password in yii framework, and i'm sorry if it does not comply with code standards yii. okay let's begin

0 0
2 followers
Viewed: 60 297 times
Version: 1.1
Category: How-tos

Sort and filter a custom or composite CGridView column - that may even contain data from different tables.

Created 10 years ago by Gerhard Liebenberg, updated 7 years ago by Gerhard Liebenberg.

I have a table (account) which contains "General Ledger" accounts. Each account has its own account_description - such as 'inventory', 'sales', etc.

6 0
6 followers
Viewed: 64 874 times
Version: 1.1
Category: How-tos

By Example: CHtml

Created 14 years ago by jonah, updated 8 years ago by glicious.

"By Example" cookbook pages will provide coding examples for many of the commonly used classes within Yii. We will try to provide as many usage examples as possible for keep these pages as helpful as possible.

79 0
74 followers
Viewed: 989 886 times
Version: 1.1
Category: Tutorials

How to avoid rendering entire page on AJAX call for CGridView and CListView

Created 10 years ago by VINAY Kr. SHARMA, updated 8 years ago by VINAY Kr. SHARMA.

CGridView and CListView are great widget to populate records and also provides features like ajax update, column sort, search, drop-down filter, ajax content load and many more...

3 0
12 followers
Viewed: 31 374 times
Version: 1.1
Category: How-tos

Background task with Ajax

Created 8 years ago by Alexandre Rodichevski, updated 8 years ago by Alexandre Rodichevski.

This article discusses how one can run a long task in background in yiiframework 1.1 using Ajax technique.

0 0
1 follower
Viewed: 25 540 times
Version: 1.1
Category: Tutorials

How to translate and do the translations the easy way

Created 12 years ago by Roman Solomatin, updated 8 years ago by Roman Solomatin.

I wanted to keep all the I18N related translations in separate files, so that I would not need to modify the view files or the model files every time I need to update or fix the translations of application's source language.

16 2
17 followers
Viewed: 87 492 times
Version: 1.1
Category: How-tos

Handling recursive deletion in Yii

Created 11 years ago by JamesBarnsley, updated 8 years ago by JamesBarnsley.

I www.jamesbarnsley.com was tasked to find a way to do recursive deletion in Yii. As I asked other developers and looked around the internet the usual answers all came up, use a plugin or use cascade delete at the DB level, but I did not want to do either of these.

3 0
5 followers
Viewed: 16 309 times
Version: 1.1
Category: How-tos

Handling Bootstrap active tabs in Yii via URL

Created 11 years ago by JamesBarnsley, updated 8 years ago by JamesBarnsley.

I (www.jamesbarnsley.com) found that when using the Yii Bootstrap tabs component you will sometimes want to direct the user to a specific tab and not necessarily the first tab. Yii Bootstrap already provides the "active" variable so you can define whether the tab is the active tab or not in PHP. I generally find though that a PHP solution to...

3 0
7 followers
Viewed: 39 603 times
Version: 1.1
Category: How-tos

CMenu widget like bootstrap navbar with submenu

Created 8 years ago by kv4nt, updated 8 years ago by kv4nt.
0 0
1 follower
Viewed: 22 846 times
Version: 1.1
Category: Tutorials

Relational Query - Lazy Loading and Eager Loading in Yii 1.1 / with and together

Created 10 years ago by softark, updated 8 years ago by softark.

It's well known that there are Lazy Loading approach and Eager Loading approach in the relational query. But it's important to note that you should distinguish 2 different modes in the Eager Loading in Yii 1.1.x.

9 0
22 followers
Viewed: 59 547 times
Version: 1.1
Category: Tutorials

Multi Data Provider

Created 10 years ago by Sharon Lavie, updated 8 years ago by Sharon Lavie.

Lately, i needed to deal with the following scenario: read from two databases (db1,db2), and write to a third database (db3).

1 0
4 followers
Viewed: 18 314 times
Version: 1.1
Category: Tips

How to use a Widget as an Action Provider

Created 13 years ago by Antonio Ramirez, updated 8 years ago by stinkytofu.

All done, now we can call all the actionProvider actions as controllerID/actionPrefix.actionID. Here is the example:

24 0
41 followers
Viewed: 59 858 times
Version: 1.1
Category: How-tos

Cron Jobs in Yii

Created 10 years ago by aarondfrancis, updated 8 years ago by Roman Solomatin.

I've gotten Yii running cron jobs, and wanted to explain briefly how I did it.

2 0
9 followers
Viewed: 34 170 times
Version: 1.1
Category: How-tos

How to use nested DB transactions (MySQL 5+, PostgreSQL)

Created 14 years ago by mindeh, updated 8 years ago by Boaz.

Original source code and idea are from: PHP, PDO & Nested Transactions.

41 0
26 followers
Viewed: 66 530 times
Version: 1.1
Category: How-tos