TransWikia.com
  1. All Categories
  2. Drupal Answers

Drupal Answers : Recent Questions and Answers (Page 21)

Find answers to your questions about Drupal Answers or help others by answering their Drupal Answers questions.

'' a field on Manage display

I'm using D7. If you set a field <Hidden> on 'Manage display', and, unless you display it by views or something, you cannot see it anywhere on the site, right?...

Asked on 02/06/2021 by carrotandme

1 answer

Display Entity Reference field twice, with different display modes

I have a content type (Type A) that has an Entity Reference field to another content type (Type B). Type B has 3 fields and 2 display modes. Display A...

Asked on 02/03/2021 by Paul Canning

1 answer

Media html not rendering in blocks

I'm experiencing an issue on multiple sites where (image) media aren’t appearing in blocks despite working fine in node fields. I first thought it only happened to me when using...

Asked on 02/03/2021 by Kristoffer Rom

1 answer

How can I programmatically change the view mode?

In Drupal 7 I did something like: function mymodule_views_pre_render(&$view) { //dpm($view); if ($view->name == 'services') { $view->style_plugin->row_plugin->options['view_mode']...

Asked on 02/03/2021 by jmzea

4 answer

How do I avoid API calls are cached?

I'm using Drupal 8 in headless mode with Angular 8 as my client, but Drupal caches the API calls. For example, I have an end point which suppose to give...

Asked on 02/02/2021 by user1648228

2 answer

Custom JSON api normalizer is not initiated

I am trying to figure out how to make a custom normalizer for an entity work. I've added the normalizer to my services.yml with the required tag and arguments and...

Asked on 02/01/2021 by Kevinvhengst

0 answer

How can I render [webform_submission:values] in a table?

I am trying to figure out from where [webform_submission:values] gets rendered. This is how it looks right now in the email submission.Label 1Value 1Label 2Value 2I want this...

Asked on 01/31/2021 by Samay

1 answer

Suddenly unable to add a field to a new content type

When editing a content type I was going to add a simple boolean field to an existing content type. When attempting to add the new field Drupal threw an error....

Asked on 01/31/2021 by leif

1 answer

an error when changing the date form

I need to change the date form of quiz module in quiz.module on line 1307it was this: $form['quiz_availability']['quiz_open'] = array( '#type' => 'date',...

Asked on 01/30/2021 by mahdi alikhasi

1 answer

Display content based on taxonomy with view

I have a hierarchical taxonomy like the following:Bachelor of DegreeYear1 (child term of Bachelor of Degree)Term1 (child term of Year1)Year2Term2The body text of content1, content2, … of a content type...

Asked on 01/30/2021

2 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP