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 am attempting to allow users upload (large) files by pressing an upload button on a published page, in Drupal 8. I tried to create a module to handle the file uploading, but as a novice in Drupal I eventually got lost. Could anybody kindly offer some clues or helps on this topic? Such as which tutorial I should check out, existing modules with similar functions, existing discussions, what functions I could possibly use, etc.
I have created a Taxonomy Vocabulary and terms within those Vocabulary as below.
Vocabulary1
-- Term1
-- Term2
Vocabulary2
-- Term3
-- Term4
I have created two fields
field1
field2
Field1 contains list of all the vocabulary. and Fields2 should contains of terms with reference Vocabulary selected in field1. Lets say Vocabulary1 is selected in Field1 then field2 should display term1 and term2. if vocabulary2 is selected field2 should contain the terms3 and term4.
I'm trying to use the Migrate modules in Drupal 8.4.4. I've installed Drupal successfully on a Synology NAS, and it seems to work. When I go to domain.dom/upgrade it still seems to work, but the fields for entering the source database are grayed out, and have the disabled property set to "disabled". Only the Database Password field is enabled.
I've also noticed that I cannot now disable the Migrate modules; the check boxes aren't enabled.
Good morning,
I've been looking for a solution for several days but I can not find it.
I have two types of content in drupal 8:
Movie and Festival, users can create one or the other.
I have created two custom templates (header-before-login.html.twig and header-after-login.html.twig). I would like to get data from the database to pass to these templates using variables.
How can I overwrite this templates as preprocess in xyz.theme?