test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • wlfmarcus Friend
    #160840

    Hi,
    i want to move a module position: i want to put top.topsl under content-top like screenshot:

    How can i do?

    Thank you


    1. spostamento_modulo
    Ninja Lead Moderator
    #379033

    hi,

    go to admin > templates manager > ja events> layouts tab > edit default layout.

    in “top” blocks section, find the block named “topsl” and move it to “middle” blocks section, then rename it “content-top”.

    please try and let me know.

    wlfmarcus Friend
    #379124

    I tried but I will have done something wrong since it does not work.
    here’s my update:
    [PHP] <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=”2″></block>
    <block name=”cpanel” type=”usertools/cpanel”></block>

    main-inner=”1″>user1,user2,user3,user4,user5</block>
    </blocks>
    <blocks name=”middle” colwidth=”26″ main-inner=”1″ fixheight=”1″>
    <block name=”content-top” type=”spotlight”
    <block name=”content-mass-top”>content-top</block>
    <block name=”right1″>left,right</block>
    </blocks>[/PHP]
    and in doing so more modules left and right on the home page have moved to the left while all of the default are right.

    What can I do?

    Thank you for your attention and speed.
    Marco.

    Phill Moderator
    #379125

    I’. assuming you want 5 extra module positions above the content? If that is the case no need to move the aformentioned block, simply add a new one.

    From the default layout just add the bit I have highlighted in red below to give yourself 5 new module positions called top1, top2, top3, top4, and top5

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <stylesheets>
    </stylesheets>
    <blocks name="head">
    <block name="extra-head" type="extra-head"></block>
    </blocks>
    <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="2"></block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" type="spotlight" main-inner="1">user1,user2,user3,user4,user5</block>
    </blocks>
    <blocks name="middle" colwidth="26" main-inner="1" fixheight="1">
    <block name="content-mass-top">content-top</block>
    <block name="content-top" type="spotlight">top1,top2,top3,top4,top5</block>
    <block name="right1">left,right</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="bot-banner" type="modules" no-main="1">bot-banner</block>
    <block name="botsl2" type="spotlight" main-inner="1">user6,user7,user8,user9,user10</block>
    <block name="botsl3" type="spotlight" main-inner="1">user11,user12,user13,user14,user15</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer"></block>
    <block name="wrap-banner" type="modules" no-main="1" no-wrap="1" style="raw">wrap-banner</block>
    <block name="top-banner" type="modules" style="raw">top-banner</block>
    <block name="left-banner" type="modules" no-main="1" style="raw">left-banner</block>
    <block name="right-banner" type="modules" no-main="1" style="raw">right-banner</block>
    </blocks>
    </layout>


    1. Welcome-to-JA-Events_1299007224129
    wlfmarcus Friend
    #379547

    Thank you very much
    But can you use the whole width of the template by breaking the position:”left” as in the picture?


    1. Welcome-to-JA-Events_1299007224129
    Ninja Lead Moderator
    #379567

    no, that is not possible, its the way page has been layouted.

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

This topic contains 6 replies, has 3 voices, and was last updated by  Ninja Lead 13 years, 10 months ago.

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