How to use between in views alter query

 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,

Ubercart UC- Removing 0-stock products from views

Good morning. I'm having a heck of a time figuring out something that I would  have originally thought would be default settings!

Question: How do I reference a SKU/product stock value to use as a filter in views?

i don't get html Email Form working

Hi,

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 ?

Make a view which displays the content of the group a logged in user is part of

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

Installing Drupal v. 8.5.3 - timezone error

Hello,

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:

ckeditor inline-image problem

Hello @All,

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.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x