Git Product home page Git Product logo

wxt_library's Introduction

WxT Library

This module leverages the native Drupal library system to load WxT relevant assets.

Installation

There are two possible installation methods to leverage the WxT Library module in Drupal 8:

  • distribution (recommended)
  • standalone

The standalone install is provided as an additional installation method for those who do not wish to have the full weight of a distribution and its required dependencies.

Distribution

All dependencies are included as part of the Drupal WxT distribution and come completely configured alongside with additional integrations and workflow improvements.

  • WxT (8.x-1.x)

StandAlone

WxT Library at a minimum requires the following dependencies:

You can easily retrieve these dependencies via composer:

composer require drupal/wxt_library

wxt_library's People

Contributors

nathanpw avatar nathanv avatar sjaffery avatar sjpeters79 avatar smulvih2 avatar sylus avatar zachomedia avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wxt_library's Issues

Missing dependency

Wxt Library makes a call to wxt_ext_layout_entity_get_display in:

  • wxt_library/src/Plugin/Condition/PanelsTitle.php line 153

There's no dependency on wxt_ext_layout as such it throws an error:
Error: Call to undefined function Drupal\wxt_library\Plugin\Condition\wxt_ext_layout_entity_get_display() in Drupal\wxt_library\Plugin\Condition\PanelsTitle->evaluate() (line 153 of /var/www/html/web/modules/contrib/wxt_library/src/Plugin/Condition/PanelsTitle.php).

We basically have two options:

  1. Add dependency on wxt_ext_layout
  2. Copy the function from wxt_ext_layout into PanelTitle condition plugin.

Undefined variable $wxt_active

When running the site, totally empty of content, using "Canada.ca (Government of Canada)" theme, the search form is giving this error:

Warning: Undefined variable $wxt_active in Drupal\wxt_library\Form\SearchCanadaBlockForm->buildForm() (line 95 of modules/contrib/wxt_library/wxt_library/src/Form/SearchCanadaBlockForm.php).

you need to add this code on line 94, I will try to do a pull request, my first, so I'm not sure what I'm doing
$wxt_active = $this->wxtLibraryServiceWxT->getLibraryName();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.