Wiki articles

Showing 181-200 of 827 items.

CRUD operation in Yii framework

Created 11 years ago by Mohammad Fareed Mohammad Fareed, updated 7 years ago by samdark samdark.

Simple Yii Script for performing CRUD operations:

0 4
6 followers
Viewed: 36 445 times
Version: 1.1
Category: Tutorials

Managing different Bootstrap form layouts with yii2-field-range extension.

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

This wiki will explain how you can use the Field range extension with multiple Bootstrap form layouts (vertical or horizontal). You maybe aware, that 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: 35 886 times
Version: 2.0
Category: How-tos

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

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

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

0 0
6 followers
Viewed: 68 867 times
Version: 2.0
Category: How-tos

Sort and save order of model-elements drag & drop

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

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

1 0
4 followers
Viewed: 22 327 times
Version: 1.1
Category: Tutorials

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

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V 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: 67 893 times
Version: 2.0
Category: Tutorials

DB Driven CMenu (Widget)

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

Insert data from database to another database table

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

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

1 0
2 followers
Viewed: 18 174 times
Version: 1.1
Category: Tutorials
1 0
3 followers
Viewed: 23 378 times
Version: 1.1
Category: How-tos

using 'whenClient' for complex client side validation

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

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

1 0
3 followers
Viewed: 28 923 times
Version: 2.0
Category: How-tos

Migration the database schema to another one

Created 11 years ago by Kostas Apazidis (KonApaz) Kostas Apazidis (KonApaz), updated 11 years ago by Kostas Apazidis (KonApaz) 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: 13 659 times
Version: 1.1
Category: Tutorials
1 0
3 followers
Viewed: 22 141 times
Version: 1.1
Category: How-tos

Find geolocation info of client through another API

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

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

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V 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: 31 972 times
Version: 2.0
Category: Tips

Make an ajax request to another server using JSONP

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

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

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V 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: 34 280 times
Version: 2.0
Category: Tips

Yii2 and Pdf files with Mpdf

Created 11 years ago by CTala CTala, updated 11 years ago by CTala 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: 34 960 times
Version: 2.0
Category: How-tos

Create URL to language switcher anchor with langhandler

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

This topic is related with langhandler extension

1 1
2 followers
Viewed: 13 121 times
Version: 1.1
Category: Tips

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

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

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

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V 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: 24 374 times
Version: 2.0
Category: How-tos

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

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V 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: 89 183 times
Version: 2.0
Category: Tutorials