Hello,
I have implemented a responsive design for my website, using breakpoints, responsive images (<picture>,...), media queries, etc.
However, when I now change the orientation of my smart phone from portrait to landscape (and vice-versa), I have to refresh the page manually. Only then is the display adapted to the new orientation. What is the best way in Drupal 8.7.6 to achieve an automatic reload/refresh of the page on switching the orientation? Using a media query such as @media ... and (orientation: landscape) is obviously not enough.
Thanks for any help
I am developing a D8 site locally using acquia dev 2. Something is wrong with the software. I cant open the site. I was able to find the files. But I am not able to find the database. I looked here C:\Program Files (x86)\DevDesktop\phpmyadmin. How can I find the database?
I have a news website and I want to print the node's page each time in a different way depending on a field value.
The problem
I have a content type named "Article" in the article there are a number of fields that are going to be visible/invisible depending on a field called "Theme" (Conditional fields) also the "Theme" field is responsible to determine the twig that is going to be used.
For a few weeks, I have been developing a site based on Drupal 8 and so far, everything's working fine. Only recently I found a functionality that I had expected to be there, but that now seems to be missing...
I am trying to add a field where the languages could be selected from list of available languages in Drupal 8. The code to handle the language dropdown looks like: