TransWikia.com
  1. All Categories
  2. Drupal Answers

Drupal Answers : Recent Questions and Answers (Page 6)

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

Create a Display Suite Custom Block Field Programatically

Can anyone provide sample code for a custom module and/or provide a reference for hook_ds_fields_info that utilizes 'field_type' => DS_FIELD_TYPE_BLOCK, that will actually render in admin/structure/ds/fields. I'm working in...

Asked on 12/12/2021 by Aaron S.

1 answer

How can I change the front-page title when front page is not /node?

I changed the site's front page from /node to another page. However, now the title of the front page is page name | site name. To clear up any confusion,...

Asked on 12/12/2021

4 answer

Why do I get "Nothing to install or update" when I update to latest core version?

Under /admin/modules/update, Drupal core is listed as requiring update from 8.8.8 to 8.9.2. I have started my Drupal installation using the drupal/recommended-project project template and I used composer update drupal/core-recommended...

Asked on 12/12/2021 by Vanessa Abi Rashed

1 answer

How have multiple instances of a Custom Block?

So I have a custom block that has been created within the module. I have used the drupal API to generate the brand new fields - which works perfectly. However,...

Asked on 12/10/2021 by jagmitg

2 answer

Node view mode in page template suggestions

I would like page template suggestions when a node is using a custom view mode. I think this would happen in hook_theme_suggestions_page_alter(). I have already been able to get page-level...

Asked on 12/10/2021 by Sarah C

1 answer

Trigger redirect after Webform Remote Post Handler posted successfully

I've made a webform with a handler. This handler does a Remote Post towards an API. This API is actually a custom module within the Drupal install which (after some...

Asked on 12/10/2021 by Jessica IX

1 answer

How to sort translation under Translate tab?

I need to sort these translated language names alphabetically. I want to sort these irrespective of these languages weight and hierarchy. How can...

Asked on 12/10/2021

1 answer

Migration with default values in the yml file

has the following value:FirmaLandwirtschaftAutoStadtTraktorStraßeWaldWieseParkFelderThe 10 values should be imported into Drupal, version 8.In order not to have to read out these 10 terms from the database, I would like...

Asked on 12/10/2021 by webuser57

1 answer

menu_get_active_trail returns page not found

I want to add a meta description to a custom module 'mymodule', but this doesn't load as expected. The problem is in the active trail, when menu_get_active_trail is called...

Asked on 12/08/2021 by JurgenR

1 answer

hook_field_formatter_view does not get called

I have a custom field, that hooks into profile2 and saves it's value in user data blob. Everything works fine, except the hook_field_formatter_view, that does not get called for a...

Asked on 12/08/2021 by Alexei Rayu

1 answer

Ask a Question

Get help from others!

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