I'm on D8 and have a site page set as the front page. Set /node/4747 as the default in site settings. When looking at some of the link rel attributes listed after the meta tags the actual node url is displayed <link rel="alternate" hreflang="en" href="http://local.example.com/node/8454" /> and haven't been able to figure out a way to have it display http://local.example.com/ instead of the actual node url. Is it possible to change or overwrite this?
I have annoying issue with an application form, using Drupal 8.5 contact form. The file (PDF) uploaded to the form, is marked as TEMPORARY, so it disappears after a while. In admin/config/media/file-system I had set "Delete temporary files after": "Never"., but it doesn't work.
Hi, I am using the captcha module on a form in Drupal 8 and I noticed that if I verify I am human, close the chrome tab and relaunch the contact form page, I no loner am required to interact with the captcha module its like its cached or something? Where at in the module code, can I force it to invalidate over and over so a user is ALWAYs required to use the captcha module.
I have my own custom module on Drupal 7 and I would need to take some code from *.module and organize it to the separate files.
But can not find tutorial or reference, what sugest it.
For example:
files[] = my_file.inc
in *.info does not run (if there are hooks in this referenced file).
I could include intended files with php's "include" command, but as I watched on some contrib modules, it is not used, so probably not needed - and so I suppose, nor is it right coding way...