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'm new to Drupal and I want to create custom modules to understand how everything's working.
I've got my module and created a menu link in "/admin/config/development" to set some settings
Now i want to create labels here, which content i can implement later in my module (frontend). (similiar to how it's working with the sitename/slogan)
Can anyone help me with creating this settings-page? And how i can get the label's content to my frontend?
Couldnt find a good documentation.
I currently working on my first Drupal Website for a small local Club and I would like to add a Gallery. I want the webmaster to be able to create a new Album and to upload images to this album. I guess the Album Names should be shown like a Sub Navigation when you click on the Gallery link. In the content area I could imagine to see the last uploaded photos... I have never used Drupal before, so I am totally lost, how I could achieve this.
I'm a little fuzzy on why something isn't working. I've deployed Drupal 8 with the latest version, and added the bootstrap theme with the correct version. I've used bootstrap before and I like it so I knew I could accomplish what I want with it. I'm making just some small cosmetic changes, and specifically I want to move the node Author Picture around on the page. So, I know that the node layout is in
themes/bootstrap/templates/node/node.html.twig
and I can see quite clearly in that file the layout:
Drupal 8. Editing content as source instead of content. I make a change then save the change. Next time I open the content as source, the content is changed. Is there any way to stop the editor overriding changes to source?
I Have installed version 8 and am using the default Bartik theme and have tweaked a few settings (header background color, logo, etc.) The site name under basic site settings is [my site name]. My issue is that when not logged in as admin (ie as an average visitor) the home page displays the default page that says "no front page content has been created yet". There is a title that precedes this that says "Welcome to [my site name]". I cannot find where this 'title' came from or how to edit it. Where did the 'Welcome to' come from and where can I change it?
In the past I did the easy but not official way of installing Druapl 8 using Softaculous. After that I started using Composer to download modules and the Drush command php drush.php en (machine_name) to enable them. All was fine and good up to 8.3.7.
Now I am creating a new site the "proper" way, installing the complete Drupal package (including Drush and Drupal console) from drupal-composer/drupal-project. install.php was run from the browser and the very basic 8.4 site was up and running.