Insert JS code

We have just built a Drupal 8 site and we need to insert a line of JS in the head tags of the site and another line of script in the body, probably in a block in either the footer or bottom. Both of these lines of script point to a JS file and image that are external to the site.

What's the best way of doing this? Is there a module I should use or a particular file I can edit?

Displaying content teasers in a view with thumbnails

Hi there

I do need some little help with a view that displays content from 2, 3 different content types including galleries created by a content type using Juicebox gallery image module and "videos" with content from "remote sources" such as Youtube. Currently, the view only has a list of content from both content types showing only a title + short text from the equally short content from the body field.

.htaccess: Not the preferred way to go

As apache.org says:

In general, you should only use .htaccess files when you don't have access to the main server configuration file.

https://httpd.apache.org/docs/2.4/howto/htaccess.html

Using the <directory> directive I moved the content of .htaccess to the respective .httpd.conf file for the webspace, as this file will be included by apache. So far, so good -- everything works as expected. 

Nodejs integration does not work

Hello!
I need to install the nodejs module for the chatroom module. Node.js is installed on the server, drupal-nodejs is installed according to the instructions: https://github.com/beejeebus/drupal-nodejs, the config is below:

Inventory webapp / database?

After learning about Entity Reference, I've been thinking that maybe I can use Drupal to build a replacement to the old-and-crufty inventory webapp that I wrote for work over 15 years ago.  This could give us a lot of advantages, like Active Directory integration, role based permissions, and being able to add images to model descriptions or damage reports.

Am I completely insane?  Is this even plausible?

Visualizing Data from MySQL

I am working to visualize the data with tables, charts, and graphs on our site. The problem I'm facing is that I have 5 databases with lots of raw data. To create these visualizations I will need to organize the raw data. Sometimes I'll need to pull pieces of data from different databases and combine them data into one table or graph. To create the visualizations I'll also need to filter the raw data by date, location, etc.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x