I have a form for a single dropdown select that uses a callback on change to update some elements on the page and make a few calls to an API, to update values in the API. Here's the code:
I'm dipping my toes into the Drupal 8 waters. I have a Drupal 7 site which I'm going to upgrade to Drupal 8 and complete overhaul the design (building from scratch). In testing the 7 -> 8 migration, I'm finding it's bringing over a lot of cruft that isn't easy to strip out. All I need from the old site is the book content. Is there any way to bring just that over?
I have recently developed a website for my local council, and am having some trouble getting Google's online translate feature to work on a specific portion of it.
The website currently uses Bing translate successfully, but the business have asked to move to Google translate as my local area has a large population of people who speak languages not supported by Bing Translate.
I'm using Backup and Migrate module Version: 8.x-4.1
I have a private files directory outside web root I backup up private and public files with a view to using the backups as part of the migration from one site host to another
Drupal 8 doesn't support sessions for anonymous user.
I have two forms, and I am passing one form data to another form using session (i know about multi-step form, but I don't use it here because i need to keep both form code in separate module so could upgrade them later differently as required in different applications).
For logged in user it work perfectly fine, however for anonymous user data gets mixed when two anonymous user submit the form simultaneously. I think session data is either getting cached or being wrongly referenced in class.