Download the PHP package pdir/contao-sticky-footer without Composer

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

Contao Sticky Footer

Sticky footer for the Contao back end with pure CSS and no JavaScript. The save buttons of every edit form stay visible at the bottom of the screen, so you no longer have to scroll down long forms to save.

Deutsche Version

Features

Requirements

Use version 1.1 for Contao 4.13.

Installation

Install via Contao Manager (search for pdir/contao-sticky-footer) or Composer:

That's it. The stylesheet is loaded automatically in the back end; there is nothing to configure.

Usage

  1. Log in to the Contao back end.
  2. Open any record for editing, e.g. a page, an article or a content element.
  3. The buttons "Save", "Save and close" etc. are now always visible at the bottom of the window, no matter how long the form is.

Debug mode

If the debug mode is enabled (Contao Manager › "Debug mode" or APP_ENV=dev in your .env.local), the bundle adds the class debug to the <body> of the back end. The sticky footer is then moved up by 36px so it is not covered by the Symfony debug toolbar.

You can use this class in your own back end stylesheets as well:

Development

The styles live in public/sticky-footer.scss and are compiled to public/sticky-footer.css.

Run the coding standard and the unit tests before you release the bundle:

License

GPL-3.0-or-later, see LICENSE.


Deutsch

Sticky Footer für das Contao-Backend mit purem CSS und ohne JavaScript. Die Speichern-Buttons jedes Bearbeitungsformulars bleiben am unteren Bildschirmrand sichtbar, langes Scrollen zum Speichern entfällt.

Funktionen

Voraussetzungen

Für Contao 4.13 Version 1.1 verwenden.

Installation

Über den Contao Manager (nach pdir/contao-sticky-footer suchen) oder per Composer installieren:

Fertig. Das Stylesheet wird im Backend automatisch geladen, eine Konfiguration ist nicht nötig.

Anleitung

  1. Im Contao-Backend anmelden.
  2. Einen beliebigen Datensatz bearbeiten, z. B. eine Seite, einen Artikel oder ein Inhaltselement.
  3. Die Buttons „Speichern“, „Speichern und schließen“ usw. sind jetzt immer am unteren Fensterrand sichtbar, egal wie lang das Formular ist.

Debug-Modus

Ist der Debug-Modus aktiv (Contao Manager › „Debug-Modus“ oder APP_ENV=dev in der .env.local), bekommt der <body> im Backend die Klasse debug. Der Sticky Footer wird dann um 36px nach oben versetzt, damit ihn die Symfony-Debug-Toolbar nicht verdeckt.

Die Klasse lässt sich auch in eigenen Backend-Stylesheets nutzen:

Entwicklung

Die Styles liegen in public/sticky-footer.scss und werden nach public/sticky-footer.css kompiliert.

Vor einem Release Coding Standard und Unit-Tests ausführen:

Lizenz

GPL-3.0-or-later, siehe LICENSE.


All versions of contao-sticky-footer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
contao/core-bundle Version ^5.3 || ^6.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 pdir/contao-sticky-footer contains the following files

Loading the files please wait ...