Wiki articles

Showing 181-200 of 822 items.

DB Driven CMenu (Widget)

Created 9 years ago by Preacher, updated 9 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: 6 457 times
Version: 1.1
Category: Tutorials

Insert data from database to another database table

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

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

1 0
2 followers
Viewed: 15 479 times
Version: 1.1
Category: Tutorials
1 0
3 followers
Viewed: 20 923 times
Version: 1.1
Category: How-tos

using 'whenClient' for complex client side validation

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

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

1 0
3 followers
Viewed: 24 987 times
Version: 2.0
Category: How-tos

Migration the database schema to another one

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 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: 11 255 times
Version: 1.1
Category: Tutorials

Save uploaded file with any filename characters

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 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: 19 597 times
Version: 1.1
Category: How-tos

Find geolocation info of client through another API

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 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: 8 750 times
Version: 1.1
Category: How-tos

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

Created 9 years ago by Kartik V, updated 9 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: 27 586 times
Version: 2.0
Category: Tips

Make an ajax request to another server using JSONP

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 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: 13 746 times
Version: 1.1
Category: Tips

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

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

3 0
46 followers
Viewed: 28 984 times
Version: 2.0
Category: Tips

Yii2 and Pdf files with Mpdf

Created 9 years ago by CTala, updated 9 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: 31 964 times
Version: 2.0
Category: How-tos

Create URL to language switcher anchor with langhandler

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

This topic is related with langhandler extension

1 1
2 followers
Viewed: 10 893 times
Version: 1.1
Category: Tips

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

Created 9 years ago by Kostas Apazidis (KonApaz), updated 9 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: 40 036 times
Version: 1.1
Category: Tutorials

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

Created 9 years ago by Kartik V, updated 9 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: 20 883 times
Version: 2.0
Category: How-tos

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

Created 9 years ago by Kartik V, updated 9 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: 82 860 times
Version: 2.0
Category: Tutorials

Profiling user requests

Created 9 years ago by M0ka, updated 9 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: 9 085 times
Version: 1.1
Category: Tutorials

shortcut/usefull access roles methods RBAC

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

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

1 0
5 followers
Viewed: 14 402 times
Version: 1.1
Category: Tutorials

Check online users / set specific user offline

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

How to check the online users or how to logout a specific user from your admin panel? This wiki shows how to do that

1 0
4 followers
Viewed: 18 870 times
Version: 1.1
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

Update specific cgridview html row after AJAX request

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

After of model update (successfull or not) throught CGridView (check the below link) you probably need to updates the specific row html in cgridview (not entire cgridview)

1 0
2 followers
Viewed: 23 339 times
Version: 1.1
Category: How-tos