Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Plasmic

Security covered
View on drupal.org

Plasmic Integration Module

Overview

The Plasmic Integration module for Drupal seamlessly integrates Plasmic components into your Drupal site.
Plasmic is a powerful visual builder for designing and creating dynamic, responsive
components and pages. With this module, you can embed Plasmic components either as full pages, content pages or
as fields within your content types and custom blocks, enabling a streamlined, visually-driven development process.

Features

  • Custom Field Type: Add Plasmic components to any Drupal entity with our custom plasmic_component field.
  • Dynamic Properties: Easily configure component properties such as mode (published/preview), hydration, and embedded hydration.
  • Flexible Slot Management: Define unlimited key-value pairs for component slots, dynamically added through the form interface, easily passing content from Drupal CMS into Plasmic component
  • Entity Integration: Support for Plasmic Full Page and Plasmic Content entities, enabling you to use Plasmic for both full-page layouts and individual content pieces.
  • Custom Blocks: Create custom Plasmic blocks available in the Custom Block Library, enabling you to add Plasmic components as Drupal blocks (e.g.: header/footer, etc...)
  • Cache Management: Integrated caching for Plasmic HTML output to optimize performance, with an admin option to clear the cache.

Installation

  1. Download and Enable:
    • Download the module and place it in your Drupal installation under modules/custom.
    • Enable the module via the Drupal admin UI or using Drush: drush en plasmic -y.
  2. Configuration:
    • Navigate to the module configuration page at /admin/config/system/plasmic.
    • Enter your Plasmic Project ID and Public API Token.
  3. Adding Fields:
    • Add the plasmic_component field to any content type or custom block.
    • Configure the field settings to specify component properties and slot values.
  4. Creating Entities:
    • Create Plasmic Full Page or Plasmic Content entities from the admin/content/plasmic page.

Usage

  1. Embedding Components:
    • When adding or editing content, fill in the Plasmic component field with the required component name and properties.
    • Use the dynamic slot fields to provide values for your Plasmic component slots.
  2. Custom Blocks:
    • Create custom blocks with embedded Plasmic components to use across various regions of your site.

Contribution

We welcome contributions from the community! If you encounter any issues or have suggestions for improvements, please create an issue in the issue queue.

Maintainers

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0-beta1 Pre-release Jul 9, 2024
1.0.x-dev Dev May 31, 2024