This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

How to export content type from Drupal 7 to Drupal 8

Hi friends

i'm building a new site on drupal 8, but now all my content type is on drupal 7, 

so the question is, how can i export all my content type and its content from drupal 7 and import on drupal 8?

i was thinkig to creare a xml file and read that file and save my content, but i dont know if there is another way to do that.

Could you please help me?

Regards

When adding custom twig template to form it gives error

When I add custom twig template for my custom form it gives following error

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName()

My form buildForm is like this

Drupal 7 - Click button and then set form field value and redisplay form

This is not working for some reason. The form is redisplayed but the textarea field remains empty. Why?

How do I fix this error about the Node class not found?

I've installed Drupal 8, I've created a PHP file to read a XML file and insert some items, but I'm getting this error.

Fatal error: Uncaught Error: Class 'Drupal\node\Entity\Node' not found in C:\xampp\htdocs\drupal8\migracion.php:12 Stack trace: #0 {main} thrown in C:\xampp\htdocs\drupal8\migracion.php on line 12

This is the code I am using.

Delete nodes if date(custom field) is pasted

Hi everyone, 

I have a content type "sale" with a field "date", and I would like to delete node automaticaly when date is more thant 7days after now.

Rules en Drupal 8, is a nightmare for me ! I tryed to make a custom module but it's not a success...

Do you have a solution for me ?

Thank you so much for your help !

Want to create a custom text block that is based on twig.

Just like how the views uses little twig based input field, I want to do the same for my mail message body.

I've copied the form code over from the core->view module, but I am not sure how to set a set of fields to be available to use.

I also tried to use the {{ druapl_field('field_name','node' node_id) }} but this doesn't seem to be working.

Is there a way to set which fields will be available as a replacement pattern or make the function above to work?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions