Is it possible to have embed .SWF files in drupal 8?

Hello everyone!

TLDR: I want to play SWF files on my website built on Drupal 8, but everywhere I looked I could not...

I am trying to make a website that allow users to post and play to flash games, so the heart of my website is the .SWF file support,

I successfully imported my first .SWF file. But it shows as a file that people can download, not a file they can play on the website.

Without knowing too many things about this, I looked for "Flash embed" for Drupal 8:

The website encountered an unexpected error.

Getting a "The website encountered an unexpected error. Please try again later." message after submit a contact form.
When I look at the Reports > Recent log message, I have got this message :

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "smtp.logger.channel". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /var/www/mywebsite/core/lib/Drupal/Component/DependencyInjection/Container.php).

Drustack distro installation

Hi All, I'm new with Drupal, want to install drustack distro, but don't know how. Should I firstly install Drupal core and then copy drustack files to the core of web-site replacing some files like composer.json? Thanks for attention.

disable links on the first Multistep form

Hi,

I would like to disable links on the first Multistep form under certain conditions.
I had the idea to do this with javascript, but that's not very clean.
is there any methods to do it automatically ??
is anybody can help me?

Thanks a lot !!

Get Image URI on New Node

I'm trying to get the image uri of a piece of content as soon as it is saved. I'm using hook_ENTITY_TYPE_insert().

However, since it hasn't been fully processed yet, I can't get the eventual image uri. I get the temporary location of the file in the filefield_paths directory. Not it's final destination.

So my question is, can i get this uri from an insert function? There's no post save, so I'm not sure the best way to go about this.

Display Data From Datasource

I am very new to module development, I have a "hosted" drupal 8 site that I am allowed to give them modules to install and they verified that the proper php components were installed for sqlsvr (sql server communication). I have an external SQL Server that I would like to display data within a module. I am including the database connection in the module because they will not let me change the settings.php for the site.

How do I display the data from the database on a page/block/whatever in the site and is this code even correct?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x