localgovdrupal/localgov_live_preview 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

localgovdrupal/localgov_live_preview

最新稳定版本:1.0.0-beta3

Composer 安装命令:

composer require localgovdrupal/localgov_live_preview

包简介

LocalGov Drupal - Live preview

README 文档

README

Orientation

  • Base module
  • LocalGov Live Preview Microsites

Base module

This module has a base module that does very little. It's purpose is to be available for items that can be shared across all of the sub modules, for example: theming the off-canvas tray when a live preview form is in it.

LocalGov Live Preview Microsites

Currently, it only has one submodule: LocalGov Live Preview Microsites. This module allows you to test a live preview of your microsite, without having to save the form before you can see the changes.

Future modules

Future plans for another submodule include a live preview feature for the main LGD CMS.

Installing

Install this module as you would any other module.

Configuring the module

The module has a permission for 'Use live preview'. Only users with this permission will be able to use it.

Using Live Preview

If you have the permission 'Use live preview', you will see a new tab when viewing nodes called 'Edit Microsite Design'. Currently this tab is only visible on node pages.

If you click on this tab, the form for editing the design of your microsite will open up in a off-canvas tray, sliding out from the right-hand side.

You can make whatever changes you like in that form and see them taking effect in the live preview. No one else will see those changes until you click the save button.

Supporters

Maintainers

This project is currently maintained by:

统计信息

  • 总下载量: 1.7k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 7
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-09-16