"only files with following extensions allowed: jpg" etc, (csv)

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.

How to structure Drupal content for best Solr search integration

Hi.

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?

Drupal\Core\Database\DatabaseExceptionWrapper

Ran the upgrade from 8.5.1 to 8.53 on a site with SSL protection -- but no content -- seeming with success

However the following errors were indicated:

Google reviews drupal 8

Hi,

Do you know if there is any way to display Google reviews on my drupal website?

Many thanks

Can not log in after domain change

Hi,

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.

Any thoughts on how to correct this problem?

Thank you in advance.

How do I connect another database and display its data ?

Hello,

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 ?

Thank you :)

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x