Normal view

Creating Custom Theme Settings in Drupal 10 (D8)

I am running a multisite environment (70+ sites) where some sites need to have the same "ribbon menu" above my main navigation. I currently have one theme and would like to keep it that way.

How can I add a "checkbox" to my theme settings that, if checked, will insert a specific twig file in a region. Otherwise, that twig file is not inserted.

I was able to do something similar in D7, but can't figure out how to do it in D8/10 and Drupal's documentation isn't very clear.

submitted by /u/dienen
[link] [comments]

I want to make a website for ski and snowboard courses — can Drupal help me?

I want to make a website for ski and snowboard courses — can Drupal help me?

I’m looking for a CMS to build a website for a ski and snowboard school to promote its courses. One of the website pages should display a list of course names with their cover photos, locations, and dates, with the ability to click through to a detail page where visitors can purchase the course. An example is attached.

Ideally, it would also be possible to organize courses by categories and provide a search functionality based on categories, locations, dates, and other criteria. However, this is more of a “nice to have” feature for the future rather than a top priority at the beginning.

The last time I worked on a website was more than 15 years ago, when I used Joomla. I have never used Drupal before, so now I’m looking for the right CMS to meet these needs. Could Drupal be a good option? Are there any free or one-time-purchase extensions that could cover these requirements? If not, how complex would the development be?

For context, I work as an SAP consultant and mainly code in ABAP. I assume I could handle some simple web development tasks myself, but in case of more complex requirements I would likely hire a specialist.

submitted by /u/Siberian-Boy
[link] [comments]
❌