Migration Estimator

Migration estimation from Drupal 6 or 7 to Drupal 8.

Sectors: 
Technology

How to change Drupal 8 default error routes?

The default routes are 

  • '/system/401'
  • '/system/403'
  • '/system/404'

But I would like to change these to something like

  • '/error/unauthorized'
  • '/error/forbidden'
  • '/error/page-not-found'

Using custom controller and twig. Please advise.

FormBuilder buildForm vs getForm

So FormBuilder has a buildForm and a getForm. Is the only real difference speed? On submit, i am looking to pre set the form with previously submit info. The get function takes the additional args param; however the build doesnt. So which should I use? Should I have a: if not submit? getForm; else? buildForm

Thanks

Relation Between 2 tables + 2 rows table cell

Hi everyone.

what i want to do is simple
i have two csv files and let's say they are for students and their phones for example

i want to auto generate a link between the two tables when i import them to the site..
in other words

let's say table 1 has
Students{id:A,age:1,phone_id:3}
Students{id:B,age:2,phone_id:1}
Students{id:C,age:3,phone_id:2}

and table 2 has (id here stands for the student id same as above)
phones{phone_id:1,model:***,id:B}
phones{phone_id:2,model:***,id:C}
phones{phone_id:3,model:***,id:A}

D8 - Change error message of Login and Reset Password form

Hi Team, 

I'm looking to change the default error message that comes with Login and reset password form. Is there any module available to do so, or do I need to write custom code for that? 

For eg:

Login Form:
Need to change - "Sorry, unrecognized username or password. Have you forgotten your password?"

Reset Form:
Need to change - "Sorry, abcd is not recognized as a user name or an e-mail address."

Thanks all for your support. 

How to insert javascript into a node in Drupal 5.5.5

I am having great problems inserting javascript into my Drupal 8 nodes. It does not display:

<!--
START OF VENDINI TAG
Copyright (C) 2018 Vendini, Inc.
     All Rights Reserved.

TROUBLESHOOTING: The HTML code below is one continuous line.  Line breaks in the code below may cause problems launching the order window.
-->

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x