Wiki articles in category Tips

Showing 21-32 of 32 items.

Yii2 default values for Index data Provider

Created 6 years ago by CTala, updated 6 years ago by CTala.

Guys,

2 0
5 followers
Viewed: 26 744 times
Version: 2.0
Category: Tips

Key web server settings after installing a fresh Yii 2 basic or advanced app

Created 6 years ago by Kartik V, updated 6 years ago by Kartik V.

So, you have installed a brand new Yii 2 app (basic) or (advanced). Here are a few tips for Apache web server users to get things running more secure and better with your yii2 app.

2 0
45 followers
Viewed: 22 608 times
Version: 2.0
Category: Tips

embedded javascript block in your view with IDE checking or intellisense

Created 5 years ago by yiqing95, updated 5 years ago by yiqing95.

this is my way for embed js code block in view file:

2 0
3 followers
Viewed: 9 307 times
Version: 2.0
Category: Tips

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Created 7 years ago by Luis Lobo Borobia, updated 3 years ago by Luis Lobo Borobia.

We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

2 0
2 followers
Viewed: 9 938 times
Version: all
Category: Tips

Debuging variables in Yii2

Created 5 years ago by johonunu, updated 5 years ago by johonunu.

This tutorial is explained following "basic" application structure.

4 1
7 followers
Viewed: 27 368 times
Version: 2.0
Category: Tips

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

Created 4 years ago by AlaFalaki, updated 4 years ago by 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: 36 439 times
Version: 2.0
Category: Tips

Create Form With DynamicModel

Created 5 years ago by Misbahul D Munir, updated 5 years ago by Misbahul D Munir.

In yii2 we can create form without create FormModel. Here we go

3 0
8 followers
Viewed: 36 115 times
Version: 2.0
Category: Tips
Tags: form, model, yii2

Yii 2 list of path aliases available with default basic and advanced app.

Created 6 years ago by Kartik V, updated 5 years ago by Kartik V.

If you are coming over from Yii 1.x to Yii 2, and already read this guide, you may note that namespaces are very important in Yii 2 to identify classes. But do you know the list of seeded path aliases that come shipped with a basic or advanced app? Here is my attempt to list them.

13 3
48 followers
Viewed: 148 833 times
Version: 2.0
Category: Tips

Boost composer-asset-plugin update speed

Created 4 years ago by schmunk, updated 4 years ago by 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: 21 810 times
Version: 2.0
Category: Tips

Yii2 Report Grid

Created 3 years ago by Chris Backhouse, updated 2 years ago by Chris Backhouse.

There are some very advanced grids in the Yii2 community, specifically Kartik's amazing gridview extensions but they all designed for interactive screen use.

6 0
7 followers
Viewed: 24 828 times
Version: 2.0
Category: Tips

Configuring PhpStorm IDE for Yii 2

Created 2 years ago by CeBe, updated 2 years ago by CeBe.

There are a few settings and plugins that can enhance the development experience with Yii in PHPStorm or IntelliJ IDEA. This article explains how to get the most out of your IDE.

13 0
6 followers
Viewed: 32 288 times
Version: 2.0
Category: Tips

Adding Yii Search to Your Browser Search Box

Created 9 years ago by qiang, updated 2 years ago by CeBe.

The official Yii project site now supports OpenSearch. This means you can customize your browser's search box to enable direct search of the content in yiiframework.com. For example, by entering a Yii class name in the browser's search box, the corresponding class API page will be shown in the browser.

25 0
6 followers
Viewed: 52 268 times
Version: all
Category: Tips