Error after module unclean removal

Hello.

Some time ago i have deleted some modules on my site in a dirty way(removed respective folders under website directory).

Now I have the following error.

MISSING OR INVALID MODULE

The following module is marked as installed in the core.extension configuration, but it is missing:

  • anonymizer

Review the suggestions for resolving this, incompatibility to repair your installation, and then re-run update.php.

edit permission based on comment count ... how to do that?

I wish to allow 'Edit own node' permission only if there are no comments on the node.

Similarly

I wish to allow 'Edit own comment' permission only if there are no comments/replies on that comment.

Please guide me on how to achieve this.

Thanks

-Mahesh

How we can show firebase analytics graphs on custom page drupal

I am having a requirement where i need to show firebase analytics graphs on Drupal via custom module and custom page

https://prnt.sc/13zt8bw

social_landing_page_update_8810 failed on upgrading

I'm getting stuck on upgrading a Drupal site.

I did invoke

composer update --with-all-dependencies
drush updatedb

resulting in

Can't put node-form tpl's in a templates sub-folder?

I have custom node-form.html.twig templates for all my content-types for heavy customisation. I was trying to improve the file structure but for some reason, the node-form templates only work if I put them in the root of the templates folder. If I move them in a subfolder (/templates/node-forms for example) I'm getting an error:

Twig\Error\LoaderError: Template "themes/mytheme/templates/node-form.html.twig" is not defined.

Do I have to specify anything more in my theming function below to make Drupal aware of the sub-location?

How can I translate field values ​​from a content type?

Hi team

I've created a content type with some fields, but i would like to translate theirs value

This is an example of my fields

image

I would like to translate those values to spanish, if this will be no posible my second idea was to create another field with those values in spanish and using something like a condition to show fields that are in spanish or english depending of what was selected

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x