Adds options for pages / articles / content elements to be only visible in desktop or mobile version.
- Contao 3.0 or newer / successfully tested with Contao 4.3.9
- Create a folder named
mobile_only
insystem/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())