![]() |
|
1.4.3 new plugin mobileTheme - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html) +--- Thread: 1.4.3 new plugin mobileTheme (/thread-9918.html) |
1.4.3 new plugin mobileTheme - vincent3569 - 01-05-2012 hi I saw the new interesting plugin mobileTheme in zenphoto 1.4.3. how can I use this plugin ? to be more precise: I want to filter some elements of my theme zpbootstrap: I try this code These options are set : I have this trace 1.4.3 new plugin mobileTheme - sbillard - 01-05-2012 The plugin provides a class element that you can use in your theme, but you must instantiate it first: But the primary purpose of this theme is to automatically switch to a mobile theme when the client is browsing from a mobile device. If all you want to do is use the above As to your error message, I doubt that is from the plugin (the call is from your theme's 1.4.3 new plugin mobileTheme - vincent3569 - 02-05-2012 Hi About Mobile_Detect : one question : is it possible to include this class in core components of Zenphoto ? 1.4.3 new plugin mobileTheme - acrylian - 03-05-2012 It is (becomes) a standard plugin, so it you can use require_once to "require" it for your theme. |