Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

vanilla 2.5.1 them addon

how can i control the mobile them from my theme without messing with config? I tried this in the theme addon.js but it dont work mobilefriendly=true


  • Options

    "mobileFriendly": true, it still shows the default mobile theme

  • Options



    plugins (not themes) are guided to be used in mobile or desktop themes.

    via "mobileFriendly": true,


    as far as I know themes are considered mobile or desktop in dashboard.

    via addon.json

    with these attributes.,L7

    so if you want a theme to be mobile selectable from dashboard without messing with config.

    you should se the keys as
    "isMobile": true,
    "hidden": false,
    "key": "mobile",

    otherwise if you want a desktop theme to be mobile you can use...

    $Configuration['Garden']['MobileTheme']= 'nameofthemeyouwantformobile';

    or clone the "Desktop" theme with a different addon.json that has ...

    "isMobile": true,
    "hidden": false,
    "key": "mobile",

    with a different name for key and folder.

    then you can select it from dashboard

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

Sign In or Register to comment.