Impossible to save changes when Preview is required

It is impossible to save changes to a custom content type that I have made. I have set the Preview before submitting to Required.

It is possible to make new content of this custom type, but every time I try to edit this content, the content is not saved. After pressing Preview and then the Back to editing and then Save, the article is not saved. The content is still editing mode.

When I go to Reports - Recent log messages, I find no relevant error messages.

This must be a bug, right?

How can i change vertical menu to horizontal

Hello,

In drupal 7 the admin menu is horizontal. In drupal 8 the menu is vertical and takes large part of the page.

How can i change admin menu as drupal 7?

Drupal 8 Dynamic Content and Routing

I have been debating on switching to Drupal 8. I currently have developed many modules for my customers on Drupal 7 which dynamically build menus and pages based on database data.

My question is how can this be done in Drupal 8? Currently routes and links are added in the .yaml files.

Conversion of Shared Email module to Drupal *

I have converted the Shared Email module for Drupal 8. This is my first time working on a module that I would like to submit back to the community. Could someone help me with what I need to do to release the code to the community?

Thanks

Overriding default search view

I am trying to style and adapt drupal's default search module (not search-api) .

When searching for nodes (/search/node) this modules renders in this order :

  • A search form
  • an < h2 >
  • The list of results

I would like to change this to :

  • an < h1 > with another tag
  • The form
  • Some more tags with number of results, initial search terms, ...
  • the list of results

But i don't understand how to change the orders of those elements.

In hook_form_alter i have submit callback function but not working. how to work it??

In my ti.module i have hook_form_alter and i included submit callback function but not working. validate callback function works well. how to work submit callback function??

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x