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 am trying to place a block on my custom page. The code in my Controller is placing the blocks in the 'content' region. How can I make the blocks appear side by side?
I have pasted the code, but it does not seem to work. Actually I want to show the two blocks side by side. Please let me know
<?php
namespace Drupal\heritage_ui\Controller;
use Drupal\Core\Controller\ControllerBase;
use Drupal\node\Entity\Node;
I use this functionality thanks to which recipient email can click on a link to modify his submission. At the end of the form, I find only a save button without any submit one. Someone can tell me how to define a submit button in this specific case?
Functionality :
Allow users to update a submission using a secure token
I'm new to progamming and working with Drupal. So I was interested in making a site with an audio recorder that sends the recorded files to a API and get the results back. I found out that H5P Offers a Audio Recorder and I would like to leanr/understand:
How can I add an extra Button?
In wich file can I do it?
If someone could help me with that, I would appreciate it a lot.
So the plan is to display all nodes of a certain content type below the page regions as a normal basic site.
Template for this content type nodes have been created however this node template is displayed within the content region which is third of width of a screen (as per page.html.twig).
Probably it is something to do with higher level templates namely page.html.twig which wraps the template however I only want this type of content not limited by width of a content region when viewing this particular node.
In drupal 8, I plan to create a custom module that will expose an API. This API will drop a cookie on the browser to recognize the application user. Would there be any issues with caching in this solution?