Download the PHP package terminal42/contao-rootcontent without Composer

On this page you can find all versions of the php package terminal42/contao-rootcontent. 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 contao-rootcontent

Root content extension for Contao Open Source CMS

The extension allows creating root-page aware content in Contao.

Installation

Choose the installation method that matches your workflow!

Installation via Contao Manager

Search for terminal42/contao-rootcontent in the Contao Manager and add it to your installation. Apply changes to update the packages.

Manual installation

Add a composer dependency for this bundle. Therefore, change in the project root and run the following:

Depending on your environment, the command can differ, i.e. starting with php composer.phar … if you do not have composer installed globally.

Then, update the database via the contao:migrate command or the Contao install tool.

Usage

There are multiple features to create root-page aware content.

Create articles in the root page

The extension allows to create articles in the root page. Here's how it works:

  1. Edit your theme and add custom content sections. Each theme can have multiple sections with root content.
  2. Add an article to a root page. Contrary to regular articles, you cannot enter a name but select one of the sections from your theme.
  3. Create a root-content module in your theme and select the section you want to output.
  4. Place the new module anywhere in your page layout.

Limit front end modules per root page

For each front end module, there is a new setting to limit it for one or multiple root pages. This way you can create language-aware modules. Simply place all of them in your page layout and only the respective ones will be rendered one at a time.

<body> css class per root page

Add css classes to the root page and they will be inherited through all pages.


All versions of contao-rootcontent with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
contao/core-bundle Version ^4.13 || ^5.0
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 terminal42/contao-rootcontent contains the following files

Loading the files please wait ....