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

Account created on 7 September 2007, almost 17 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States gscerb

I uninstalled Drupal Symfony Mailer

drush cdel core.extension module.symfon_mailer

then reinstall Drupal Symfony Mailer

πŸ‡ΊπŸ‡ΈUnited States gscerb

My bad. I did a clean Drupal reinstall and was able to send emails without a problem. There must have been a misconfiguration somewhere along the line as I tested various options.

πŸ‡ΊπŸ‡ΈUnited States gscerb

In Configuration... Content Authoring... Text Formats and Editors
I edited "Email HTML" to have no text editor and "Display any HTML as plain text"
I then sent an email.
"Intializing..." still displayed.
In the log report... Type: views_send Message: message sent to myemail@mydomain.com
However, the email was never received.

πŸ‡ΊπŸ‡ΈUnited States gscerb

In the Views Send "text format" dropdown I don't have the option for plain text. I only have:
Full Html
Basic Html
Restricted Html
Email Html

I had the same "Initializing..." problem using:
Mail System... Default PHP Mailer
or, Drupal Symfony Mailer

πŸ‡ΊπŸ‡ΈUnited States gscerb

gscerb β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States gscerb

gscerb β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States gscerb

drupal/bootstrap_barrio 5.5.9
This is my global.js file. It doesn't display a reordering for the first column on a small device.

/**
* @file
* Global utilities.
*
*/
(function ($, Drupal) {

'use strict';

Drupal.behaviors.my_theme = {
attach: function (context, settings) {

}
};

})(jQuery, Drupal);

let MOBILE_BREAKPOINT = 692;
let width = 0, prevWidth = 0;

function initWindowResize() {
$( window ).resize(function() {
let width = $( window ).width();
// console.log("window resized: ", width);

if ((width < MOBILE_BREAKPOINT) && (prevWidth >= MOBILE_BREAKPOINT)) {
console.log("switching to mobile");
$('.sidebar_first').removeClass('order-first');
$('.main-content').addClass('order-first');
}

if ((width > MOBILE_BREAKPOINT) && (prevWidth <= MOBILE_BREAKPOINT)) {
console.log("switching to desktop");
$('.main-content').removeClass('order-first');
$('.sidebar_first').addClass('order-first');
}

prevWidth = width;
});
}

πŸ‡ΊπŸ‡ΈUnited States gscerb

Changing the reaction rule to "After updating a content item entity" did the trick.

I appreciate your help!

πŸ‡ΊπŸ‡ΈUnited States gscerb

Here is the 2nd rule.

uuid: 6b03a8fc-c615-41b8-b6a4-31d2d2ed60f0
langcode: en
status: true
dependencies: { }
id: race_list_initialed
label: 'Race list initialed'
events:
-
event_name: 'rules_entity_presave:node--race_pdf_txt_xls_txt'
description: ''
tags: { }
config_version: '3'
expression:
id: rules_rule
uuid: b77039d6-f5fc-4fa8-91e9-db173edcffe2
weight: 0
conditions:
id: rules_and
uuid: 75ffbe36-8c5b-4e44-846f-b72f32b445f9
weight: 0
conditions:
-
id: rules_condition
uuid: 7d340fdb-8ac8-414e-9b4b-90eec6e80ef0
weight: -50
condition_id: rules_entity_is_of_bundle
negate: false
context_values:
type: node
bundle: race_pdf_txt_xls_txt
context_mapping:
entity: node
context_processors:
type:
rules_tokens: { }
bundle:
rules_tokens: { }
provides_mapping: { }
-
id: rules_condition
uuid: 0f73999f-4a12-49b8-adb7-dcb4e8e9302e
weight: -49
condition_id: rules_entity_is_of_bundle
negate: false
context_values:
type: node
bundle: race_pdf_txt_xls_txt
context_mapping:
entity: node_unchanged
context_processors:
type:
rules_tokens: { }
bundle:
rules_tokens: { }
provides_mapping: { }
-
id: rules_condition
uuid: 8ec98379-6f59-43ea-abbb-7043be96c48c
weight: -48
condition_id: rules_data_comparison
negate: false
context_values:
operation: '=='
value: '1'
context_mapping:
data: node.field_electrical_power.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
-
id: rules_condition
uuid: 88c749a7-7995-477a-9db7-73ea7da8cf96
weight: -47
condition_id: rules_data_comparison
negate: false
context_values:
operation: '=='
value: '1'
context_mapping:
data: node.field_terms_and_conditions.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
-
id: rules_condition
uuid: 9d58df06-5324-489e-a150-82a252e8cd25
weight: -46
condition_id: rules_data_comparison
negate: false
context_values:
operation: '=='
value: '1'
context_mapping:
data: node.field_email_list_ok.value
context_processors:
operation:
rules_tokens: { }
value:
rules_tokens: { }
provides_mapping: { }
-
id: rules_condition
uuid: c4485610-8e02-46a5-a394-1b62888efc7d
weight: -44
condition_id: rules_data_is_empty
negate: true
context_values: { }
context_mapping:
data: node.field_enter_your_initials_to_acc.value
context_processors: { }
provides_mapping: { }
-
id: rules_condition
uuid: 8bb2bfbb-5f8a-4439-85cc-0513c5d1c8fb
weight: 0
condition_id: rules_data_comparison
negate: true
context_values:
operation: '=='
context_mapping:
data: node_unchanged.field_terms_and_conditions.value
value: node.field_terms_and_conditions.value
context_processors:
operation:
rules_tokens: { }
provides_mapping: { }
actions:
id: rules_action_set
uuid: f7edf033-77a4-42d1-ba02-67364b626bd8
weight: 0
actions:
-
id: rules_action
uuid: 77b4c529-6612-4974-9fab-a5490899424c
weight: 0
action_id: rules_system_message
context_values:
message: 'message: race initialed email sent'
type: status
repeat: false
context_mapping: { }
context_processors:
message:
rules_tokens: { }
type:
rules_tokens: { }
repeat:
rules_tokens: { }
provides_mapping: { }
-
id: rules_action
uuid: 1286e5d8-f16a-40df-9c8d-3a05738a9ca6
weight: 0
action_id: rules_send_email
context_values:
to:
- gscerb@gmail.com
subject: '{{ node.title }} has been initialed. http://gsrs.com/node/{{ node.nid }}'
message: '{{ node.title }} has been initialed. http://gsrs.com/node/{{ node.nid }}'
reply: greg@bluebassdesign.com
language: ''
context_mapping: { }
context_processors:
to:
rules_tokens: { }
subject:
rules_tokens: { }
message:
rules_tokens: { }
reply:
rules_tokens: { }
language:
rules_tokens: { }
provides_mapping: { }

