My previous module allows my customer to upload her CSV file to populate data in my non-Drupal tables. I used the '#type' => 'file' and used the validateForm to ensure it was the right data.
I'm not getting anything in the $files variable, nor $form_state->getValue('csv') and when I release the breakpoint Drupal returns the error above in my subject line.
We're about to start buliding an intranet site based on Drupal, likely using Drupal 8, and are now in the planning phase.
As search will be a very important part of the new site, I need to plan for this from day one. With this in mind, I'm thinking a good data model is very important, so I'll spend time planning out the data model (content types, fields, taxonomy, and so forth), so that we'll have a good amount of structured data in the database.
Which other things do I need to keep in mind when designing my content for being searchable?
I can not log in to my drupal 8 site since we moved the site to the main domain for publication. I can see that my login is validated, since a wrong password still gives me the "incorrect password" message, but after a correct login I just get loaded to my user profile page. No admin functions are accessible. When I try to reach them by way of the URL I get the message that I do not have permission. So I'm gussing I'm not logged in after all.
I am very new to drupal and would like to connect another database (on my localhost server) to display its data on tables.
The external database comes from an existing website that only does queries from it, and I would like to "transfer" this website in my drupal one (like have a single page that does the same as the existing website).
I have the existing website's complete files with all the queries.
I'm guessing I have to develop a module and manipulate hooks ? Any tips ?