/contao-mobile-only

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

Primary LanguagePHP

Contao Mobile Only

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())