Wiki articles

Showing 1-20 of 165 items.

How to add Schema.org markup to Yii2 pages

Created 4 years ago by Gabriel A. López López, updated 4 years ago by Gabriel A. López López.

https://schema.org is a markup system that allows to embed structured data on their web pages for use by search engines and other applications. Let's see how to add Schema.org to our pages on Yii2 based websites using JSON-LD.

2 0
3 followers
Viewed: 89 412 times
Version: 2.0
Category: How-tos

Analyse the server's USER-AGENT against browsecap file to determine it's capability.

Created 9 years ago by Deepak Pradhan, updated 9 years ago by Deepak Pradhan.

Does your application need to know user's details on browser details, os and device type? We can use PHP's misc. function to achieve that provided you have an update copy of browsercap.ini

0 0
0 follower
Viewed: 9 456 times
Version: 2.0
Category: Tips

Api of Multiple File Uploading in Yii2

Created 4 years ago by fezzymalek, updated 2 years ago by fezzymalek.

After getting lot's of error and don't know how to perform multiple images api in yii2 finally I get it today

5 0
4 followers
Viewed: 65 131 times
Version: 2.0
Category: Tutorials

How to redirect all emails to one inbox on Yii2 applications

Created 4 years ago by Gabriel A. López López.

\yii\mail\BaseMailer::useFileTransport is a great tool. If you activate it, all emails sent trough this mailer will be saved (by default) on @runtime/mail instead of being sent, allowing the devs to inspect thre result.

6 0
4 followers
Viewed: 110 094 times
Version: 2.0
Category: How-tos

Yii v2 snippet guide III

Created 3 years ago by rackycz, updated a year ago by rackycz.

Articles are separated into more files as there is the max lenght for each file on wiki.

8 0
4 followers
Viewed: 190 154 times
Version: 2.0
Category: Tutorials

Interview Questions For YII2

Created 2 years ago by aayushmhu, updated 11 months ago by aayushmhu.

Hey Everyone, In this post I Just shared my Experience what most of interviewer ask in YII2 Interview.

2 0
2 followers
Viewed: 64 484 times
Version: 2.0
Category: Tips
Tags: interview

Convert JSON data to html table for display on page

Created 2 years ago by shiv.

I have a calls which help me display json directly in html table.

0 0
1 follower
Viewed: 83 373 times
Version: all
Category: Tips
Tags: html, JSON

GridView show sum of columns in footer.

Created 2 years ago by shiv.

GridView show sum of columns in footer `PHP use yii\grid\DataColumn;

1 0
1 follower
Viewed: 83 985 times
Version: 2.0
Category: Tips

How to Create and Use Validator Using Regular expressions

Created a year ago by aayushmhu.

There are Multiple Ways to Create a Validator But here we use Regular Expression or JavaScript Regular Expression or RegExp for Creation Validators. In this article, we will see the most Frequently Used Expression

4 0
1 follower
Viewed: 98 489 times
Version: 2.0
Category: How-tos

Create Bootstrap5 based Image carousel with thumbnails

Created 10 months ago by pravi, updated 10 months ago by pravi.

Use the following css styles for carousel to work as expected.

2 0
1 follower
Viewed: 76 280 times
Version: 2.0
Category: Tutorials

YII2 Pagination Options

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

solution here If we are using default pagination option like

1 0
1 follower
Viewed: 18 782 times
Version: 2.0
Category: Tips

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

Created a month ago by aayushmhu, updated a month ago by aayushmhu.

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.

0 0
0 follower
Viewed: 2 622 times
Version: 2.0
Category: Tutorials

`forceCopy` per Asset Bundle

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

During development and depending on your setup you may need to use the options forceCopy or linkAssets of the asset manager to work around possible file-system and permission issues.

1 0
1 follower
Viewed: 13 499 times
Version: 2.0
Category: How-tos

Using PayPal IPN with Yii2

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

I'm using PayPal's script from

0 0
1 follower
Viewed: 13 431 times
Version: 2.0
Category: Tips

Customize your Growl/Alert msg easy and quickly

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

I leverage Kartik's notification widgets.

0 1
2 followers
Viewed: 16 493 times
Version: 2.0
Category: Tips

Building a search GET request with scenarios ; calling a SearchModel from URLs...

Created 9 years ago by Louis Gac, updated 9 years ago by Louis Gac.

Search Models are a very elegant and powerful way to build an Active Data Provider. If you use them a lot, you'll quickly need to use scenarios, which will lead you to a very DRY Controller code.

0 0
2 followers
Viewed: 23 049 times
Version: 2.0
Category: Tips

Load & Save With Relation

Created 9 years ago by moo.tensai, updated 9 years ago by moo.tensai.

Use this extension : yii2-relation-trait

1 0
2 followers
Viewed: 18 267 times
Version: 2.0
Category: Tips

Yii2: Query build for complexity SQL

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

As for complexity SQL query we have two solutions as below, I will discuss #2 in this article.

0 0
3 followers
Viewed: 39 640 times
Version: 2.0
Category: Tips

MySQL migration environment

Created 8 years ago by Fabrizio Caldarelli, updated 8 years ago by 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: 13 054 times
Version: 2.0
Category: How-tos

A simple widget - jump2link

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

namespace app\components;

0 0
1 follower
Viewed: 13 683 times
Version: 2.0
Category: Tutorials