Wiki articles

Showing 161-180 of 805 items.

Book Has Author - Many to Many relations using Kartik\Select2

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

I could make this work following same useful tips from this post.

0 0
6 followers
Viewed: 22 546 times
Version: 2.0
Category: How-tos

Sort and save order of model-elements drag & drop

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

Suppose you have Products,Categories and each product belongs in many categories

1 0
4 followers
Viewed: 13 252 times
Version: 1.1
Category: Tutorials

Relational data fields display and edit with the yii2-detail-view extension

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

If you have read this wiki you would be aware of the yii2-detail-view extension and how it offers you an easy way to EDIT and VIEW your model data, toggle these modes, and other features. You can [read the extension documentation](http://demos....

4 0
41 followers
Viewed: 54 396 times
Version: 2.0
Category: Tutorials

DB Driven CMenu (Widget)

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

Awhile ago I was trying to find a database driven CMenu system to add to my web applications. This always seemed to me that it would be a lot easier to manage if it where in a database. So the following is the results of that effort:

1 0
1 follower
Viewed: 5 084 times
Version: 1.1
Category: Tutorials

Insert data from database to another database table

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

According to below wiki we could migrate database schema to another database

1 0
2 followers
Viewed: 10 945 times
Version: 1.1
Category: Tutorials
1 0
3 followers
Viewed: 18 406 times
Version: 1.1
Category: How-tos

using 'whenClient' for complex client side validation

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

You have a 'Category' model with Id, Name and Visibility (boolean, where 0 = Public, and 1 = Private).

0 0
3 followers
Viewed: 14 254 times
Version: 2.0
Category: How-tos

Migration the database schema to another one

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

In this wiki I will show how to copy a schema from a database to another one

1 0
5 followers
Viewed: 7 791 times
Version: 1.1
Category: Tutorials

Save uploaded file with any filename characters

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

First of all this is a very common problem, for more details see this post http://www.yiiframework.com/forum/index.php/topic/52052-upload-file-with-any-charset/

1 0
3 followers
Viewed: 15 017 times
Version: 1.1
Category: How-tos

Find geolocation info of client through another API

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

This wiki shows how to get the geolocation info of the client using another server API It could be write also as extension but there are a lots of APIs that change the below code So, I wrote the below code that works for one of them (using www.geoplugin.net)

1 0
2 followers
Viewed: 6 358 times
Version: 1.1
Category: How-tos

Model validation for field ranges using yii2-field-range extension

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

The yii2-field-range extension enables you to easily setup ActiveField range fields with Bootstrap styling. You basically can setup two attributes joined together like a single field with combined validation error block.

0 0
37 followers
Viewed: 21 466 times
Version: 2.0
Category: Tips

Make an ajax request to another server using JSONP

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

There are cases that you want to make an ajax request to another server and get the results.

1 0
2 followers
Viewed: 11 336 times
Version: 1.1
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 615 times
Version: 2.0
Category: Tips

Yii2 and Pdf files with Mpdf

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

I am still new to composer and packagist, so I want to share how I am creating the pdf files because for me was not as simple as it should be.

3 0
8 followers
Viewed: 23 777 times
Version: 2.0
Category: How-tos

Create URL to language switcher anchor with langhandler

Created 6 years ago by Anas AbuDayah, updated 6 years ago by Anas AbuDayah.

This topic is related with langhandler extension

1 1
2 followers
Viewed: 8 072 times
Version: 1.1
Category: Tips

Save or Update Multiple related model values in one Tabular input form

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

1 0
1 follower
Viewed: 34 395 times
Version: 1.1
Category: Tutorials

Using the yii2-datecontrol extension along with yii2-detail-view widget

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

The yii2-datecontrol extension allows you to control separate date formats for display and saving for form inputs.

1 0
37 followers
Viewed: 16 134 times
Version: 2.0
Category: How-tos

Editing, Deleting, and Viewing model data with the yii2-detail-view extension

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

The yii2-detail-view extension offers you an easy way to EDIT and VIEW your model data, toggle these modes, and adds other features. You can read the extension documentation and/or view a demo of this extension, to understand usage.

1 0
43 followers
Viewed: 70 548 times
Version: 2.0
Category: Tutorials

Profiling user requests

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

How to profile user requests so you can determine which actions need an enhancements and optimizations? This wiki going to show you a step by step how to do it.

1 0
3 followers
Viewed: 5 721 times
Version: 1.1
Category: Tutorials

shortcut/usefull access roles methods RBAC

Created 6 years ago by Kostas Apazidis (KonApaz), updated 6 years ago by Kostas Apazidis (KonApaz).

These are functions that I used very often, may helps you!

1 0
5 followers
Viewed: 10 763 times
Version: 1.1
Category: Tutorials