Showing 1-20 of 86 items.

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

Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)

Created 9 years ago by Amjad Khan Amjad Khan, updated 9 years ago by Amjad Khan Amjad Khan. 4 comments

Following is the table structure

tblgroups

CREATE TABLE IF NOT EXISTS `tblgroups` (
  `id` int(11) NOT NULL,
  `groupname` varchar(150) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1=Acitve,2=Inactive',
  `date` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

tblcontacts

4 2
7
Viewed: 98 037 times
Version: 2.0
Category: Tutorials

Yii2: How to create/develop a new extension using Composer locally without version control or Git

Created 10 years ago by Wade Shuler Wade Shuler, updated 7 years ago by jwerner jwerner. 3 comments

Using a version control system, like Git, is nice. However, when building an extension from scratch and loading it via Composer, it adds a lot of pain in the butt steps. You have to commit your changes, update composer to pull them over, then notice there is an error, fix, commit, update. repeat.. I don't want all my baby steps under Git. Sure, I could edit my commit history, but c'mon. Just let m...

7 0
6
Viewed: 43 100 times
Version: 2.0
Category: How-tos

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

Created 10 years ago by Wade Shuler Wade Shuler, updated 10 years ago by Wade Shuler Wade Shuler. 0 comments

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.

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created 11 years ago by Wade Shuler Wade Shuler, updated 11 years ago by samdark samdark. 10 comments

I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...