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 have created two files bartikssen.info.yml + bartikssen.libraries.yml
Does anyone know how to create a custom php page-template in drupal 9.2 in order to edit this page directly from my client editor (atom) and not from drupal editor?
Or how to edit content basic page directly from my client editor and not from drupal editor?
want to redirect new content submission to admin/content instead going to node/id, since i use different templates for each content type and loading node/id will render like broken template, so to prevent it, decided redirect all contents to main content list page and tried function mytheme_form_alter(&$form, FormStateInterface $form_state, $form_id) {} but it returns below error:
I am using Drupal 8.x and I wanted to use javascript to delete an option from the list of options within specific pages, i.e., content type, using a pattern of their machine names, i.e., proxy_request, in case the user is not an administrator and I searched and found this code inside a post and I used it inside the project's themes->mythemename->mythemename.theme file, but that didn't work and I have several problems I want to know how to solve, as I searched a lot I did not find a solution
I wanted to use javascript to delete an option from the list of options in case the user is not an administrator and I searched and found this code inside a post and I used it inside the project's themes->mythemename->mythemename.theme file, but that didn't work and I have several problems I want to know how to solve, as I searched a lot I did not find a solution
I'm doing a test on Bootstrap Barrio, but it can apply to all bootstrap/standard subthemes
I've created a custom Barrio subtheme, let's call it 'orange', and I've created a twig file that allows to display the copyright info without install a module.
The twig code: