πŸ‡ΊπŸ‡ΈUnited States @Mirakolous

Account created on 13 August 2010, over 14 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States Mirakolous

Applied patch and confirming this worked great for my use case. Seems like word docs would be super common so voting yes to including in the module.

However, we may want to add a way to make this configurable?

πŸ‡ΊπŸ‡ΈUnited States Mirakolous

Sharing in case anyone else runs into this. The current patch is behind and does not apply. I attempted to rebase, but it was too many conflicts for me to resolve confidently. In order to not stall the updates to other modules, I had to change svg_image in composer.json like so:

"drupal/svg_image": "dev-3.x#2fe16c7a9f0c511bbcaa44499a4fb61fa0f9854c",

That is the last hash that this patch applies cleanly to.

πŸ‡ΊπŸ‡ΈUnited States Mirakolous

Line 266 of RateWidgetField seems to be where the issue lies.

I just removed these lines to get it working for me (I don't need the views portion of this widget)

      // Mark the widget being part of a view and add the view url.
      $widget->set('isViewsField', TRUE);
      if (is_null($widget->get('viewsUrl'))) {
        if ($this->view->hasUrl()) {
          $widget->set('viewsUrl', $this->view->getUrl());
        }
      }
Production build 0.71.5 2024