Drupal Answers Community Digest

Greatest hits from previous weeks:

How do I get the raw field value in a twig template?

myfield is a plain text field. {{ content.field_myfield }} renders the field with HTML markup and the field label. How do I render the raw value of the field? {{ content.field_myfield.value }} doesn'...

8 theming  
user avatar asked by Pim Score of 46
user avatar answered by No Sssweat Score of 80

Rebuild images from image style

I have an image style in Drupal 7. I attached several images to a nodes and display the images based on this style. I then changed the effects on this image style but the existing images are not being ...

7 media  
user avatar asked by Justin Score of 62
user avatar answered by ipwa Score of 124

How do I create custom regions in a theme?

I want to add a new area which will be site wide. Describe the process of getting this new region into my theme, if possible generalize it for adding any new, custom region.

theming  
user avatar asked by palbakulich Score of 58
user avatar answered by Camsoft Score of 68

How can I change a user's password from the command line using Drush?

How can I change a user's password from the command line using Drush?

users drush  
user avatar asked by markdorison Score of 102
user avatar answered by tim.plunkett Score of 147

How to print custom date format in Twig?

How can I print a custom date format in Twig? First of all my I am trying to edit the field.html.twig of the field called field_publication_date, in that file I find this variable {{ item.content }} ...

theming 8 datetime  
user avatar asked by Ricardo Castañeda Score of 24

Get the image URL

I want to render an image as a background image via an inline style in twig. I created a field called bg_image and attached it to the standard plain page. After fiddling around for hours I was able ...

8 files  
user avatar asked by Jannis Hell Score of 24
user avatar answered by 4uk4 Score of 36

How do I translate strings in Twig templates?

I am working on a (my first) Drupal 8 project witch is a multilingual site. Drupal 8 really delivers in terms of native support for content translation. However, I have a few strings set directly in ...

8 i18n-l10n  
user avatar asked by Henkealg Score of 47
user avatar answered by Berdir Score of 48
You're receiving this message because you subscribed to the Drupal Answers community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 14 Wall Street, 20th Floor, New York, NY 10005

<3