D6=>D7=>D8 or D6=>D8

I have some Drupal 6 sites which I need to move to Drupal 8 in the hope of getting them functional again.  Can I migrate them directly to Drupal 8 or do I need to do a two step migration through Drupal 7 as an intermediary?

scheduler not always publishing but it does show as successful on logs

On drupal 8
Scheduler not always publishing content pages but it does show as successful on report logs and messages.

I would like to know what could be the issue and where can I find the scheduler module code to try debugging, I could not find the under vendor or project at all.

If you need any more info let me know which and I'll provide since I don't know much about how scheduler cron works

This is the code for extending the core schedule functionality, it runs after the publish is done. 

The Render array for image in a string

HI

I want to use phpqrcode generate a qr code on my page.

My code for generate QR code is something like below:

ob_start();
QRcode::png($text,$false,$levle,$size,$margin,true);
$image = ob_get_contents();
ob_end_clean();

As You can see, I don't want to generate a QRcode file in my server.

And the browser shows a QR code on my page. Only a qr code.

My question is how can i use drupal render array to render this image?

Is it possible using image_style to render the image? How can i get the uri of the image? 

Thanks!

Database data retrive with AJAX

Hello to everyone.

This is my first post on the site so thank you for any help. I am still novice when it comes to Drupal but i try to learn as i am currently in the process of writing new Library site.

My problem:

I am currently working on creating a form(i think it should be form) that is supposed to connect to our Database and retrive all resources. I did it in the buildForm funcion and in result I get the list of all resources. 

Media Library / Images / Responsive images - driving me crazy

I'm still struggling with getting my media library items to display in a decent viewable manner and things are not behaving as expected. 

For example, I just put a media image in a block and told it to be centered, it shows as centered on the block edit display but when I place the block it is now left-justified.

This seem like vodoo magic to me so I hope to describe what I have done and hopefully someone can point out my mistake...

Anyone who integration Onepatch with Drupal 8

I am using Wordpress Commerce. Need to integrate inventory system in Drupal 8. We have proposed to use https://onepatch.com/

Anyone having integrations with this? Or better inventory management software that supports wordpress.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x