Skip to content

1.x-1.0.0-beta1

Latest

Choose a tag to compare

@shabib-m shabib-m released this 29 Nov 18:30
c05b8a9

First Public Beta Release

Theme Setup is a lightweight, JSON-driven library designed to simplify theme development in Backdrop CMS.

With just a few lines of PHP in theme-settings.php, theme designers can provide ready-to-use setup options without writing custom import routines.

Features

  • Required module detection and activation.
  • Field configuration import using native CMI.
  • Sample content and managed file imports.
  • Taxonomy terms and hierarchical relationships.
  • Entity Reference field support.
  • Menu links and nested menu structures.
  • Dynamic taxonomy-based Views filter updates.
  • Layout settings and block configuration.
  • Image style flushing.
  • Flexible integration with custom theme settings.
  • Selective and grouped setup options.
  • Duplicate prevention for repeated imports.

Improvements

  • Improved input validation and file path security.
  • Optimized database queries and file operations.
  • Reduced unnecessary configuration writes and cache invalidation.
  • Improved compatibility with custom theme submit handlers and subthemes.
  • Simplified demo theme without contributed module dependencies.
  • Updated documentation with practical integration examples.

Companion Tool

[Theme Setup Builder](https://github.com/shabib-m/theme_setup_builder) is an optional development tool that helps theme designers prepare and export configuration files.

Getting Started

The included Theme Setup Demo provides a working example of the library.

See the README for installation instructions, integration examples, supported operations, and configuration requirements.

Theme Setup is designed to keep the learning curve short and make theme development in Backdrop CMS easier and more accessible.

Feedback, bug reports, and contributions are welcome.