Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • agussol Friend
    #176295

    Hello,

    We have hard times to understand module positions, and which positions we want to add…

    In fact we have a “normal” template, with module positions, then we would like to have the Ja-elastica for mobile devices.

    Our goal is to have the same position name module on the normal template, and having the same name to Ja elastica, we will not have to worry if the module is displayed or not…It will because of the same name position.

    So, we’ve changed the xml file of Ja template like this :

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    <file media="all">css/layout.css</file>
    <file media="all">css/template.css</file>
    <file media="all">css/modules.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>
    <file media="only screen and (min-width:986px) and (max-width: 1235px)">css/layout-normal.css</file>
    <file media="only screen and (min-width:1236px)">css/layout-wide.css</file>
    </stylesheets>
    <scripts>
    <file>js/mega.rjd.js</file>
    <file>js/jquery/jquery-1.6.4.min.js</file>
    <file>js/jquery.masonry.js</file>
    <file>js/jquery.mediaqueries.js</file>
    <content>jQuery.noConflict();</content>
    </scripts>
    <blocks name="top" style="xhtml">
    <block name="header" type="header" main-inner="1">search</block>
    </blocks>
    <blocks name="middle">
    <block name="left1">sousmenu</block>
    <block name="right1">right</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="footer" type="footer" main-inner="1">bottom,bottom2</block>
    <block name="masonry" type="masonry" no-wrap="1" no-main="1">bottom,bottom2</block>
    </blocks>
    </layout>

    Where “sousmenu” is our template position from our other template. But it does not display…. 🙁

    Into templateDetails.xml we do have the same module position also.

    The only one that is working actually is footer…

    Could you please advice ?
    Thanks !

    Sherlock Friend
    #449485

    Hi agussol,

    As I know the then Ja elastica template would not show the module from the left1 and left2 block so the tag of
    <block name=”left1″>sousmenu</block> will not work
    You have only two blocks to assign your modules to, those are right1 and right2.

    agussol Friend
    #449852

    Ok thanks, we’ve found the problem…

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

This topic contains 3 replies, has 2 voices, and was last updated by  agussol 12 years, 7 months ago.

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