Wiki articles

Showing 141-160 of 166 items.

Simple Jui Autocomplete in yii2

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

To use jui auto complete widget first add

0 0
3 followers
Viewed: 54 697 times
Version: 2.0
Category: Tutorials

Automatic Parameter Binding to POST vars in Yii2

Created 12 years ago by aarondfrancis aarondfrancis, updated 11 years ago by YiiJeka YiiJeka.

I wrote about this on my blog, but wanted to post it here too.

0 0
4 followers
Viewed: 28 166 times
Version: 2.0
Category: How-tos

MySQL migration environment

Created 10 years ago by Fabrizio Caldarelli Fabrizio Caldarelli, updated 10 years ago by Fabrizio Caldarelli Fabrizio Caldarelli.

It can happen that you work in development environment and you make changes to database tables structures, adding tables, or changing fields.

0 0
2 followers
Viewed: 14 647 times
Version: 2.0
Category: How-tos

A simple widget - jump2link

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

namespace app\components;

0 0
1 follower
Viewed: 15 535 times
Version: 2.0
Category: Tutorials
0 0
3 followers
Viewed: 13 035 times
Version: 2.0
Category: How-tos
Tags:

Yii2cdn Component

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

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

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

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

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

A universal model attribute for its synthetic representation

Created 9 years ago by Alexandre Rodichevski Alexandre Rodichevski, updated 9 years ago by Alexandre Rodichevski Alexandre Rodichevski.

It is convenient to use the same identification attribute, say info, in all of the active records of your application. It should be a virtual read-only attribute defined by a getter method, its label being the model name.

0 0
3 followers
Viewed: 17 570 times
Version: 2.0
Category: Tips

REST API and null values in XML

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

I have been working on a REST API using the excellent tools provided by Yii2. My problem was that I have to differentiate between empty values and null values. In other words, <elem></elem> is different from null as it represents an empty string. Also, although some use <elem/> to represent a null value it should still be interpreted as an empty string. In other cases, the absence of the eleme...

0 0
0 follower
Viewed: 24 467 times
Version: 2.0
Category: Tips
Tags: null, REST, XML

Working with relational removals by yii2

Created 9 years ago by AndroideLP AndroideLP, updated 8 years ago by Jairus Martin Jairus Martin.

This tutorial shows you how to safely remove records between relationships.

0 0
2 followers
Viewed: 40 048 times
Version: 2.0
Category: Tutorials

Use non Gmail/Gsuite on Gcloud projects

Created 7 years ago by Luis Armando Luis Armando, updated 7 years ago by Maurizio Domba Cerin Maurizio Domba Cerin.

Small companies and startups use cheap email services or even Cpanel's mail services which are less secure and compete directly with bigger email providers like Microsoft with Outlook and Google with Gmail. This creates a problem when you try to use their services to send/receive emails from this cheap services. <img width="750" src="https://static.techspot.com/fileshost/newspics3/2017/google-clo...

0 0
3 followers
Viewed: 20 246 times
Version: 2.0
Category: How-tos

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

Created 11 years ago by realtebo realtebo, updated 10 years ago by realtebo 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: 31 477 times
Version: 2.0
Category: Tutorials

What to do when composer fails to update your vendor packages?

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by Kartik V Kartik V.
  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 4
36 followers
Viewed: 54 359 times
Version: 2.0
Category: Tutorials
0 2
40 followers
Viewed: 24 365 times
Version: 2.0
Category: How-tos

Locking your Yii 2 project package versions with composer.lock

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

Ok, you have installed a Yii 2 basic or advanced app for the first time and completed the post install steps. You have picked up a few extensions to install for the first time as well. You would already see a composer.lock file in your application root folder.

0 2
37 followers
Viewed: 20 123 times
Version: 2.0
Category: Tips

Save and Display Date/Time Fields in different formats in Yii2

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

You would find having such a need in most Yii Projects. Your database needs a specific format to store date fields, while you may want to display it in different formats to the users on forms and other views.

0 0
51 followers
Viewed: 183 037 times
Version: 2.0
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 666 times
Version: 2.0
Category: Tips

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 679 times
Version: 2.0
Category: How-tos

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 480 times
Version: 2.0
Category: How-tos

How to sum (Update) of all input button price value using jquery

Created 11 years ago by Ankit Modi Ankit Modi, updated 11 years ago by Ankit Modi Ankit Modi.

Hi Friends, In this tutorial, how to update the sum of all the button data-price value using jquery, Just Follow three step and it's work easily.I hope It may be some helpful to others. See Image

0 0
2 followers
Viewed: 23 265 times
Version: all
Category: How-tos