Merge Requests

Recent comments

πŸ‡ΊπŸ‡ΈUnited States boinkster

Thanks for the patch. This solved a problem I was having with numeric filters in a Views Database Connector β†’ view.

πŸ‡ΊπŸ‡ΈUnited States boinkster

I can confirm that this a Gin problem. Tried the fix in #4 and the twig isn't loading. I haven't had time to track down what changed and where it's failing. If this isn't too much of a moving target, maybe it should be an extra module in Mercury or contrib.

πŸ‡ΊπŸ‡ΈUnited States boinkster

Is it possible to populate the amount with a token from another form element?
- the user enters an amount in a number field
- a computed field adds a 3% markup
- this value is passed to the Stripe amount to make the charge

πŸ‡ΊπŸ‡ΈUnited States boinkster

I hit this with 10.2.0 today... I'll dig a bit and see what I can find.

πŸ‡ΊπŸ‡ΈUnited States boinkster

boinkster β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States boinkster

It's unclear to me what is happening with the twig utility_classes ternary statement and subsequent classes merge. How does a value get passed in to utility_classes and why would you need to?

πŸ‡ΊπŸ‡ΈUnited States boinkster

I'm new to SDC so don't have knowledge of whether utility_classes everywhere would be an issue down the road.

πŸ‡ΊπŸ‡ΈUnited States boinkster

Still throws the same error after changing every navbar-brand_utility_classes to utility_classes in navbar-brand.twig

πŸ‡ΊπŸ‡ΈUnited States boinkster

Working though templates with the fix suggested in #7, eventually leads to:

TypeError: Unsupported operand types: null - array in __TwigTemplate_7c900ea4bd68698dd0a963aeeff08683->doDisplay() (line 47 of /var/www/html/vendor/twig/twig/src/Environment.php(361) : eval()'d code).

πŸ‡ΊπŸ‡ΈUnited States boinkster

Maybe quirks is too strong a word... just all the different LB solutions out there. Each offers different opinions and approaches. Some combine nicely, while some collide badly. The issue queue probably isn't the right forum to riff on this.

πŸ‡ΊπŸ‡ΈUnited States boinkster

Looking forward to it. I keep bouncing between this and Layout Paragraphs - each has UI quirks for my use case and themes so choosing is difficult. Staying closer to core LB is preferable, though. Great work on this!

πŸ‡ΊπŸ‡ΈUnited States boinkster

Would it be an option to use the default field value?

πŸ‡ΊπŸ‡ΈUnited States boinkster

Thanks. it comes from an old nickname
A field sample value module sounds useful. My main issue is a couple of block types that have a potpourri of optional fields (text and media) with the intention that the user could edit as needed but never use all of them. I'll see if I can adapt your code to populate one but null the rest.

πŸ‡ΊπŸ‡ΈUnited States boinkster

The demo ran and installed for me without any issues. Installed on a local DDEV instance.

πŸ‡ΊπŸ‡ΈUnited States boinkster

Could you please re-open this issue? I'm having the same issues on 2.01 and Drupal 10.

Is it possible to use a id's from a column in a remote table to create a relationship with a Drupal entity?

πŸ‡ΊπŸ‡ΈUnited States boinkster

@freelock, I was able to use ECA to send an email with a attachment using Easy Email 2.1/Drupal Symfony Mail 1.3 with the patch here: πŸ› Update for Drupal Symphony Mailer 1.3 Fixed
Also, in ECA, loading a node before creating the Easy Email entity enabled content to be passed via tokens to the template before sending.

πŸ‡ΊπŸ‡ΈUnited States boinkster

Not an ECA issue queue, but here's a POC that sends an email attachment. It's cloned model of the Asynchronous views export with an Easy Email addition. It sends a Views Data Export as an email attachment. It uses SMTP as a transport on the Drupal Symfony Mailer side.

πŸ‡ΊπŸ‡ΈUnited States boinkster

Updated how file attachments are handled. It was a stdClass, but Drupal Symfony Mailer uses a array in Legacy mode.

πŸ‡ΊπŸ‡ΈUnited States boinkster

Trying to piece this together in ECA...
The plugin asks for an entity token, assuming that's an easy_mail entity. So would ECA need to create the entity as part of the model? Or how would you ref existing easy_mail entities?

πŸ‡ΊπŸ‡ΈUnited States boinkster

The namespace needs to be updated.

πŸ‡ΊπŸ‡ΈUnited States boinkster

Another way to achieve this is to edit exported config then re-import:

edit your config/core.extension.yml file and remove the "classy" and "stable" elements under "theme"

then do a "drush cim"

https://www.drupal.org/project/drupal/issues/3328016#comment-14967373 πŸ› Deprecated core themes cannot be disabled on the "Appearance" tab because they are hidden Needs work

πŸ‡ΊπŸ‡ΈUnited States boinkster

Confirming that #24 worked for me - do a 'drush cim' after the edit.

πŸ‡ΊπŸ‡ΈUnited States boinkster

This would be helpful on the project page. Entity clone is way more heavy handed and has less granular control on fields, not a bad thing if that's what you need. I had a project with a bunch of entity ref fields, some of them with nested ref's, Entity Clone enthusiastically cloned all the ref's down the stack (again, not bad and kind of cool - if that's what you need).
This module makes it easier for content editors to choose before committing to make a copy.

Production build 0.69.0 2024