githubEdit

Frequently Asked Questions (FAQs)

Common questions and answers about Varbase 11.0.x.


What is the difference between Varbase 10.x and 11.x?

The most significant difference is the shift from a module-based architecture to a recipe-based architecture.

In Varbase 10.x, functionality was provided through custom Varbase modules (such as varbase_core, varbase_media, varbase_editor) that were installed via a Drupal installation profile. In Varbase 11.x, these modules have been replaced by Drupal recipes (such as varbase_content_base, varbase_media_base, varbase_editor_base) that are applied to a standard Drupal site.

Other key differences include:

  • Drupal version: Varbase 10.x is built on Drupal 10; Varbase 11.x is built on Drupal 11.

  • PHP requirement: Varbase 11.x requires PHP 8.3 or later.

  • Email handling: Varbase Email module has been replaced by Easy Email recipes.

  • Workflow automation: ECA (Event-Condition-Action) is now used for workflow automation.

  • Theme system: Vartheme BS5 now uses Single Directory Components (SDC) and CVA.


How do I apply a single Varbase recipe?

You can apply any individual Varbase recipe using Drush:

  1. First, require the recipe via Composer:

composer require drupal/recipe_name
  1. Then apply it with Drush:

For example, to apply only the Varbase Media Base recipe:


Can I use Varbase recipes without the full distribution?

Yes. Varbase 11.x recipes are designed to be composable and can be applied individually to any Drupal 11 site. You do not need to use the full Varbase Starter recipe or the Varbase project template.

For example, if you only need Varbase's media handling, you can apply just the varbase_media_base recipe to your existing Drupal site. The recipe will install the necessary modules and apply the appropriate configuration.

Each recipe declares its own dependencies, so applying a recipe will automatically apply any prerequisite recipes as well.


How do I update from Varbase 10.x to 11.x?

There is currently no supported update or upgrade path from Varbase 10.x to Varbase 11.x. The shift from a module-based architecture to a recipe-based architecture is too fundamental to support an in-place migration.

The recommended approach is to start a new Varbase 11.x site and migrate your content using Drupal's Migrate API or other content migration tools.

For more details, see the Updating from Varbase 10.x to 11.x page.


Where do I report bugs?

Bugs and issues for Varbase should be reported on the Drupal.org issue queue:

When reporting a bug, please include:

  • The Varbase version and Drupal version you are using.

  • Steps to reproduce the issue.

  • Expected behavior versus actual behavior.

  • Any error messages from the Drupal log (Reports > Recent log messages).

  • Your PHP version and hosting environment details.


How do I install Varbase?

The recommended way to install Varbase 11.x is using DDEV:

The Varbase Installer handles Drupal installation and recipe application automatically.

For detailed installation instructions, see the Installing Varbase section.


What PHP version does Varbase 11.x require?

Varbase 11.x requires PHP 8.4 or later. This is a requirement inherited from Drupal 11.


Can I use a different front-end theme?

Yes. While Vartheme BS5 is the default front-end theme, you can use any Drupal-compatible theme. You can:

  • Create a sub-theme of Vartheme BS5 to customize it (recommended for most projects).

  • Install a completely different contributed theme.

  • Create a custom theme from scratch.

See the Theme Development with Varbase section for more details.


How do I customize emails sent from the site?

Varbase 11.x uses Easy Email for email management. You can customize email templates through the admin interface:

  1. Navigate to Structure > Easy Email > Email Templates.

  2. Edit the template you want to customize.

  3. Modify the subject, body, and other fields.

  4. Save the template.

For SMTP configuration, see Configure Easy Email.


How do I add a new content type?

You can add content types through the Drupal admin interface:

  1. Navigate to Structure > Content types.

  2. Click Add content type.

  3. Configure the content type settings and fields.

  4. Save.

For a reusable approach, consider creating a custom recipe that defines the content type. See Creating Your Own Recipe.

Last updated