Showing 1-20 of 373 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: 39 455 times
Version: 3.0
Category: How-tos

How to add a DropDown Language Picker (i18n) to the Menu

Created 2 years ago by JQL JQL, updated 2 years ago by JQL JQL. 4 comments

Yii comes with internationalisation (i18n) "out of the box". There are instructions in the manual as to how to configure Yii to use i18n, but little information all in one place on how to fully integrate it into the bootstrap menu. This document attempts to remedy that.

1 0
1
Viewed: 122 338 times
Version: 2.0
Category: How-tos

How to add Schema.org markup to Yii2 pages

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

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.

3 0
3
Viewed: 102 367 times
Version: 2.0
Category: How-tos

Getting information from the current locale

Created 8 years ago by CeBe CeBe, updated 8 years ago by CeBe CeBe. 0 comments

Yii 2.0 comes with a formatter component to format dates, numbers, and other values for international users according to their locale. This is very useful for displaying data. When working with incoming data or when using enhanced input methods like the [MaskedInput widget](https://www.yiiframework.com/doc/api/2.0/yii-widgets-maskedinp...

5 0
2
Viewed: 27 516 times
Version: 2.0
Category: How-tos

An alternative way to ElasticSearch

Created 8 years ago by Necip Necip, updated 3 years ago by Necip Necip. 5 comments

This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.

1 0
2
Viewed: 50 312 times
Version: all
Category: How-tos

How to login from different tables in Yii2

Created 8 years ago by AndroideLP AndroideLP, updated 6 years ago by lenovo lenovo. 7 comments

The Problem: Yii2 utilizes by default UserIdentity configured in config/web.php for connection, this object apply one table to authentication ('identityClass' => 'app\panel\models\User'). How to authentication from diferent tables? Solution: Create instances in web.php to uses UserIdentify. eg:

5 0
6
Viewed: 89 987 times
Version: 2.0
Category: How-tos

Use non Gmail/Gsuite on Gcloud projects

Created 8 years ago by Luis Armando Luis Armando, updated 8 years ago by Maurizio Domba Cerin Maurizio Domba Cerin. 0 comments

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
Viewed: 22 483 times
Version: 2.0
Category: How-tos