When I unflag the content, I have an error

When I flag the content it works.
When I unflag the content, I have an error. I click on the unflag button and it retrieves the same confirmation page. If I click on it again I get a blank page with an error.
Only the unflag with confirmation "Field Entry Form" poses the problem.
The ajax flag works perfectly.

How can I correct this very annoying problem ?

How to get Recurring Events module to work with Calendar module

How do I get the list of available tokens for the event series (or inherited event instances)? The Calendar module doesn't work as I intended with the Event dates (date ranges) in these recurring Events Series or Event Instances field widgets. However, the core Date Range field seems to work with the Calendar module.

Basically, I'd like to copy the date field in the event series widgets into a regular date range field so that it will play nicely with the Calendar module. I just need to access the tokens., if available.

Any help would be appreciated.

Thanks

Get defaul value of entity reference field

Dear All, 

I have entity bundle: "trainings" and dropdown field is training_type. How can i get the defaule values of this field.

i can get the selected value code but i need to get all default values in order to show the label.

Thanking you in advance.

Howto show an asterisk next to a field of a Webform that is mandatory?

Howto show an asterisk next to a field of a Webform that is mandatory?

How to display an icon when the start date is greater than the current date ?

I have a date field in my views, I want to display the fas fa-stopwatch icon when the start date is greater than the current date.

How to do this ?

{% if date(field_pop_up_product_date_1__value) < date('now') %}
  <i class="fas fa-stopwatch"></i>
{% else %}
  <i class="fas fa-calendar-alt"></i>
{% endif %}
Visible du :<br>
{{ field_pop_up_product_date }}

My code does not work, look at the dates :

How to display only messages created after the creation date of the current user's account ?

I have created a Message view. Message module for Drupal 8 :

https://www.drupal.org/project/message

I want to display only messages created after the creation date of the current user's account.

I looked in the filters of my sight, but I couldn't find anything.

How can I do this ?

https://i.stack.imgur.com/EBngf.png

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x