nrel / communications
Communications profile is the de-facto Drupal swiss army knife for NREL sites.
Installs: 232
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:drupal-profile
Requires
- acquia/lightning: ~2.2.3
- aws/aws-sdk-php: ^3.31
- behat/mink-zombie-driver: ^1.4
- components/highlightjs: 9.7.*
- drupal/address: ~1.0
- drupal/admin_toolbar: ~1.20
- drupal/auto_entitylabel: ^2.0@beta
- drupal/blazy: ~1.0
- drupal/bootstrap: ~3.5
- drupal/coffee: ~1.0@beta
- drupal/config_pages: ~2.0@RC
- drupal/cshs: ~1.0@beta
- drupal/drupalmoduleupgrader: 1.x-dev
- drupal/eck: ~1.0@alpha
- drupal/elasticsearch_helper: 5.x-dev
- drupal/entity_browser_enhanced: ^1.0@beta
- drupal/facets: ^1.0@alpha
- drupal/features: ^3.5
- drupal/field_group: 1.x-dev
- drupal/file_mdm: ^1.1
- drupal/google_analytics: ^2.1
- drupal/group: ^1.0@RC
- drupal/honeypot: ^1.27
- drupal/http_response_headers: ^2.0@alpha
- drupal/imagemagick: ~2.0
- drupal/jsonapi: ^1.1
- drupal/linkit: ^4.3
- drupal/mailsystem: ^4.1
- drupal/memcache: ^2.0@alpha
- drupal/menu_link_weight: ~1.0@beta
- drupal/monolog: ^1.0@alpha
- drupal/multiversion: ^1.0@beta
- drupal/noopener_filter: 1.x-dev
- drupal/password_policy: ^3.0@alpha
- drupal/recreate_block_content: ^1.0
- drupal/redis: ^1.0@RC
- drupal/relaxed: ^1.0@beta
- drupal/rules: ^3.0@alpha
- drupal/search_api: ^1.4
- drupal/search_api_autocomplete: ^1.0@beta
- drupal/search_api_solr: ^1.0
- drupal/seckit: ^1.0@alpha
- drupal/sendgrid_integration: ^1.1
- drupal/seo_checklist: ^4.0
- drupal/services: ^4.0@beta
- drupal/simplesamlphp_auth: ^3.0@RC
- drupal/slick: ^1.0
- drupal/smtp: ^1.0@beta
- drupal/swiftmailer: ^1.0@beta
- drupal/url_embed: ^1.0@alpha
- drupal/vbo_export: 2.x-dev
- drupal/views_bulk_operations: ^1.0@alpha
- drush/config-extra: ^1.0
- elasticsearch/elasticsearch: ^5.2
- guzzlehttp/guzzle: ^6.3
- jsq/amazon-es-php: ^0.2.0
- lsolesen/pel: ^0.9.6
- monolog/monolog: ^1.23
- nodespark/des-connector: 5.x-dev
- pear/console_color2: ^0.1.2
- phenx/php-font-lib: ^0.5.0
- phpoffice/phpexcel: 1.8.0
- simplesamlphp/simplesamlphp: ^1.14
- solarium/solarium: 3.8.*
- twbs/bootstrap: ^3.3.6
Requires (Dev)
- drupal/devel: ^1.0
- drupal/stage_file_proxy: ^1.0@alpha
- dev-master
- 1.1.1.36
- 1.1.1.35
- 1.1.1.34
- 1.1.1.33
- 1.1.1.32
- 1.1.1.31
- 1.1.1.30
- 1.1.1.29
- 1.1.1.28
- 1.1.1.27
- 1.1.1.26
- 1.1.1.25
- 1.1.1.24
- 1.1.1.23
- 1.1.1.22
- 1.1.1.21
- 1.1.1.20
- 1.1.1.19
- 1.1.1.18
- 1.1.1.17
- 1.1.1.16
- 1.1.1.15
- 1.1.1.14
- 1.1.1.13
- 1.1.1.12
- 1.1.1.11
- 1.1.1.10
- 1.1.1.09
- 1.1.1.08
- 1.1.1.07
- 1.1.1.03
- 1.0.21
- 1.0.20
- 1.0.19
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2018-02-19 04:50:17 UTC
README
Drupal Lightning
Lightning's mission is to enable developers to create great authoring experiences and empower editorial teams.
You'll notice that Lightning appears very sparse out of the box. This is by design. We want to empower editorial teams and enable developers to jump-start their site builds. That means that a developer should never have to undo something that Lightning has done. So we started with a blank slate and justified each addition from there.
Installing Lightning
The preferred way to install Lightning is using our Composer-based project template. It's easy!
$ composer create-project acquia/lightning-project MY_PROJECT
If you don't want to use Composer, you can install Lightning the traditional way by downloading a tarball from our drupal.org project page. (Please note that the tarball does not contain any experimental features.)
You can customize your installation by creating a sub-profile which uses
Lightning as its base profile. Lightning includes a
Drupal Console command (lightning:subprofile
) which will generate a
sub-profile for you.
What Lightning Does
Through custom modules and configuration, Lightning aims to target four functional areas:
Media
The current version of media includes the following functionality:
- A preconfigured Text Format (Rich Text) with CKEditor WYSIWYG.
- A media button (indicated by a star -- for now) within the WYSIWYG that launches a custom media widget.
- The ability to place media into the text area and have it fully embedded as it
will appear in the live entity. The following media types are currently
supported:
- Tweets
- Instagram posts
- Videos (YouTube and Vimeo supported out of the box)
- Images
- Drag-and-drop image uploads
- Ability to create new media through the media library (/media/add)
- Ability to embed tweets, Instagrams, and YouTube/Vimeo videos directly into CKEditor by pasting the video URL
Extending Lightning Media (Contributed Modules)
Drupal community members have contributed several modules which integrate Lightning Media with additional third-party media services. These modules are not packaged with Lightning or maintained by Acquia, but they are stable and you can use them in your Lightning site:
Layout
Lightning includes the Panelizer module, which allows you to configure the layout of any content type using a drag-and-drop interface (Panels IPE). Lightning also includes a Landing Page content type for you to create landing pages with their own one-off layouts and content.
Any content type that uses Panelizer will allow you to set up default layouts for each view mode of that content type, which you can choose from (or override on a one-off basis) for individual pieces of content.
Eight layouts are provided out of the box by Panels. You can create your own layouts (see the Layout Plugin module) or install a contributed library of layouts like Radix Layouts.
Workflow
Lightning includes tools for building organization-specific content workflows. Out of the box, Lightning gives you the ability to manage content in one of four workflow states (draft, needs review, published, and archived). You can create as many additional states as you like and define transitions between them. It's also possible to schedule content (either a single node or many at once) to be transitioned between states at a specific future date and time.
Preview (Experimental)
The Workspace Preview System (WPS) gives site builders, editors, authors, and reviews the ability to send collections of content through an editorial workflow and preview that content within the context of the current live site. WPS is a collection of contributed Drupal modules with additional configuration UX improvements that all just works out of the box.
Note that the Workspace Preview System is experimental and is not currently included in stable releases of Lightning. If you would like to use it, see "Experimental Features" below.
Project Roadmap
We publish sprint plans for each patch release. You can find a link to the current one in [this meta-issue][meta_releases] on Drupal.org.
Experimental Features
Some components of Lightning (such as the Workspace Preview System) are currently experimental until they stabilize. Experimental features should be considered bleeding-edge and are not safe for production environments.
Experimental features are kept in Lightning's 8.x-2.x-experimental
development branch. To use experimental features, you will need to create your
Lightning code base from this branch. This can be done only with the Composer-
based project template -- check there for more information on how
to use experimental features.
Resources
You can find general best practices documentation inside the help
directory of
each Lightning "base" module. Integration with the
Advanced Help module is planned.
Demonstration videos for each of our user stories can be found here.
Please use the Drupal.org issue queue for latest information and to request features or bug fixes.
Running Tests
These instructions assume you have used Composer to install Lightning. Once you have it up and running, follow these steps to execute all of Lightning's Behat tests:
Behat
$ cd MYPROJECT
$ ./bin/drupal behat:init http://YOUR.LIGHTNING.SITE --merge=../tests/behat.yml
$ ./bin/drupal behat:include ../tests/features --with-subcontexts=../tests/features/bootstrap --with-subcontexts=../src/LightningExtension/Context
$ ./bin/behat --config ./docroot/sites/default/files/behat.yml
If necessary, you can edit docroot/sites/default/files/behat.yml
to match
your environment, but generally you will not need to do this.
Known Issues
Media
- If you upload an image into an image field using the new image browser, you can set the image's alt text at upload time, but that text will not be replicated to the image field. This is due to a limitation of Entity Browser's API.
Workflow
- Lightning Workflow is based on Workbench Moderation, which is incompatible with the experimental Content Moderation module included with Drupal core 8.3.0 and later and serves the same purpose as Workbench Moderation. We plan to seamlessly migrate Lightning Workflow to Content Moderation once it is stable, most likely in Drupal 8.4.0. But for now, installing Content Moderation alongside Lightning Workflow may have unpredictable and dangerous effects, and is best avoided.