Download the PHP package howard/hu_general without Composer

On this page you can find all versions of the php package howard/hu_general. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hu_general

Howard University General Theme (hu_general)

A comprehensive Drupal theme built specifically for Howard University websites, providing a robust and customizable foundation for university departments, schools, and organizations.

Overview

The HU General theme is designed to maintain Howard University's brand identity while providing flexibility for different departments and schools. It includes extensive customization options, responsive design, and integration with various Drupal modules commonly used in university websites.

This theme is a child of the idfive Component Library D8 Theme, inheriting standard functionality while adding Howard University-specific features and customizations.

Features

Theme Variants

Header Configuration

Footer Customization

School/Department Branding

Administrative Features

Installation

Via Composer (Recommended)

Manual Installation

  1. Extract the theme to your Drupal themes directory: /themes/contrib/hu_general
  2. Enable the theme in the Drupal admin interface
  3. Configure theme settings at: Administration > Appearance > Settings > HU General

Updates

Configuration

Theme Settings

The theme provides extensive configuration options accessible through the Drupal admin interface at /admin/appearance/settings/hu_general:

Theme Variant Settings

Howard School/Department Settings

Howard Header Settings

Howard Footer Settings

Admin Settings

Template Files

The theme includes customized templates for:

Layout Templates

Content Templates

Navigation Templates

Field Templates

View Templates

PHP Functions

Theme Hooks

hu_general_preprocess_html(&$variables)

Preprocesses HTML template variables, adding theme variant and admin scripts settings.

hu_general_preprocess_page(&$variables)

Preprocesses page template variables, extending theme settings, configuring hero images, and setting up OpenID Connect integration.

hu_general_preprocess_node(&$variables)

Preprocesses node template variables, making theme path available to node templates.

hu_general_preprocess_file_link(&$variables)

Customizes file link display, using media names when available and generating absolute URLs.

hu_general_theme_suggestions_page_alter(&$suggestions, $variables, $hook)

Adds custom page template suggestions, particularly for 404 error pages.

Helper Functions

_hu_general_extend_theme_variables(&$variables)

Extends template variables with all theme settings and handles proper caching dependencies.

Dependencies

Required Modules

Optional Modules

Component Library

The theme includes the idfive-component-library for consistent styling and components:

Development Workflow

From the idfive-component-library directory:

  1. Setup Environment:

  2. Development Preview:

  3. Production Build:

Customization

Adding Custom Styles

  1. Modify files in /idfive-component-library/src/
  2. Run the build process to compile assets
  3. Custom styles are automatically loaded

Creating Custom Templates

  1. Copy template files to your theme directory
  2. Modify as needed
  3. Clear Drupal cache

Extending Theme Settings

  1. Modify theme-settings.php to add new form elements
  2. Update hu_general.theme to handle new settings
  3. Create corresponding template variables

File Structure

Best Practices

Custom Child Themes

It is HIGHLY recommended that custom child themes not be made for Howard sites unless absolutely necessary. When creating a custom child theme, only override what is absolutely necessary in order to keep standard functionality across sites.

Theme Customization

Support

For support and questions about the HU General theme:

Contributing

When contributing to the theme:

  1. Follow Drupal coding standards
  2. Document all functions and significant code blocks
  3. Test across different browsers and devices
  4. Update documentation as needed

Documentation

Resources

License

See LICENSE file for licensing information.


All versions of hu_general with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package howard/hu_general contains the following files

Loading the files please wait ....