-
AuthorPosts
-
February 28, 2011 at 9:55 pm #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
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 1, 2011 at 8:47 am #379033hi,
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.
March 1, 2011 at 7:04 pm #379124I 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 ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 1, 2011 at 7:15 pm #379125I’. 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 user says Thank You to Phill for this useful post
March 3, 2011 at 11:37 pm #379547Thank you very much
But can you use the whole width of the template by breaking the position:”left” as in the picture?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 4, 2011 at 3:54 am #379567no, that is not possible, its the way page has been layouted.
AuthorPostsViewing 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, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum