PHPackages                             confluxgroup/craft-level-entry-types - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. confluxgroup/craft-level-entry-types

ActiveCraft-plugin

confluxgroup/craft-level-entry-types
====================================

Allows developers to limit the entry types available at each level of a structure section.

1.0.5(4y ago)510.5k↑900%1[1 issues](https://github.com/confluxgroup/craft-level-entry-types/issues)proprietaryPHPCI failing

Since May 20Pushed 4y ago2 watchersCompare

[ Source](https://github.com/confluxgroup/craft-level-entry-types)[ Packagist](https://packagist.org/packages/confluxgroup/craft-level-entry-types)[ RSS](/packages/confluxgroup-craft-level-entry-types/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (5)Used By (0)

[![plugin icon logo](./src/icon.svg)](./src/icon.svg)

Level Entry Types plugin for Craft CMS 3.x
==========================================

[](#level-entry-types-plugin-for-craft-cms-3x)

[![overview gif](./docs/screenshots/level-entry-types-overview.gif)](./docs/screenshots/level-entry-types-overview.gif)

Allows developers to limit the entry types available at each level of a structure section.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.4.0 or later.

Installation
------------

[](#installation)

You install [Level Entry Types](https://plugins.craftcms.com/level-entry-types) via the Plugin Store in the Craft Control Panel.

To install the plugin manually, 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 confluxgroup/craft-level-entry-types

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Level Entry Types.

Level Entry Types Overview
--------------------------

[](#level-entry-types-overview)

This plugin allows you to specify available entry types to the user based on the current structure level of an entry.

For example, if you have a structure made up of landing pages and tabbed pages, you can ensure tabbed pages are only allowed as a descendant of a landing page.

This plugin will allow a user to select from a filtered list of entry types, or display an error message if a user has misconfigured a structure hierarchy.

Configuring Level Entry Types
-----------------------------

[](#configuring-level-entry-types)

There are no control panel settings for this plugin.

Level Entry Types supports the standard multi-environment friendly config plugin settings file. Just copy the `level-entry-types.php` file from the `vendor/confluxgroup/craft-level-entry-types` directory to your Craft `config` directory and configure the settings to your liking.

### Example level-entry-types.php config file

[](#example-level-entry-typesphp-config-file)

```
