Showing 21-40 of 826 items.

Integrating Yii3 packages into WordPress

Created 2 years ago by Gabriel A. López López Gabriel A. López López, updated 2 years ago by Gabriel A. López López Gabriel A. López López. 0 comments

I was recently assigned with the task of integrating several extensive forms into a WordPress website. These forms comprised numerous fields, intricate validation rules, dynamic fields (one to many relationships) and even interdependencies, where employing PHP inheritance could mitigate code duplication.

2 0
2
Viewed: 38 902 times
Version: 3.0
Category: How-tos

Get 'source' data from the database - for TbEditableColumn or EditableColumn ('type'=>'select' / dropdownlist)

Created 13 years ago by Gerhard Liebenberg Gerhard Liebenberg, updated 12 years ago by Gerhard Liebenberg Gerhard Liebenberg. 0 comments

If you want to edit data directly in the gridview in a 'dropdownlist' style, then you could use the 'type' => 'select' option of TbEditableColumn (YiiBooster) or EditableColumn (x-editable for Yii). This wiki shows how to get data from the db for the 'dropdownlist', by converting AR model data into an array that is passed in json format.

3 0
2
Viewed: 25 564 times
Version: 1.1
Category: How-tos

Use Single Login Session on All Your Yii2 Application/Repository Under Same Domain/Sub Domain

Created a year ago by aayushmhu aayushmhu, updated a year ago by aayushmhu aayushmhu. 0 comments

There are multiple blog that shows how to use seperate login for yii2 application but in this article i will show you how to use a single login screen for all your YII2 Advanced, YII2 Basic, Application, It will also work when your domain on diffrent server or the same server.

3 0
1
Viewed: 61 825 times
Version: 2.0
Category: Tutorials

How to preload dropdowns in CForm

Created 13 years ago by transistor transistor, updated 13 years ago by transistor transistor. 0 comments

So you want to use CForm (form builder), but need to preload dropdowns in a form? It's simpler than it seems.
You got your CFormModel, CForm and the actual Form, right?
Let's say you have the typical State -> City dependent dropdowns, so you would want to load the from with the State and City selected.

1 0
2
Viewed: 14 978 times
Version: Unknown (update)
Category: Tips

Using Yii Gallery Manager in your Yii 1.x application

Created 11 years ago by Trejder Trejder, updated 11 years ago by Trejder Trejder. 0 comments

Finding good looking, working and not abandoned gallery manager for Yii 1.x application is a tough task. Out of all I found, only yii-gallery-manager extension looked promising. But, after downloading it, it turned out, that there are certain unusual things to do, to include it in your application. So, I decided to write this article...

0 0
1
Viewed: 20 650 times
Version: 1.1
Category: How-tos