Code Monkey home page Code Monkey logo

drupal8-umami-search's People

Contributors

borisson avatar damienmckenna avatar dependabot[bot] avatar jenkins-dropsolid avatar joycelamcy avatar mpparsley avatar nickdickinsonwilde avatar nickveenhof avatar thomasdbcklr avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

drupal8-umami-search's Issues

Demo site broken

http://drupalsear.ch/ search doesn't work on the site, and errors about blocks are displayed to the visitor.

Consider fixing the demo site or removing it from readme?

Unable to setup local demo site

The local installation of the Umami demo search doesn't work, as currently the install script fails.

The errors I get are:

  1. can't apply the patch of the core "Umami Region Fix for bigpipe to work as expected with facets"
Create a sites/default/settings.php file with chmod 0666
Create a sites/default/files directory with chmod 0777
rm: cannot remove 'docroot/.ht.sqlite': No such file or directory

// You are about to create a sites/default/settings.php file and CREATE the '../.ht.sqlite' database. Do you want to
// continue?: yes.

[notice] Starting Drupal installation. This takes a while.

In SiteSettingsForm.php line 158:
                        
Class  does not exist  
        
site:install [--db-url DB-URL] [--db-prefix DB-PREFIX] [--db-su DB-SU] [--db-su-pw DB-SU-PW] [--account-name [ACCOUNT-NAME]] [--account-mail [ACCOUNT-MAIL]] [--site-mail [SITE-MAIL]] [--account-pass ACCOUNT-PASS] [--locale [LOCALE]]
[--site-name [SITE-NAME]] [--site-pass SITE-PASS] [--sites-subdir SITES-SUBDIR] [--config-dir CONFIG-DIR] [--existing-config] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction]
[-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify] [--xh-link XH-LINK] [--druplicon] [--] <command> [<profile>
]...


In Drupal.php line 130:
                                                                                                            
\Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container.  
                                                                                                            
