Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • rynek23 Friend
    #180597

    Hi

    I would like make some change in block, now in deafult layout of blok is:

    USER1 (TOPSL) on 100% width
    USER21 (TOPSL) on 100% width

    i would like add “right” position and have somethink like that:

    USER1 (TOPSL) on 80% width RIGHT on 20% width
    USER2 (TOPSL) on 80% width RIGHT on 20% width

    sow then on main page i will have on right side RIGHT position and i will can add there some modules.

    please change me code and paste in this topic good code:

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    <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>
    </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="topbar" type="topbar" main-inner="1"></block>
    <block name="header" type="header"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="masshead" no-main="1">masshead</block>
    <block name="slideshow" type="modules" style="raw" no-main="1">slideshow</block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" type="spotlight" main-inner="1">user1</block>
    <block name="topsl1" type="spotlight" main-inner="1">user2</block>
    </blocks>
    <blocks name="middle" colwidth="32">
    <block name="left1">position-7</block>
    <block name="right2">position-5</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1">user3</block>
    <block name="botsl1" type="spotlight" main-inner="1">user4,user5,user6,user7</block>
    <block name="botsl2" type="spotlight" class="dark" main-inner="1">user8</block>
    <block name="botsl3" no-main="1" class="dark">user9</block>
    <block name="botsl4" type="spotlight" class="dark" main-inner="1">user10</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer" main-inner="1"></block>
    </blocks>
    </layout>

    Luna Garden Moderator
    #466785

    Hi Rynek,
    Here is your code:


    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    <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>
    </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="topbar" type="topbar" main-inner="1"></block>
    <block name="header" type="header"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="masshead" no-main="1">masshead</block>
    <block name="slideshow" type="modules" style="raw" no-main="1">slideshow</block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" special="left" type="spotlight" main-inner="1" specialwidth="80">user1,right</block>
    </blocks>
    <blocks name="middle" colwidth="32">
    <block name="left1">position-7</block>
    <block name="right2">position-5</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1">user3</block>
    <block name="botsl1" type="spotlight" main-inner="1">user4,user5,user6,user7</block>
    <block name="botsl2" type="spotlight" class="dark" main-inner="1">user8</block>
    <block name="botsl3" no-main="1" class="dark">user9</block>
    <block name="botsl4" type="spotlight" class="dark" main-inner="1">user10</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer" main-inner="1"></block>
    </blocks>
    </layout>

    I change code for USER1, USER2 into USER1 then add position RIGHT.


    <block name="topsl" special="left" type="spotlight" main-inner="1" specialwidth="80">user1,right</block>

    Then change your position of module from ‘user2’ to ‘user1’. It would work.

    rynek23 Friend
    #467674

    thanks but this dont work good

    plaese tell me how to make to have in TOPSL user1 and right block but define width of user 1 (70%) and right (30%)

    it is very important to me please respond asap.

    Luna Garden Moderator
    #467697

    <em>@rynek23 339067 wrote:</em><blockquote>thanks but this dont work good</blockquote>
    Hi Rynek,
    Maybe you have to fix on Default Layout and Home Layout for Homepage.

    <em>@rynek23 339067 wrote:</em><blockquote>
    plaese tell me how to make to have in TOPSL user1 and right block but define width of user 1 (70%) and right (30%)

    it is very important to me please respond asap.</blockquote>

    Change

    <block name="topsl1" type="spotlight" main-inner="1">user2</block>
    to:

    <block name="topsl" special="left" type="spotlight" main-inner="1" specialwidth="70">user2,right</block>

    Please remember backup your files before process and clear cache to see changes

    rynek23 Friend
    #468175

    Hi

    your first code work but please see effect, i have position user1 and right in proportion 50 – 50 i would like to make that user 1 will have width about 75% and right has width about 25%

    How i can make this??? this is link: http://kolagenspa.pl/

    now i have this code:

    <?xml version="1.0" encoding="utf-8"?>
    <layout name="desktop">
    <!--Extra css load for this layout-->
    <stylesheets>
    <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>
    </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="topbar" type="topbar" main-inner="1"></block>
    <block name="header" type="header"></block>
    <block name="mainnav" type="mainnav" main-inner="1"></block>
    <block name="masshead" no-main="1">masshead</block>
    <block name="slideshow" type="modules" style="raw" no-main="1">slideshow</block>
    <block name="cpanel" type="usertools/cpanel"></block>
    <block name="topsl" special="left" type="spotlight" main-inner="1" specialwidth="80">user1,right</block>
    </blocks>
    <blocks name="middle" colwidth="32">
    <block name="left1">position-7</block>
    <block name="right2">position-5</block>
    </blocks>
    <blocks name="bottom" style="xhtml">
    <block name="botsl" type="spotlight" main-inner="1">user3</block>
    <block name="botsl1" type="spotlight" main-inner="1">user4,user5,user6,user7</block>
    <block name="botsl2" type="spotlight" class="dark" main-inner="1">user8</block>
    <block name="botsl3" no-main="1" class="dark">user9</block>
    <block name="botsl4" type="spotlight" class="dark" main-inner="1">user10</block>
    <block name="navhelper" type="navhelper" main-inner="1"></block>
    <block name="footer" type="footer" main-inner="1"></block>
    </blocks>
    </layout>

    Luna Garden Moderator
    #468181

    For 75% width in user1 and 25% in right, change


    <block name="topsl" special="left" type="spotlight" main-inner="1" specialwidth="80">user1,right</block>

    to


    <block name="topsl" special="left" type="spotlight" main-inner="1" specialwidth="75">user1,right</block>

    specialwidth=”75″ will make left collum (user1) have width 75%
    I don’t know why it didn’t work.
    Did you edit in both Default Layout and Home Layout ? If yes, but it still doesn’t take effect the width, please send me your admin info for further checking.

    Luna Garden Moderator
    #468466

    I get your acc info in PM, will check it now. Your info didn’t work : (

    rynek23 Friend
    #468467

    hi

    i send you priv message with access to admin panel.

    i wait for re

    Luna Garden Moderator
    #468469

    Hi,
    I have tried your info access, but can’t login. Maybe be it’s wrong. Please check again and give me the valid access!

    rynek23 Friend
    #468532

    hi

    i send you yesterday once again access, now all is ok sow please try help me

    Luna Garden Moderator
    #468561

    Hi Rafal,
    I just check your site, and the user1 has already 75% width, and the right has 25% width now.
    Is it fixed ? : )

    rynek23 Friend
    #468604

    any news with my problem???

    Luna Garden Moderator
    #468614

    <em>@rynek23 339765 wrote:</em><blockquote>Hi

    your first code work but please see effect, i have position user1 and right in proportion 50 – 50 i would like to make that user 1 will have width about 75% and right has width about 25%

    How i can make this??? this is link: http://kolagenspa.pl/

    </blockquote>

    Hi,
    I have checked your site, and as you request, User1 and right have already had 75% and 25% width for them You can check in this image.

    If you think there’s still a problem, then please tell me


    1. divwidth

    rynek23 Friend
    #468775

    ok, now i can see this and is ok

    i have another question… how i can add some module to “content” position??? please see on screen below

    Rafal


    1. screen
    Luna Garden Moderator
    #468817

    <em>@rynek23 340585 wrote:</em><blockquote>ok, now i can see this and is ok

    i have another question… how i can add some module to “content” position??? please see on screen below

    Rafal</blockquote>

    Hi,
    “Content” position as you see is for showing content, for component as com_content or com_k2 … not for module, can’t assign module in this position.
    And in backend >> Extension >> Template Manager >> Your template name >> Tab Profile >> Home Profile: content is set Hide. So that’s why content is not showed in Homepage.
    You can check List of Position in Zite in All position Layout: http://joomla25-templates.joomlart.com/ja_zite/bonus-pages/all-position-layout.html

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

This topic contains 15 replies, has 2 voices, and was last updated by  Luna Garden 12 years, 1 month ago.

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