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 wanted to create a small app in Vue.js and display it in my Drupal site. The motivation to embed an app in the twig template is possibility to better integrate with other elements of the site (e.g. navigation bar, footer, etc.) making navigation through the app-embedded page seamless to the user.
I want to hide a block under certain conditions. The code works, but only if I flush the caches after the condition changes. I guess I have to do something with the cachablity of the block, but I'm not sure how. Any ideas?
I want to query an external sqlite Database. This Database does not contain Drupal information, or Drupal specific tables. It jus holds some data, I want to display on my website.