-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update date_range_slider_facet.md #16
Conversation
removed notes on patching that are no longer needed. Added requirement of composer-installers-extender which allows composer to install to the libraries directory
Step #2 from the installation instructions on the Github page at https://github.com/Islandora-Labs/Islandora-Cookbook/blob/main/recipes/date_range_slider_facet.md are the following:
bash-5.1# drush pm-enable facets controlled_access_terms jquery_ui_slider facets_range_widget In CheckExceptionOnInvalidReferenceBehaviorPass.php line 86: The service "islandora_drush_utils.missing_derivatives" has a dependency on a non-existent service "dgi_standard_derivative_examiner.examiner". I was able to enable those modules via the web GUI (except for the facets rang widget, see below) but I have no idea what the above error message means when I tried from the command line. |
|
After modifying the composer.json as instructed above and running the command in step 4 it did NOT install the bower-asset/jquery-ui-slider-pips library into the /var/www/drupal/web/libraries directory. Instead, it put it in the /var/www/drupal/vendor directory. So when I then tried to enable the facets range widget it complained about the jquery-ui-slider-pips module was missing. So I then just moved the contents of /var/www/drupal/vendor/bower-asset/ to the /var/www/drupal/web/libraries directory and then I was able to enable the range widget module via the GUI. |
If you don't have a patches section at all, you can create one like so:
This is the error I got when trying to install the patch: bash-5.1# composer update drupal/facets
|
@rsauls it looks like you might be looking at the old instructions from before this PR. Can you try the instructions at https://github.com/Islandora-Labs/Islandora-Cookbook/blob/main/recipes/date_range_slider_facet.md and see if it works for you? You shouldn't need the patches anymore. |
removed notes on patching that are no longer needed. Added requirement of composer-installers-extender which allows composer to install to the libraries directory