robuust/craft-reverserelations

Reverse Relations for Craft 3

Installs: 64 070

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 3

Forks: 15

Open Issues: 5

Type:craft-plugin

2.0.0 2022-05-18 05:58 UTC

This package is auto-updated.

Last update: 2024-05-18 10:43:08 UTC


README

Plugin that allows you to show and save reverse relations in both the CP and the site. It works for relations between Entries and other Entries, and for relations between Categories and other Categories.

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!