Problem/Motivation

Drupal 8+ uses Twig to allow Themers to individualize page contents easily without having to code.

Sadly this hasn't yet been done in the Mailchimp module, so there contents of the mailchimp signup block and mailchimp signup page don't have twig templates, they're just rendered through PHP.

For themers this means, it's hard to customize these pages.

Steps to reproduce

Proposed resolution

Use a theme to render these signup forms, at least with the description and form elements.
Allow to differentiate page and block by theme suggestions, so they can be overwritten individually.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Anybody created an issue. See original summary.

thomas.frobieter’s picture

+1 for this. Not only there are no Twig templates, there are not even a wrapper around this texts.

  • xenophyle committed 4d0a3f22 on 8.x-1.x
    [#3373267] feat: Use twig templates for signup page and blocks
    
    By:...

  • xenophyle committed 525c7098 on 2.x
    [#3373267] feat: Use twig templates for signup page and blocks
    
    By:...

  • xenophyle committed 6af450d7 on 3.x
    [#3373267] feat: Use twig templates for signup page and blocks
    
    By:...
xenophyle’s picture

Status: Active » Fixed

I think the changes meet the requirements of this ticket, but please let me know if something isn't right.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

thomas.frobieter’s picture

Looks good! Thank you (:

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.