How can I see (debug) what value is being passed to a view?

I recently upgraded my drupal 8 site from 8.9.3 to 8.9.6. While testing, before moving to production, I noticed I'm getting the following error on my Calendar page if there is an event that spans multiple days.

"Warning: count(): Parameter must be an array or an object that implements Countable in Drupal\\calendar\\Plugin\\views\\style\\Calendar->calendarBuildWeekDay() (line 1258 of modules/contrib/calendar/src/Plugin/views/style/Calendar.php".

I had read where the issue might be related to PHP 7.2 so I've upgraded my PHP to 7.3, but I still get the same error.

write html in drupal

Hello,

I have an html page that I wrote and I would like to use it.  I have have inserted the html with tags and everything into a new content page.  I changed the drop down of the text format to full html.  When I save it and preview it.  I get the html with tags being displayed not the interpreted html.

What am I missing?

How can I write raw html and php on the Drupal content page?

thanks,

Passing active "Link to content" link in Views Entity Reference field configured as check boxes/radio buttons

Hi,

I am wondering if there is a Views configuration (or contrib module?) I am missing to allow the active link "Link to content" to be displayed on the Node Add/Edit Form when using a Views Entity Reference field with Check boxes/Radio buttons selected on the Form Display.  Use case is to generate a basic list of checklist items/tasks but allow the user the option to select the "Link to content" link to view more detailed information on the checklist item/task to before deciding to select that item.  So the ER field on the Node Add/Edit form would look something like:

The libraries of my customized theme cannot be loaded - Drupal 8

I'm trying to translate my Drupal 7 theme to a Drupal 8 theme.

I followed the instructions to add my CSS and Javascript files by creating the *.libraries.yml.

This is my babol_dp8.libraries.yml file:

Optimize Images on Drupal 8!?

Hi,

We have a image-heavy Drupal 8 website. And the images take to much space atm.

I've tried ImagesOptimizer but it doesn't seem to do the job.

Goal:

  1. Take all existing images, compress them, and then save them with the same file name and directory so that the image URLs are not broken.
  2. On upload of an image, optimize it so we don't have to repeat step #1

Can anyone help/advise?

I cannot add the alt field and the title field for an image to Fields in Views

I have used this functions for years in Drupal 7 but now I cannot add the alt field and the title field for an image to FIELDS in Views.

But the fields are there if I try to use them in FILTER CRITERIA.   

-------------------------------------------------------------------------------------------------------------------

Add fields

Search

alt

Category- All -

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x