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 a number of custom modules, fairly simple stuff, no module settings, just code to support a few things on templates.
In our current workflow, whenever we make changes to the Drupal system we will run a `drupal ce` and commit the yml to our repo so other devs can import the config change.
Currently, as far as I can see, this doesnt touch the custom modules I have added and assume Migration API support has to be coded into each module for it to be able to be included.
I have a custom module that creates a block. This block is a chat that interacts with an external service through an API.
When the user sends a message through the chat, jQuery takes the message and sends it using $.ajax() to submit.php which then does all the handling to get the response from the API and returns in back to jQuery to be displayed to the user.
Now all of this is in theory, since I haven't been able to find a way to get the correct path to that submit.php file.
I need a way to create thumbnails with a fixed height, but a variable width. I don't want the image cropped, but resized, maintaining its height/width ratio. Currently it does not seem possible, I have searched around but only found something old pertaining to Drupal 7.
Anyone knows whether there is some kind of module, or a code hack to accomplish this?
Shouldn't be to difficult to accomplish this programatically, in fact, it is curious that it is not possible.
I migrated drupal 8 from my older server to a new server.
I installed drupal 8 on the new server, copied over addon modules, themes, files. then copied over the database.
Then when I loaded the website the home page didn't load correctly just a few lines of textI then refreshed the page and it worked normal. Clicked on one of the links on the front page which should lead to a node and all I am shown is