Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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).
I accidentally deleted my default frontpage view I was using on a Drupal 9 site, and I can't find how to either recreate it or which path to set on a new view to have it as front page.
I'm building my own sub-theme to re-brand an installed theme. Mostly, this is working well, but I'm running into issues were my compiled (sub-theme) CSS cannot overwrite the main theme.
It was my understanding that if I copied the main theme's CSS file and put it in my root-sub-theme's CSS directory, that when the theme loads, Drupal loads my changes over that of the theme's... meaning, that it would take my altered file with the same name over that of the main theme.