numero2/contao-mobile-only

Control the visibility of pages, articles and elements on desktop and mobile devices.

Installs: 1 050

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 0

Open Issues: 0

Type:contao-module

v1.0.5 2020-08-28 07:02 UTC

This package is auto-updated.

Last update: 2024-09-28 16:36:22 UTC


README

About

Adds options for pages / articles / content elements to be only visible in desktop or mobile version.

Screenshot

System requirements

  • Contao 3.0 or newer / successfully tested with Contao 4.3.9

Installation & Configuration

  • Create a folder named mobile_only in system/modules
  • Clone this repository into the new folder
  • Run a database update via the Installtool

Additional step for Contao 4.X: Open app/AppKernel.php and add the following line to the $bundles array

new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('mobile_only', $this->getRootDir())