πŸ‡ΊπŸ‡ΈUnited States gscerb

The actual bundle is different from my original post which I tried to simplify. It is "race_pdf_txt_xls_txt"

uuid: 58ee75da-b482-4c88-bd26-47227c64451f
langcode: en
status: true
dependencies: { }
id: email_staff_change
label: 'Email staff change'
events:
-
event_name: 'rules_entity_presave:node--race_pdf_txt_xls_txt'
description: ''
tags: { }
config_version: '3'
expression:
id: rules_rule
uuid: afeae29e-8e8a-44ae-993e-ee107623c21c
weight: 0
conditions:
id: rules_and
uuid: 05f3e980-a292-435d-958a-80832b382191
weight: 0
conditions:
-
id: rules_condition
uuid: 30c24ebe-a39e-4d06-beff-b053db63c540
weight: 0
condition_id: rules_entity_is_of_bundle
negate: false
context_values:
type: node
bundle: race_pdf_txt_xls_txt
context_mapping:
entity: node
context_processors:
type:
rules_tokens: { }
bundle:
rules_tokens: { }
provides_mapping: { }
-
id: rules_condition
uuid: b2e6ccbd-6740-4ad4-96bc-3d6098f85b71
weight: 0
condition_id: rules_entity_is_of_bundle
negate: false
context_values:
type: node
bundle: race_pdf_txt_xls_txt
context_mapping:
entity: node_unchanged
context_processors:
type:
rules_tokens: { }
bundle:
rules_tokens: { }
provides_mapping: { }
-
id: rules_condition
uuid: 5d913850-f698-4bd3-aa0a-594dc3f763cc
weight: 0
condition_id: rules_data_comparison
negate: true
context_values:
operation: CONTAINS
context_mapping:
data: node_unchanged.field_staff.target_id
value: node.field_staff.target_id
context_processors:
operation:
rules_tokens: { }
provides_mapping: { }
actions:
id: rules_action_set
uuid: 1aa91da2-2574-4161-ab87-ae3ae72c2218
weight: 0
actions:
-
id: rules_action
uuid: d9fc3b1c-68e1-4557-ab34-77ece46e8177
weight: 0
action_id: rules_system_message
context_values:
message: 'email sent'
type: status
repeat: false
context_mapping: { }
context_processors:
message:
rules_tokens: { }
type:
rules_tokens: { }
repeat:
rules_tokens: { }
provides_mapping: { }
-
id: rules_action
uuid: 75a6d0f3-3f9e-41b3-8757-a7235a14a56c
weight: 0
action_id: rules_send_email
context_values:
to:
- '{{ node.field_staff.0.entity.mail }}'
- '{{ node.field_staff.1.entity.mail }}'
- '{{ node.field_staff.2.entity.mail }}'
- '{{ node.field_staff.3.entity.mail }}'
- '{{ node.field_staff.4.entity.mail }}'
- '{{ node.field_staff.5.entity.mail }}'
- '{{ node.field_staff.6.entity.mail }}'
- '{{ node.field_staff.7.entity.mail }}'
- '{{ node.field_staff.8.entity.mail }}'
- '{{ node.field_staff.9.entity.mail }}'
subject: 'Staff additions to {{ node.title.value }} - {{ node.field_date1.value }}'
message: 'Staff additions to {{ node.title.value }} - {{ node.field_date1.value }}

http://gsrs.com/node/{{ node.nid }}'
reply: ''
language: ''
context_mapping: { }
context_processors:
to:
rules_tokens: { }
subject:
rules_tokens: { }
message:
rules_tokens: { }
reply:
rules_tokens: { }
language:
rules_tokens: { }
provides_mapping: { }

Production build 0.69.0 2024