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 create a block or region with a view (not menu/navigation) that I can move off the screen to the left. I believe this is whats called off canvas and should be done with push and pull? Could anyone point me in the right direction on how to do this ? All I can find is tutorials on how to do it with a navigation menu but that is not what I am trying to do. I am using the boostrap theme.
I am struggling to import data from Department(CSV Candidate file).
The problem is I have to import these CSV files:
First Row = ClientName: Facebook
Second Row = Name | Age | Location -> Header
Third Row = Mark | 33 | America -> Data records
Fourth Row = Sheryl | 38 | America -> Data records
A table with the CSV filename has to be created and then the records inserted.
I'm trying to install the Currency module, but I've found that some of the PHP libraries that it depends on no longer exist. I've added the dependencies that it needs through composer (found here at Packagist). I've looked at the GitHub path where the library (drupal/plugin) should be, but that repository leads to a 404 error.
I created a module called TS Events. TS Events creates a custom block type called TS Events. The custom block contains the appropriate fields associated with the block. My goal is to create a custom template for the TS Events block type which will override the default block modules block.html.twig.
I have made some progress so far by using hook_theme and hook_theme_suggestions_block_alter. The new template is being used however, none of the variables from block.html.twig appear to be passed into the new template block--ts-events.html.twig
Can't wait for Advanced Forum in D8 anymore so trying to change the look of forums directly. Hoping to just use custom templates instead of creating my own module...