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.
What I would like to do is render custom data as a view without actually creating / saving a view. This allows me to build the view differently every time it is displayed, show anything as its results but still use the hooks provided by the views module. Even though this is most probably not the cleanest approach it turned out to be really handy in Drupal 7.
Suppose you have a two fields such as title, description. We assume both the fields do not have html tags in it. We have set up a view to list the title and description. We also have a title as the exposed filter with auto complete. Most of our clients want new modifications every day. My client also wanted to submit the form on selecting the suggestion from the drop down below the form field.
The problem: Twitter no longer supports widgets, and all the Twitter feed extensions use the WID or widget ID as the key to connecting to a Twitter feed. Work appears to have stalled on updating the modules.
The solution (with key hints and thanks to @hassebasse):
I have poor knowledge in development with Twig (and with Drupal so). I would remove label before text field and maybe change labels before name and e-mail fields to images. How can I do that? So where can I read about it?