php:eval [--format [FORMAT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root
ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify] [--xh-link XH-LINK] [--druplicon] [--] <command> <code>


In Drupal.php line 130:
                                                                                                             \Drupal::$container is not initialized yet. \Drupal::setContainer() must be called with a real container.                                                                                                          

php:eval [--format [FORMAT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root
ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify] [--xh-link XH-LINK] [--druplicon] [--] <command> <code>
                                                                                                                                                                                                  Command search-api:reset-tracker was not found. Drush was unable to query the database. As a result, many commands are unavailable. Re-run your command with --debug to see relevant log messages.  
                                                                                                                                                                                                                                                                                                                                                                                              Command search-api:index was not found. Drush was unable to query the database. As a result, many commands are unavailable. Re-run your command with --debug to see relevant log messages.                                                                                                                                                                                            

In Settings.php line 172:

Missing $settings['hash_salt'] in settings.php.  
                                               
cache:rebuild [--cache-clear [CACHE-CLEAR]] [--no-cache-clear] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--re
mote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify] [--xh-link XH-LINK] [--druplicon] [--] <command>
                                                                                                                                                                                    
Command pm:enable was not found. Drush was unable to query the database. As a result, many commands are unavailable. Re-run your command with --debug to see relevant log messages.

Missing vendor folder

Upon installing this project I get this error message.
image

I get the impression that it's looking for the vendor folder but there isn't one. How did you guys work around this.

Question: best practice for listing search results

At the moment we use "Rendered entity" in the search view.

Shouldn't we use the "Rendered HTML output" field as a best practice?

Or is that only a best practice when using search_api_solr.

PS: if we choose to change it, we shouldn't forget to

  • remove the strip HTML processor for that field;
  • disable auto_escaping for that field;

Header is no longer properly styled after updating to Drupal 8.8

How it looks today:
image

How it looked With Drupal 8.5
image

Would be great if someone could help fixing it. To install this demo site, look at the scripts folder and see the install instructions. A demo of the existing code can be seen on drupalsear.ch and the theme where we make our own changes on top of umami is available in this repository under the docroot/themes/umami_search/ path.

Seo / metags / taxonomy / sitemap

Im looking for a simple implementation to correctly user search api solr with facets search respect to metags as sitemap.

My issue is that all default /taxonomy/terms are basically redirected for facetd in s search view to become /search/taxonomy/term

All this search works nicely BUT is a Seo nightmare.

It starts with the xml sitemap that only uses the
Default core taxonomy path.
The search taxonomy pages canonical urls are also still using default taxonomy paths.

This all results that the Google bot start to get fully confused to where they need to go.

The easiest way out would be to define /search for all Taxonomy linkes.

Currently I welcome any hint that might help, also this is just the git for a demo search but I think many other people will face the same.

Invalid Password

The username and password displayed at the top of the drupalsear.ch website, which I believe corresponds to this Github project isn't working.

I would love to see how the configurations are implemented.

Thank you.

Fails with composer2

composer 1 is assumed by the dependencies

> DrupalProject\composer\ScriptHandler::checkComposerVersion
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - cweagans/composer-patches is locked to version 1.6.7 and an update of this package was not requested.
    - cweagans/composer-patches 1.6.7 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 2
    - drupal-composer/drupal-scaffold is locked to version 2.6.1 and an update of this package was not requested.
    - drupal-composer/drupal-scaffold 2.6.1 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 3
    - drupal/console-extend-plugin is locked to version 0.9.3 and an update of this package was not requested.
    - drupal/console-extend-plugin 0.9.3 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 4
    - oomphinc/composer-installers-extender is locked to version v1.1.2 and an update of this package was not requested.
    - oomphinc/composer-installers-extender v1.1.2 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 5
    - drupal/console-extend-plugin 0.9.3 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - drupal/console 1.9.4 requires drupal/console-extend-plugin ~0 -> satisfiable by drupal/console-extend-plugin[0.9.3].
    - drupal/console is locked to version 1.9.4 and an update of this package was not requested.

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
cp: directory docroot/themes/contrib does not exist
cp: directory docroot/modules/contrib does not exist
rm: docroot/.ht.sqlite: No such file or directory
scripts/install.sh: line 9: vendor/bin/drush: No such file or directory
scripts/install.sh: line 10: vendor/bin/drush: No such file or directory
scripts/install.sh: line 11: vendor/bin/drush: No such file or directory
scripts/install.sh: line 12: vendor/bin/drush: No such file or directory
scripts/install.sh: line 13: vendor/bin/drush: No such file or directory
scripts/install.sh: line 14: vendor/bin/drush: No such file or directory
scripts/install.sh: line 15: vendor/bin/drush: No such file or directory

Slider not showing, pips & min/max labels

slider

Console lists these errors:

Refused to apply style from 'http://drupalsear.ch/libraries/jquery-ui-slider-pips/dist/jquery-ui-slider-pips.min.css?pgsmpp' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
search:992 GET http://drupalsear.ch/libraries/jquery-ui-slider-pips/dist/jquery-ui-slider-pips.min.js?v=1.11.3 net::ERR_ABORTED 404 (Not Found)
search:1 Refused to execute script from 'http://drupalsear.ch/libraries/jquery-ui-slider-pips/dist/jquery-ui-slider-pips.min.js?v=1.11.3' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
drupal.js?v=8.5.7:13 Uncaught Error: no such method 'pips' for slider widget instance
    at Function.error (jquery.min.js?v=3.2.1:2)
    at HTMLDivElement.<anonymous> (widget-min.js?v=1.12.1:4)
    at Function.each (jquery.min.js?v=3.2.1:2)
    at r.fn.init.each (jquery.min.js?v=3.2.1:2)
    at r.fn.init.a.fn.(/anonymous function) [as slider] (http://drupalsear.ch/core/assets/vendor/jquery.ui/ui/widget-min.js?v=1.12.1:4:1947)
    at Object.Drupal.facets.addSlider (slider.js?v=8.5.7:37)
    at Object.<anonymous> (slider.js?v=8.5.7:16)
    at Function.each (jquery.min.js?v=3.2.1:2)
    at Object.attach (slider.js?v=8.5.7:15)
    at drupal.js?v=8.5.7:25
error @ jquery.min.js?v=3.2.1:2
(anonymous) @ widget-min.js?v=1.12.1:4
each @ jquery.min.js?v=3.2.1:2
each @ jquery.min.js?v=3.2.1:2
a.fn.(anonymous function) @ widget-min.js?v=1.12.1:4
Drupal.facets.addSlider @ slider.js?v=8.5.7:37
(anonymous) @ slider.js?v=8.5.7:16
each @ jquery.min.js?v=3.2.1:2
attach @ slider.js?v=8.5.7:15
(anonymous) @ drupal.js?v=8.5.7:25
Drupal.attachBehaviors @ drupal.js?v=8.5.7:22
(anonymous) @ dropdown-widget.js?v=8.5.7:90
each @ jquery.min.js?v=3.2.1:2
each @ jquery.min.js?v=3.2.1:2
Drupal.facets.makeDropdown @ dropdown-widget.js?v=8.5.7:27
attach @ dropdown-widget.js?v=8.5.7:13
(anonymous) @ drupal.js?v=8.5.7:25
Drupal.attachBehaviors @ drupal.js?v=8.5.7:22
(anonymous) @ drupal.init.js?v=8.5.7:16
t @ ready.min.js?v=1.0.8:4
setTimeout (async)
Drupal.throwError @ drupal.js?v=8.5.7:12
(anonymous) @ drupal.js?v=8.5.7:27
Drupal.attachBehaviors @ drupal.js?v=8.5.7:22
(anonymous) @ dropdown-widget.js?v=8.5.7:90
each @ jquery.min.js?v=3.2.1:2
each @ jquery.min.js?v=3.2.1:2
Drupal.facets.makeDropdown @ dropdown-widget.js?v=8.5.7:27
attach @ dropdown-widget.js?v=8.5.7:13
(anonymous) @ drupal.js?v=8.5.7:25
Drupal.attachBehaviors @ drupal.js?v=8.5.7:22
(anonymous) @ drupal.init.js?v=8.5.7:16
t @ ready.min.js?v=1.0.8:4
drupal.js?v=8.5.7:13 Uncaught Error: no such method 'pips' for slider widget instance
    at Function.error (jquery.min.js?v=3.2.1:2)
    at HTMLDivElement.<anonymous> (widget-min.js?v=1.12.1:4)
    at Function.each (jquery.min.js?v=3.2.1:2)
    at r.fn.init.each (jquery.min.js?v=3.2.1:2)
    at r.fn.init.a.fn.(/anonymous function) [as slider] (http://drupalsear.ch/core/assets/vendor/jquery.ui/ui/widget-min.js?v=1.12.1:4:1947)
    at Object.Drupal.facets.addSlider (slider.js?v=8.5.7:37)
    at Object.<anonymous> (slider.js?v=8.5.7:16)
    at Function.each (jquery.min.js?v=3.2.1:2)
    at Object.attach (slider.js?v=8.5.7:15)
    at drupal.js?v=8.5.7:25

This is what the slider should look like:

ok

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.