This forum is for assistance with theme development.

Theming emails

Hello, I have question about theming emails. I installed Symfony mailer, because with this module it should be possibel to send themed/html emails. But all emails still look the same like before. Specifically I would like to be able to send formated confirmation emails for Drupal Commerce. Right now all the mail are in simple text format. No matter how hard i try, I am unable to find the solution to send html emails with Symfony mailer. Could you help me?

I am usind Drupla 9.4.8 and Symfony Mailer 1.0.0-beta1

Display entity reference field in User Twig

I am using an entity reference field to display author names on our site.  I added a 'published_name' field, and referenced it to the Author taxonomy. The published_name taxonomy field is within the a custom profile called 'Writer Profile', made using the Profile module. The Writer Profile is added as a rendered entity on admin/config/people/accounts/display. The writer profile fields display on the user's profile page, but I would like to do is customize the twig so the writer profile fields are displayed on the user's profile the way I want.

custom theme - problem with Commerce module

Hello, I need your help. I am building website build on my own theme which contains e-shop (with Commerce v 8.x-2.31). On my local server everything works great, but when I deploy it to my live test server there is error when I try to add payment gateway for eshop.
In log, there is PHP error with this message:

How to remove normalize.css that comes from core?

I tired

libraries-override:
  core/normalize:
    css:
      base:
        assets/vendor/normalize-css/normalize.css: false
        misc/normalize-fixes.css: false

or

libraries-override:
  system/base:
    css:
      component:
        assets/vendor/normalize-css/normalize.css: false
        misc/normalize-fixes.css: false

These lines don't work

Problem with a twig file, converting a Drupal 7 theme to 9

Hi, I'm converting a Drupal 7 site to Drupal 9. It's a fairly simple theme and I've managed to install the theme in Drupal 9. However on going to the site, I recieve this error:

The website encountered an unexpected error. Please try again later.

Twig\Error\SyntaxError: Unexpected token "name" of value "aktiver_link" ("end of statement block" expected). in Twig\TokenStream->expect() (line 8 of themes/mysite/templates/page.html.twig).

Theme node deleted

Hi,

I created a new theme project called "Portfolio theme explore" but it looks like the node has been deleted thinking "it is spam or something"

If you log in, you can find it from here

https://www.drupal.org/project/portfolio_theme_explore

Would someone please help and undo the node deletion?

I wanted to make a release and update few things.

Looking forward to your response

Pages

Subscribe with RSS Subscribe to RSS - Theme development