Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We currently have this module in a number of features an need a way for htmlmail to use the drupal default theme when choosing the templates.
Comment | File | Size | Author |
---|---|---|---|
#9 | allow-default-theme-9-20718110.patch | 2.92 KB | Utkarsh_Mishra |
| |||
#9 | Screen Shot 2018-03-28 at 12.29.51 PM.png | 28.25 KB | Utkarsh_Mishra |
Comments
Comment #1
lathanhere is a patch
Comment #2
lathanmissed the enable, fixed now.
Comment #3
Utkarsh_Mishra CreditAttribution: Utkarsh_Mishra at OpenSense Labs for DrupalFit commentedComment #4
salvisAgain, what are we trying to do here, and why are you changing from NR to NW?
Let's at least try to let the testbot run...
Comment #6
salvis#2 needs a re-roll.
Comment #7
Utkarsh_Mishra CreditAttribution: Utkarsh_Mishra at OpenSense Labs for DrupalFit commentedComment #8
salvisThank you for the updated patch!
This is neither the default theme nor the theme default but (apparently) whether to use the (site's?) default theme.
I guess the variable should be called something like 'htmlmail_use_default_theme'.
Why can we not just select that theme if that's what we want?
I'm still confused about what this does. What default are we using for what and what are we overriding?
(Capital 'D' in 'Drupal')
You must be kidding...
Comment #9
Utkarsh_Mishra CreditAttribution: Utkarsh_Mishra at OpenSense Labs for DrupalFit commentedThe purpose of the issue was to let the user select the default theme that is site's default theme as the theme for mail template and not to choose from the dropdown list though yes the user can still choose the theme by just disabling the checkbox. The $enabled variable just updates the state of the dropdown list that should be enabled or not depending on the checkbox value.
Attached a screenshot and patch with some proposed changes.
Comment #10
Utkarsh_Mishra CreditAttribution: Utkarsh_Mishra at OpenSense Labs for DrupalFit commentedComment #11
salvisAh, now I understand, but I'm sorry, this is over-engineered. All we need for fulfilling this request is an additional option in the drop-down list.
And, D8 has to go first.
Comment #12
TR CreditAttribution: TR commented