Any module to convert/export Bulk Old HTML pages (Large number) into Drupal 8 ?

I'm working on a Project which is recently re-designed to Drupal 8 and previously it is in HTML. Presently they were converting old Html pages into Drupal just by creating the content again in Drupal and they redirect from the old HTML pages. But they were like more than 100k HTML pages to migrate into Drupal. So, Is there any way to import & migrate  the HTML pages into Drupal in Bulk. Any suggestions?

Thanks in Advance.

Displaying a node in different formats

Hi all,

Is there any way to display node content for a specific content-type in too different ways depending if consumed from intranet or internet?

Regards,

Mario

Trusted host settings not enabled

I developed this website in a local environment.

After that I've tested trusted_host_settings with my virtual machine IP address and it worked.

Now, after migration, I am trying to add the domain, like test.example.com, but it does not work.

Even if trusted_host_settings is enabled, the status report says it is not,
What can I do?
I'm on Drupal 8.7.4.

Screenshot: https://ibb.co/34hq5Mz

Linking to a custom form by clicking a button

Hi,

I am trying to link a form by clicking a button. I have created the button named "Fill" next to a field named "Images" on my content page.

How do I link a form to a button, so that the form page opens after clicking the button.

Thanks,

Fatal error while printing form

Hi,

I am trying to print the form and I am getting the error displayed as:

Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 67112960 bytes)

Please let me know where I am going wrong.

The following is my code:

<?php
/**
* Implementation of hook_form_alter
*/

function mymodule_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state,$form_id) {

Solved: Add Javascript to a form, which is build by ContentEntityForm

Dear Forum,

i want to add a javascript to form, which is build with ContentEntityForm and used for a custom entity.

I´ve added the javascript to the libraries.yml:

drupal-addlayer:
    version: VERSION
    js:
      js/addLayer.js: {}
    dependencies:
      - core/jquery
      - core/jquery.once
      - core/drupal

I´ve created the javascript:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x