Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • rosen4o Friend
    #187476

    When I open template from mobile device all joomla content plugins are disabled.
    How can I enable one or all content plugins?

    Ninja Lead Moderator
    #492828

    Because JAT3 v2 framework support mobile device and desktop device, you can define positions runs with desktop and mobile specific

    Desktop: templates/ja_template/etc/layouts/default.xml

    Ex:


    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    <file>css/template.css</file>
    <file media="only screen and (max-width:719px)">css/layout-mobile.css</file>
    <file media="only screen and (max-width:479px)">css/layout-mobile-port.css</file>
    <file media="only screen and (min-width:720px) and (max-width: 985px)">css/layout-tablet.css</file>
    </stylesheets>
    <blocks name="top" style="xhtml">
    <block name="absolute" type="modules" style="raw">absolute</block>
    <block name="top-panel" type="modules" style="raw" main-inner="1">top-panel</block>
    <block name="header" type="header" main-inner="1"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="masshead" style="raw" no-main="1">masshead</block>
    <block name="slideshow" style="raw">slideshow</block>
    <block name="topsl" type="spotlight">user1, user2, user3, user4</block>
    <block name="topsl1" type="spotlight">user5, user6, user7, user8</block>
    <block name="topsl2" type="spotlight">user9, user10, user11, user12</block>
    </blocks>
    <blocks name="middle" colwidth="25">
    <block name="content-mass-top">content-mass-top</block>
    <block name="right1">position-7</block>
    <block name="right2">position-5</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight">user13, user14, user15, user16</block>
    <block name="botsl1" type="spotlight">user17, user18, user19, user20</block>
    <block name="botsl2" type="spotlight">user21, user22, user23, user24</block>
    <block name="navhelper" type="navhelper"></block>
    <block name="footer" type="footer"></block>
    </blocks>
    </layout>

    Mobile: templates/ja_template/etc/layouts/iphone.xml
    Ex:


    <?xml version="1.0" encoding="utf-8"?>
    <layout body-class="bd-iphone" device="iphone">
    <name>Iphone</name>
    <description>Default layout for Iphone</description>
    <!--Extra css load for this layout-->
    <stylesheets>
    </stylesheets>
    <scripts>
    </scripts>
    <blocks name="top" style="xhtml">
    <block name="mainnav" type="iphone/mainnav" class="black"></block>
    <block name="header" type="iphone/header"></block>
    </blocks>
    <blocks name="middle">
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="footer" type="iphone/footer"></block>
    </blocks>
    </layout>

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum