EasyEngine/feature-requests

Support for mobile/tablet/desktop device detection

Aperta

#33 aperta il 17 feb 2015

 (0 commenti) (0 reazioni) (0 assegnatari) (1 fork)auto 404
good first issue

Metriche repository

Star
 (5 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

We recommend using responsive themes all the time but there are cases when people are running legacy codes and need mobile device support.

EE will just init a variable say ee_device with values:

  1. mobile
  2. desktop
  3. tablet

Just a nginx map directive which will set an environment variable.

The variable can be used for custom configs.

Guida contributor