May I ask about best practice. Say I have a content type called Widgets and then I want to have a Widgets page which has a title, maybe some photos and a text based introduction and then below a list of widgets in a grid. I have always created a Basic Page where I have added my introductory content and then I have created a custom page template where I have added a block (which is a views block listing the widgets I want displayed. Is this best practice?
How can the Layout Builder be employed to craft a Drupal layout resembling the puzzle-style arrangement depicted in the image "Web 1920 – 1.jpg ," where the sidebar operates as a region content managed by the Layout Builder? What particular challenges emerge in this scenario, distinct from the standard two or three-column layout conventions as illustrated in "Web 1920 – 2.jpg"?
The original template (file-link.html.twig) sets a.title to the file name. I want a.title to display the file description field.
Is it the right and safe solution?
I have a theme X that implements X_theme_suggestions_page_alter. It adds a new template suggestions named "page__fwidth" for some content types.
When the theme X is enabled the theme loads the file named page--fwidth.html.twig for the desired content type.
Now, if I create a sub-theme Y that has X as the base theme and activate it, the suggestion defined by X is not available. Probably because the file X/X.theme is not loaded. How can I have all the stuff in X.theme loaded when the theme Y is activated?