Wiki articles tagged with "yii2"

Showing 41-60 of 85 items.

Tutorial about How to Integrate Yii2 with fantastic theme AdminLTE

Created 9 years ago by ThePr0f3550r, updated 9 years ago by YiiJeka.

Yii2 comes with a charming twitter bootstrap version 3. But if it is less, then you can integrate with web templates that you like. One example is wonderfull template "adminLTE"

9 0
22 followers
Viewed: 131 698 times
Version: 2.0
Category: How-tos

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

Created 9 years ago by Kartik V, updated 9 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.

14 4
46 followers
Viewed: 180 496 times
Version: 2.0
Category: Tips

How to hide /frontend/web in url addresses on apache

Created 9 years ago by raminious, updated 9 years ago by jim..

There is an issue on Yii2 to redirecting / urls to /frontend/web.
In other words we need a way to hidden /frontend/web from addresses.
We will do this without changing Apache configuration and creating virtual host or setting document root (It's good for share hostings that we have not access to apache.conf)

10 0
21 followers
Viewed: 125 353 times
Version: 2.0
Category: How-tos

Use minified version of JqueryAsset, BootstrapAsset (and all default assets)

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

By default, Yii 2.0 chooses to use the non-minified version of Jquery and Bootstrap files (CSS and JS). However, there's a simple way to indicate Yii to use the minified version.

8 0
6 followers
Viewed: 33 966 times
Version: 2.0
Category: How-tos

Debuging variables in Yii2

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

This tutorial is explained following "basic" application structure.

4 1
8 followers
Viewed: 41 780 times
Version: 2.0
Category: Tips

Use kartik Growl with Yii2 flash messages

Created 9 years ago by skworden, updated 8 years ago by skworden.

This is to show you how to use Yii2 flash messages with Kartik Growl (bootstrap notify wrapper).

8 0
11 followers
Viewed: 48 424 times
Version: 2.0
Category: How-tos

Customize your Growl/Alert msg easy and quickly

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

I leverage Kartik's notification widgets.

0 1
2 followers
Viewed: 15 833 times
Version: 2.0
Category: Tips

YII2 : simple language Switcher Widget

Created 8 years ago by phunsanit, updated 8 years ago by phunsanit.
  1. create file common\components\languageSwitcher.php
1 0
5 followers
Viewed: 30 775 times
Version: 2.0
Category: Tutorials

Installare Yii 2.0.* usando XAMPP su Windows in versione portabile

Created 9 years ago by realtebo, updated 8 years ago by realtebo.

Personalmente trovo che la versione "portable" sia molto più semplice da aggiornare, ed io tengo sempre costantemente aggiornato TUTTO il parco software relativo al mio webserver.

0 0
2 followers
Viewed: 27 864 times
Version: 2.0
Category: Tutorials

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created 8 years ago by Wade Shuler, updated 8 years ago by samdark.

I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...

9 1
18 followers
Viewed: 119 596 times
Version: 2.0
Category: How-tos

Using your own forked version of extensions with composer

Created 9 years ago by Kartik V, updated 8 years ago by Kartik V.

So you want to use a fork of any existing vendor extension with your Yii 2 install and use the fork, instead of original source. This does not need you to push any update or register your package on packagist.org. You are recommended to follow the approach below:

3 2
40 followers
Viewed: 23 452 times
Version: 2.0
Category: Tutorials

PHP built-in server integration

Created 8 years ago by Headshaker, updated 8 years ago by Headshaker.

I was playing around with another PHP framework which I didn't really liked anyway but it had simple and nice integration for PHP built in web server so I decided to write one for Yii (since this is my primary PHP framework)

1 0
3 followers
Viewed: 50 939 times
Version: 2.0
Category: How-tos

Configuring different sessions for backend and frontend in Yii advanced app

Created 9 years ago by Kartik V, updated 8 years ago by Kartik V.

Your need: You require that for shared machines, the user is authenticated again for a backend access again, if someone is logged in from frontend and vice versa.

4 0
46 followers
Viewed: 48 383 times
Version: 2.0
Category: How-tos

Simple Jui Autocomplete in yii2

Created 8 years ago by ajith, updated 8 years ago by ajith.

To use jui auto complete widget first add

0 0
3 followers
Viewed: 50 567 times
Version: 2.0
Category: Tutorials

How to implement form events

Created 9 years ago by Antonio Ramirez, updated 8 years ago by deacs.

You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.

5 0
6 followers
Viewed: 37 832 times
Version: 2.0
Category: How-tos
Tags: Forms, How to, yii2

How to use imagine ( crop, thumb, effects for images ) on Yii2

Created 9 years ago by Anas AbuDayah, updated 8 years ago by Cozumel.

Imagine adds most common image functions and also acts as a wrapper to Imagine image manipulation library.

5 0
14 followers
Viewed: 98 514 times
Version: 2.0
Category: Tutorials

Handling tabular data loading and validation in Yii 2

Created 9 years ago by Kartik V, updated 8 years ago by Said Bakr.

The only differences in Yii 2 is that its much simpler due to available functions in the Model class for loading and validating models.

3 2
51 followers
Viewed: 58 969 times
Version: 2.0
Category: Tutorials

Escape from Default's Yii2 Delete Confirm Box

Created 9 years ago by Antonio Ramirez, updated 8 years ago by Cozumel.

If you started playing with Yii2's new GridView, you will soon realize that some things have improved quite a lot, but I am sure its going to be a bit confusing at first glance when you try to modify certain javascript behaviors like for example, its delete confirmation dialog box.

4 1
16 followers
Viewed: 44 988 times
Version: 2.0
Category: How-tos

Yii2cdn Component

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

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

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

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

Created 7 years ago by Wade Shuler, updated 7 years ago by 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: 22 949 times
Version: 2.0
Category: How-tos