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.
I see we can config logging and errors through /admin/config/development/logging in the site.
However if we display all messages, no matter which role you log in with, you will see the warnings and errors.
I just want to know if there is way we can display warnings and errors for certain roles, e.g. admin or developer. And hide warnings or errors for content author or anonymous user.
I have created a compound field with 2 subfields (title, body). Now I need to add another subfield (Footer) to the same compound field.
Though I have added the new field definition in all required places (propertyDefinition,schema,formElement), field is not getting created in the table. How to achieve this? Kindly help me on this.
In one views I have an Entity Reference field. In the filter criteria I inserted an exposed filter to filter the rows based on the written data.
In the filter identifier report this field (field_richiedente_target_id), I changed it to "field_richiedente_entity_label", but without success. Could you tell me how to search by description and not by ID?
I've tried aggregation, it works and it's comfortable. I have a greater and more complex need.
In the views I have 2 content types. Each with a numeric field.
The aggregation should display the total by content type and then calculate the difference between the 2 amounts.
I would like to make it programmatically. Can you route me to suggesting what to read?