Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Theme switch (mobile mode) plugin for cpg1.6.x  (Read 49 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15639
Theme switch (mobile mode) plugin for cpg1.6.x
« on: January 12, 2019, 11:03:57 pm »

This is the cpg1.6.x and PHP7 compatible version of the Theme switch (mobile mode) plugin.

This plugin will automatically detect mobile devices and will display Coppermine with a different (preferably optimized for mobile devices) theme. Additionally, if a mobile device is detected, a new button will be displayed to let the user choose to switch between the "normal" and "mobile" view.

1.) Upload and install the plugin as described in the docs
2.) Open the plugin's configuration screen (you can find it in the plugin's box at the plugin manager after you installed the plugin) and choose a proper theme.

For a start I created two mobile themes, mobile_light and mobile_dark.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 21 queries.