How do I set up an article view that validates both article and category?
I'm working with Drupal 7, and trying to get a view set up that will display blog categories and articles based on their category. The category is a Taxonomy - Blog Categories - let's assume it's: I'm hoping for the following path behavior: I've tried a ton of different combinations of relationships and contextual filters, but I just can't get it t...
The database is not bootstrapped in another docker container
The following problem occurs when running certain Drush commands, such as drush en features which outputs: Command pm-enable needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment to run this command. The drush command 'en features' could not be executed. Drush was not able to start (bootstra...
Image fill container div in php
I have been searching the internet and have had no luck. I am trying to make a website with drupal and and am creating my own theme. I am trying to make the Logo image fill the whole of the header div. I have found the php code where it writes this code, but if I make the image 100%, then the image goes to its full size, not 100% of the div. I know...
Form Display: How to move elements out of the advanced container?
I want to tweak the node add/edit form for one of my content-types and rearrange the fields in different groups. I use the Field Group Module to setup the different groups. On the Manage Form Display settings of the content-type I rearrange the Fields, which works fine for all fields but "Authored by", "Promoted to front page" and so on. All this f...
Configure a view to display nodes that match a term value of the container node
I have two content types: I have a vocabulary: I have a view that displays Events, and I place the view in my Programs nodes. Both Programs and Events have a field_term_programs that references the Programs vocabulary. If I place the view in a Programs node, I want it to display any Events assigned to the same Programs term as that Programs node. I...