Mosnar / craft-reverserelations

Reverse Relations for Craft 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reverse Relations plugin for Craft

Plugin that allows you to show and save reverse relations in both the CP and the site.

Requirements

This plugin requires Craft CMS 3.1.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require robuust/craft-reverserelations
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Reverse Relations.

Features:

  • Able to output the relation in the CP and in the site (no other plugin has this feature)
  • Supports entries and categories at the moment

Todo:

  • Support more element types

Credits:

  • A big part of the Craft 3 implementation was done by @Wiejeben. Thanks!

About

Reverse Relations for Craft 3

License:MIT License


Languages

Language:PHP 96.4%Language:HTML 3.6%