Module Types


Photon CMS has four different module types that provide you with flexibility to create CMS structures that will handle any use-case.

Table of Contents
  1. Single Entry Module
  2. Non Sortable Module
  3. Sortable Module
  4. Multilevel Sortable Module

Single Entry Module

Single entry module can have only one entry. If the entry hasn’t been created yet, it will be automatically created. The entry cannot be deleted. 

Also, the module has a sidebar disabled, as there is only one editable entry in the module.

Single Entry Module

This type of module is suitable for custom configuration options.

Non Sortable Module

Non Sortable Module is the module type you'll probably use the most. It can have multiple entries, but you can't re-arrange entry positions in control panel, the way it's possible while using the Sortable or Multilevel Sortable module format.

Further more, you can't "nest" Non Sortable Module under another Sortable or Multilevel Sortable module.

For modules that are expected to have many entries (e.g. 300+), it is preferred to use the Non Sortable module instead of Sortable or Multilevel Sortable modules. Non Sortable Module model extends a regular Laravel Eloquent ORM, wheres Sortable and Multilevel Sortable extend the etrepat/baum model, which is an implementation of Nested Set pattern known to be slow when dealing with many records.

Sortable Module

Sortable module type can have multiple entries, and entry positions can be rearranged using the sidebar menu, but if you need to nest an entry inside of another, you should use the Multilevel Sortable module type.

Again, for modules that are expected to have many entries (e.g. 300+), it is preferred to use the Non Sortable module instead of Sortable or Multilevel Sortable modules.

Sortable module can be "nested" under another Sortable or Multilevel Sortable module.

Multilevel Sortable Module

Multilevel Sortable module type can have multiple entries, and entry positions can be rearranged using the sidebar menu, Further more, entries can be nested inside one another, making it easy to create a hierarchical categories representation.


For modules that are expected to have many entries (e.g. 300+), it is preferred to use the Non Sortable module instead of Sortable or Multilevel Sortable modules.

Multilevel Sortable module can be "nested" under another Sortable or Multilevel Sortable module.

Sign-up to stay informed about news and updates.