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.
In my custom module I want to alter views query and inject a beween section, here in my expected sql
SELECT poll_field_data.langcode AS poll_field_data_langcode, poll_field_data.id AS id, poll_field_data.question AS poll_field_dataquestion
FROM
poll_field_data
WHERE poll_field_data.status = '1' AND poll_field_data.created BETWEEN 1527811200 AND 1528588800
ORDER BY poll_field_data.question ASC NULLS FIRST
LIMIT 50 OFFSET 0
Dates I am pulling in min and max vars like this way. Please someone help me to achieve that, thanks in advance,
i try to develop an email form for Drupal8 with HTML Message text, but I need SMTP support. The first version with plain text (#type' => 'textarea') and SMTP Authenticator was working.
For HTML Emails i found some tips with phpmailer or swiftmailer with mime mailer and mailsystem and changed $form['message'] = [
to '#type' => 'text_format'.It's sending emails, but i got only mails with the text: "Mail altered by email_example module"
How can i send HTML Emails with CKEditor in Drupal 8 over SMTP ?
Please give me detailed steps to do so. I am a beginner and want to implement it in my website. I am using group module and want to show all the content of all the group a user is part of on view
I'm trying to install Drupal version 8.5.3, but after having launch the web console admin and insert the IP address, schema name username and password for the DB creation, it is not possible to continue the installation due the following error message:
i am working with Drupal 8 for one year now. No i have an local installation based on drupal 8.5.4 (with various themes) and all is running.
But i have a great problem with inserting images in the ckeditor and can not find a solution.
When creating pages, I would like to insert images in the flow text, so-called inline images. For inserting these images I need the information for "hspace", "vspace" and "align". The radio buttons for the attribute "align" is visible and is ok.