How to convert Drupal 7 sessions to Drupal 8 ?

Hi Guys, 

I'm converting my Drupal 7 site to Drupal 8 and in Drupal 7 I'm using sessions like this:

$_SESSION['ccs']['hpbx']['voicemails']['subscriber_id']

How can I do this in Drupal 8 ?

Please help. 

Thanks in advance. 

White screen of death after full archive config export

full archive config export in configuration synchronization is causing white screen of death.

This is a duplicate to this: https://www.drupal.org/project/drupal/issues/2986380

but none of the solutions worked for me. Anybody else get this problem too? Any other insights? I’m on drupal 8.9.20

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.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x