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've created a custom module to implement multi factor authentication(MFA). I have a "settings" page. It's implemented with mfa.links.menu.yml, mfa.routing.yml, and MFASettingsForm.php files in the standard way. I have another module that has a settings form also implemented the same way that works fine. When I save the settings form I get an unstyled page containing just the text "Contact Support" and the data is not saved. The Apache access log records a 200 for the favicon.ico and thats it. Nothing is written to the Apache error log.
The hamburger button is located in the navigation bar and controls the drop-down menu. When clicked, the menu drops down and the hamburger button turns into an X
When you select a menu item, the desired page loads and the X button turns into a hamburger again. But if you click on the page or the navigation bar, the menu disappears, and the button does not rebuild and remains in the X. How can I fix this?
I have a bootstrap5 template for Drupal 11. In the button of the navigation bar I placed:
I have two php scripts within a CRUD module. The code to edit a custom table works with a url example.com/students100/edit/?id=1, correctly retrieving the database record and placing it in the edit form. This code runs from the edit_student routing entry below: