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
Good morning:
I am using Drupal Commerce and everything is perfect but I would like to add a button to empty the shopping cart if you have any way to do it, I would appreciate it
I am using Drupal 7 and I want to add a new page with a custom section on top. This custom section consists of some information that we are getting through some rest API.
I want this custom section on top and client can add html content and sections below that section from the Drupal backend.
I tried creating a custom page--custompage.tpl.php and added that section. That page worked fine but unfortunately, it wasn't editable from the Drupal dashboard and we could not add sections before it so it was of no use.