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.
All other Drupal themes I have had no trouble installing, but this one is different.
I am using Drupal 8.6.0 through GoDaddy's Installatron. Once installed, I go to "Appearance" (within administration) to upload a new theme, but it does not allow the URL file path or to BROWSE in the zipped file to directly upload it. FYI: I did the updates and there is still no URL/upload link. So, I tried extracting it through the File Manager...
when I use any date filter in Drupal 8 Twig variable, I see error with blank screen.
{{ node.field_date|date('j.n.Y') }}
or
{{ node.field_date|date("j.n.Y") }}
or
{{ node.field_date.value|date('j.n.Y') }}
or
{{ node.field_date|raw|date("j.n.Y") }}
Exception: DateTime::__construct() expects parameter 1 to be string, array given v DateTime->__construct()
Some other Twig variable filters are ok (|reverse |lower etc.)
I've created three taxonomy vocabularies on the site I'm currently working on, and added an image field to each of them, for an icon representing each term. And I have a content type that includes a term reference field for each of the three vocabularies. What I would like to do is have the content type display the icon for the chosen term, rather than the name of the term. I'm guessing there are a few different ways to do this...