How to get form tag in the form?

This is my twig file of a form where im adding some html, but im not getting that <form class="hpbx-popup-form> tag and this class is necessary as its mentioned in js , so due to this my Set button is not working.

<div id="timeslot-popup" class="hpbx-popup">

<div class="hpbx-popup-content">

<h4 class="hpbx-popup-title">Add a time slot</h4>

Translate tab missing on multilungual drupal 8 site

I successfulli installed a drupal theme that is named charity pro. It is a multilingual fund raising site.

But the translate tab is missing on all content pages.

Advice is very appreciated.

image size does not appear in Editor

Hello All

I installed Drupal 8.9.4 (this is what available by the Hosting company) but when I press the Image option

I get a window that does not contain "Image size" (that defines the image width and height).

I only get image selecting, Alternative text, Align and Caption options.

Any idea why is that?

How do I get the Image Size option?

Thanks.

How to call system/ajax in Drupal 8 ?

Hi Guys, 

I'm converting my D7 website to D8 and in D7 js file I'm calling a ajax request and url is: 

url:  Drupal.settings.basePath + Drupal.settings.pathPrefix +  'system/ajax'

And I have already converted this line as:

url:  drupalSettings.path.baseUrl + drupalSettings.path.pathPrefix + 'system/ajax'

But it is showing 404 not found on the console.

goalgorilla/open_social upgrade fails

Hello,

I'm trying to Upgrade my goalgorilla/open_social Version 10.3.8 to 11.0.0 by using the following command:

composer require 'goalgorilla/open_social:11.0.0' -W --dry-run

But always running into this error:

Why the Drupal Media Template Display Multiple Captions ?

I have a website built with Drupal 9. I have the Media module enabled.

I modified the media--remote-video--default.html.twig template so that the YouTube video is displayed as a link to the video on the YouTube platform.

I have a problem with the video caption, when it is inserted in Ckeditor. Every time I save the node, a caption is added under the video, it's very weird.

I don't have this problem if the Media is placed in a field.

What's wrong with my code ?

Here is my template :

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x