-
AuthorPosts
-
September 10, 2012 at 7:57 pm #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% widthi 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% widthsow 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 ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
September 12, 2012 at 3:11 am #466785Hi 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.September 20, 2012 at 4:29 pm #467674thanks 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 ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
September 21, 2012 at 2:07 am #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
September 26, 2012 at 7:28 am #468175Hi
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 ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
September 26, 2012 at 8:14 am #468181For 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 ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
September 28, 2012 at 8:43 am #468466September 28, 2012 at 8:49 am #468467hi
i send you priv message with access to admin panel.
i wait for re
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
September 28, 2012 at 8:57 am #468469September 29, 2012 at 6:24 am #468532hi
i send you yesterday once again access, now all is ok sow please try help me
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
September 29, 2012 at 3:20 pm #468561September 30, 2012 at 6:36 pm #468604any news with my problem???
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
October 1, 2012 at 2:09 am #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 user says Thank You to Luna Garden for this useful post
October 1, 2012 at 4:56 pm #468775ok, 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
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
October 2, 2012 at 3:28 am #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.htmlAuthorPostsViewing 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
Jump to forum