Wiki articles

Showing 101-120 of 826 items.

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.

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: 27 936 times
Version: 1.1
Category: How-tos

How to make bootstrap tabs remain active/selected after navigating to different web pages.

Created 9 years ago by emrald emrald, updated 9 years ago by emrald emrald.

Bootstrap tabs gets unselected/inactive when user navigates to other page and comes back. How to make bootstrap tabs remain active/selected after navigating to different web pages.

1 0
3 followers
Viewed: 25 668 times
Version: 2.0
Category: Tutorials

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

Created 13 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 9 years ago by brianvu brianvu.

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

2 2
7 followers
Viewed: 41 524 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 12 years ago by toph toph, updated 9 years ago by toph toph.

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

0 0
5 followers
Viewed: 59 464 times
Version: 1.1
Category: How-tos

Installation guide: Yii-2 advanced template with RBAC system

Created 9 years ago by Sherin Jose Sherin Jose, updated 9 years ago by Sherin Jose Sherin Jose.

Welcome, all of you !

10 1
19 followers
Viewed: 131 968 times
Version: 2.0
Category: Tutorials
Tags: install, rbac, yii2

A universal model attribute for its synthetic representation

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

It is convenient to use the same identification attribute, say info, in all of the active records of your application. It should be a virtual read-only attribute defined by a getter method, its label being the model name.

0 0
3 followers
Viewed: 18 849 times
Version: 2.0
Category: Tips

Boost composer-asset-plugin update speed

Created 10 years ago by schmunk schmunk, updated 10 years ago by samdark samdark.

If you're using a lot of bower and npm assets with Yii 2.0 you might encounter long running composer update tasks.

6 0
6 followers
Viewed: 33 743 times
Version: 2.0
Category: Tips

A Single Page with a List and a Detail

Created 10 years ago by softark softark, updated 10 years ago by Patrick Jones Patrick Jones.

The CRUD generator of Gii has done a wonderful job for you, and you already have a list of items in the "index" page and a detailed view of a specified item in the "view" page.

3 0
5 followers
Viewed: 65 197 times
Version: 2.0
Category: How-tos

How To: Custom Client Validation On Checkbox Toggle and Optional Input Field

Created 10 years ago by Wade Shuler Wade Shuler, updated 10 years ago by Wade Shuler Wade Shuler.

I just chased my tail around for a bit today. I got lost with setting the status of all inputs, and banging my head on why the "validate" function just wasn't working.

0 0
1 follower
Viewed: 29 314 times
Version: 2.0
Category: How-tos

CJuiDialog to create new model

Created 15 years ago by zaccaria zaccaria, updated 10 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

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

55 0
64 followers
Viewed: 174 698 times
Version: 1.1
Category: Tutorials

Popup AJAX DialogBox without any extension

Created 13 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 10 years ago by Maurizio Domba Cerin 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: 34 403 times
Version: 1.1
Category: How-tos

Yii 1.1.17 Ubuntu AutoInstall Bash Script

Created 10 years ago by Preacher Preacher, updated 10 years ago by Preacher 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: 13 840 times
Version: 1.1
Category: Others

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

Created 11 years ago by ruderbytes ruderbytes, updated 10 years ago by ruderbytes 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: 73 249 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 12 years ago by Gerhard Liebenberg Gerhard Liebenberg, updated 10 years ago by Gerhard Liebenberg 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: 68 209 times
Version: 1.1
Category: How-tos

Yii2cdn Component

Created 10 years ago by junaidatari junaidatari, updated 10 years ago by junaidatari junaidatari.

A Yii Framework 2 component for using assets in different environments (Local/CDNs)

0 0
2 followers
Viewed: 21 035 times
Version: 2.0
Category: How-tos
Tags: assets, CDN, yii2

By Example: CHtml

Created 16 years ago by jonah jonah, updated 10 years ago by glicious 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: 1 017 047 times
Version: 1.1
Category: Tutorials

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

Created 13 years ago by VINAY Kr. SHARMA VINAY Kr. SHARMA, updated 10 years ago by VINAY Kr. SHARMA 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: 34 466 times
Version: 1.1
Category: How-tos

Background task with Ajax

Created 10 years ago by Alexandre Rodichevski Alexandre Rodichevski, updated 10 years ago by Alexandre Rodichevski 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: 30 402 times
Version: 1.1
Category: Tutorials
0 0
3 followers
Viewed: 13 616 times
Version: 2.0
Category: How-tos
Tags:

How to change GridView delete confirmation message for specific controllers only?

Created 10 years ago by AlaFalaki AlaFalaki, updated 10 years ago by AlaFalaki AlaFalaki.

Hello,
If you want to give extra attention for some specific delete actions and you don't want to override whole yii.confirm JS method here is what you can do:
(I've only put the ActionColumn part of the GridView here to just give you the idea)

3 0
4 followers
Viewed: 49 815 times
Version: 2.0
Category: Tips