Weapon Stat Adjustments
From Gameresource
(Difference between revisions)
(DoMyiN5Rv) |
(LXLQ9yWgEuS) |
||
Line 1: | Line 1: | ||
- | + | I looked at this briefly recently but I hav’nt had time to go over it properly.To start have a look in /a/ec/ode/core/Mage/Core/ModelpDesign/Packagp.php at the getTheme($type) method,You’ll see the Custom theme is set if it matches a User Agent regex value that’s set in the config. Overriding this method locally and adding a check for a session variable that you’ve set when clicking a ‘Desktop view’ button on the mobile theme would work.I’ll write this up in a blog post shortly. |
Current revision as of 10:58, 29 March 2017
I looked at this briefly recently but I hav’nt had time to go over it properly.To start have a look in /a/ec/ode/core/Mage/Core/ModelpDesign/Packagp.php at the getTheme($type) method,You’ll see the Custom theme is set if it matches a User Agent regex value that’s set in the config. Overriding this method locally and adding a check for a session variable that you’ve set when clicking a ‘Desktop view’ button on the mobile theme would work.I’ll write this up in a blog post shortly.