Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • famousfeem Friend
    #181979

    Hello

    I want to create a new module position in puresite template under the mega menu for the language switcher. With the attached element, you’ll find where I want it to be.

    Tnak you for your help


    1. language-module
    Ninja Lead Moderator
    #472134

    Please follow my suggestion:
    + You need to create new position on backend file
    <blockquote>Admin area->Extensions->Template Manager->JA_Puresite – Default->Layouts Tab->Edit default</blockquote>
    from
    <blockquote><block name=”slider” type=”modules” main-inner=”1″>slider</block></blockquote>
    change to
    <blockquote><block name=”language_switcher” type=”modules” main-inner=”1″>language_switcher</block>
    <block name=”slider” type=”modules” main-inner=”1″>slider</block></blockquote>
    + Create css script set position to right
    <blockquote>Open templates/ja_puresite/css/template.css file</blockquote>
    and add new script css
    <blockquote>#ja-language_switcher .ja-moduletable {
    float:right;
    }</blockquote>

    famousfeem Friend
    #472297

    Hello Ninja lead

    I have not tried it yet, but as I understand, you’re telling me that I’m setting up the position of a module position called “language_switcher” that already exists ?

    I’ll try it and I’ll you if it works for me. Thank you 🙂

    famousfeem Friend
    #472301

    Hello

    I followed your steps: added a new block in default layout and added the script in template.css
    This is the content of the default layout xml file:

    <?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:479px)”>css/layout-mobile-port.css</file>
    <file media=”only screen and (max-width:735px)”>css/layout-mobile.css</file>
    <file media=”only screen and (min-width:736px) 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>
    </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″></block>
    <block name=”language_switcher” type=”modules” main-inner=”1″>language_switcher</block>
    <block name=”slider” type=”modules” main-inner=”1″>slider</block>
    <block name=”topsl” type=”spotlight” main-inner=”2″ specialwidth=”25″ special=”left”>user1,user2,user3,user4</block>
    <block name=”topsl1″ type=”spotlight” main-inner=”2″ specialwidth=”25″ special=”left”>user5,user6</block>
    <block name=”topsl2″ type=”spotlight” main-inner=”2″ specialwidth=”25″ special=”left”>user7,user8</block>
    <block name=”topsl3″ type=”spotlight” main-inner=”2″>position-2</block>
    </blocks>
    <blocks name=”middle” main-inner=”1″ fixheight=”0″ colwidth=”25″>
    <block name=”right1″>position-7, position-5</block>
    </blocks>
    <blocks name=”bottom” style=”xhtml”>
    <block name=”botsl” type=”spotlight” main-inner=”1″>contactus</block>
    <block name=”navhelper” type=”navhelper”></block>
    <block name=”botsl1″ type=”spotlight” main-inner=”2″ specialwidth=”50″ special=”left”>user9,user10,user11,user12</block>
    <block name=”botsl2″ type=”spotlight” main-inner=”2″ >user13,user14</block>
    <block name=”footer” main-inner=”1″ type=”footer”></block>
    <block name=”masonry” type=”masonry” no-wrap=”1″ no-main=”1″></block>
    </blocks>
    </layout>

    By the way, I follwed steps descriped in this thread: http://www.joomlart.com/forums/topic/new-module-position-in-ja-nex/ (it’s about ja nex not ja puresite) and I was able to create the new module but the only problem was that I couldn’t make it appear in the right of the page although I changed float to the right but it didn’t work.

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

This topic contains 4 replies, has 2 voices, and was last updated by  famousfeem 12 years ago.

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