Skip to main content

Hey!

We craft the Web with Open Source.

  • Data Highway

    GlueBox.com LLC is a Philadelphia-based technology studio passionate about delivering cost-effective, open-source solutions. Specializing in Content Management Systems (CMS) and related web tools, we leverage Drupal on Linux to craft scalable, secure, and flexible solutions.

Gluebox Node, Cubic setup notes

apt install nginx php php-fpm php-mysql php-gd php-xml php-mbstring php-curl php-zip php-cli php-xmlrpc mysql-server unzip curl git composer ufw -y


Configure PHP-FPM : Ensure correct socket (e.g. /run/php/php8.1-fpm.sock)
Edit /etc/php/8.1/fpm/php.ini:
memory_limit = 512M
upload_max_filesize = 100M
post_max_size = 100M
date.timezone = UTC



#!/bin/bash
echo "[Gluebox Node] First boot script starting..."

# Enable services to start at boot
systemctl enable nginx
systemctl enable mysql
systemctl enable php8.3-fpm

Explore the Full Article

Flysystem SFTP ( Notes on Remote File Storage for Drupal CMS)

https://www.drupal.org/project/flysystem_sftp

Provides an SFTP plugin for Flysystem.  Useful when setting up a custom Media type that can be stored on a remote system. (Remote Linux).
Explore the Full Article

gtm_gluebox_ drupal_ workspace .json

GTM / Google Tag Manager & Ghost Traffic Mitigation Strategies

 

Explore the Full Article

Network Security at Gluebox: Why We Use ipset

Network Security at Gluebox: Why We Use ipset

At Gluebox.com, we believe in simple, powerful tools that do one job well; just like us. That’s why we use ipset as part of our Linux-based firewall strategy.

Explore the Full Article

ECA Workflow - Detect Campus Network or VPN

An Events-Conditions-Actions (ECA) workflow in Drupal that detects whether a visitor is coming from the campus/VPN network and displays an appropriate notice on the “/dashboard” page.

Campus VPN Check Workflow

Explore the Full Article

Baking Cakes with AI

This is a little story about using AI to bake cakes for picnics in the park.
 

Explore the Full Article

Smart Date Notes

From the debug output, we can see that field_shift_date is using the Smart Date module (i.e., it’s a SmartDateFieldItemList). That means its underlying data structure differs slightly from Drupal’s built-in datetime fields. Explore the Full Article

Taxonomy Layout for Communities and their Resources

Community Type Taxonomy, sets the first position in URL patterns.
Community Taxonomy, sets the second position of URL patterns.

The "Community Type" taxonomy is a high level taxonomy that helps set the site structures. It is used to define the top-level sections of a site.  End-users do not interact with this taxonomy, it is used by programmatic functions for filtering, sorting and access control. 
Explore the Full Article

ECA Workflow - Set Default Field Value (Calendar Helper Workflow)

Notes on how to help set a default field value for a new request form, based on the taxonomy of the calendar that opened the content creation form.  This is a simple helper that is not protected in our example. The field could be enforced by simply hiding its display on the form.
 

Explore the Full Article