drupalwxt / wxt_bootstrap Goto Github PK
View Code? Open in Web Editor NEWBootstrap derived sub-theme aligned for use with the Web Experience Toolkit jQuery Framework.
Bootstrap derived sub-theme aligned for use with the Web Experience Toolkit jQuery Framework.
I have found across multiple sites that any site using Wxt Bootstrap as the base theme (including any child themes) will run into issues when trying to use the Facets block that come with the Facets module. The issues are isolated to only the wxt_bootstrap theme, using Bartik or any other Drupal theme the facets block work fine.
Reproduce the issue:
Expected result:
Search input works and filters the list based on the user input, checkboxes should appear on the page
Actual result
Entering text into the search box (for searchable list), nothing happens. For the List of checkboxes display type the links (a tags) do not get turned into checkboxes
Note:
This works for anonymous users and does not work for authenticated users, also found that the JS placeholder (from BigPipe) is not replacing the correct tags with the actual loaded JS.
Workaround
Install the Facets Form module OR disable BigPipe completely
After running composer require drupal/wxt_bootstrap and installing and setting to default WxT Bootstrap 8.x-6.1 theme I receive the following error:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "wxt_library.service_wxt". in Drupal\Component\DependencyInjection\Container->get() (line 156 of core/lib/Drupal/Component/DependencyInjection/Container.php).
I tried to run composer require drupal/wxt_library and received the following error:
Problem 1
- Root composer.json requires drupal/wxt_library ^6.0 -> satisfiable by drupal/wxt_library[6.0.0].
- drupal/wxt_library 6.0.0 requires wet-boew/wet-boew 4.0.43.1 -> could not be found in any version, there may be a typo in the package name.
The starterkit doesn't not have up to date code, documentation or templates to be used properly with wxt_bootstrap as a parent theme. It should be removed or updated to have the right information for developers.
It is useful to make sure that any hacks to core and module dependencies in the theme are clearly laid out in the project page so that folks are able to catch issues early and not be surprised in the middle of trying to implement the theme.
Also, it is mentioned that the distribution is recommended, but not why. If you've already migrated a site to Drupal Core, why not just add in the theme if that is all that is missing?
Hello Sylus, I understand that composer is the recommended way to deal with the dependencies. However on windows composer is a bit of a pita to set up. To reduce barriers to adoption any ideas what would it take to get the wxt_library.service_wxt whitelisted for drupal.org so that one could just download and enable wxt_bootstrap? I was curious, installed wxt_bootstrap from simplytest.me , it installs , I can set the wxt_bootstrap theme as the default theme , however then going to the home page there is an issue due to a missing dependancy.
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "wxt_library.service_wxt". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /home/dc66a/www/core/lib/Drupal/Component/DependencyInjection/Container.php).
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.