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.
First, I am completely new to Drupal, I volunteered to help support a site and I have enough “technical” knowledge to be dangerous, so with that in mind, here goes..
In Drupal 7 language switcher block used to disable/strike untranslated language links, but it does not work that way in Drupal 8. for example if I go to http://example.com/node/1 language switcher dose not disable/strike untranslated language links. any solution? thanks
I wanted to add a select list field in vocabulary page. I did it by form_alter Now, I want that field value in hook_taxonomy_vocabulary_update or hook_taxonomy_vocabulary_insert. But I couldn't get it.
What am I doing wrong ? Is there any other good way to do this ?
I want to use a custom profile field in translations of a string shown in articles. I can use tokens like @username there but how can I use the content of the custom profile field? I wish to use a real name field rather than an username field in articles as information about article's author.
Additionally I would like to know how I can change the date format in articles. I can use @date but not @date:medium?