-
AuthorPosts
-
joostwanetie Friend
joostwanetie
- Join date:
- March 2011
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 3
- Thanked:
- 2 times in 1 posts
May 20, 2011 at 2:15 pm #164247How can i change the width of User 5,6,7. The code for it in the templates detail is;
<block name="botsl-1" type="spotlight" main-inner="1">user5,user6,user7,user8,user9,user10</block>
pritam Friendpritam
- Join date:
- April 2011
- Posts:
- 609
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 11
- Thanked:
- 125 times in 113 posts
May 21, 2011 at 9:57 am #392217Hello,
To change the Width of User 5,6,7
goto admin login -> template manager-> ja_portfolio-> layout->default-> edit-> use below line
<block name=”botsl-1″ type=”spotlight” main-inner=”1″ width=”20%”>user5,user6,user7</block>
save and then see the changes .
joostwanetie Friendjoostwanetie
- Join date:
- March 2011
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 3
- Thanked:
- 2 times in 1 posts
May 21, 2011 at 4:39 pm #392246It works, but not the way i thinked. I want this;
User 6 (20 %) | User 7 (20%) | User 8 (20%) | User 9 (40 %)
How can i make it so?
thank you
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 21, 2011 at 6:19 pm #392257You try this:
<block name="botsl-1" type="spotlight" main-inner="1" special="right" specialwidth="40">user6,user7,user8,user9</block>
joostwanetie Friendjoostwanetie
- Join date:
- March 2011
- Posts:
- 39
- Downloads:
- 0
- Uploads:
- 3
- Thanked:
- 2 times in 1 posts
May 23, 2011 at 2:56 pm #392469It works, thanks!
June 7, 2011 at 4:21 am #395014Hello!
Help with setting the width of the blocks user1 and user2. user1 should have a width of 780px. The width of user2 100% and should vary depending on screen resolution. With a screen resolution of 1280 * 1024 block of user1 closes unit user2 :(.
Thank you for your help.
Google Translate(c)
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 8, 2011 at 8:48 am #395212Hi,
Width of user1, user2 is defined by percent, not pixelkhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 8, 2011 at 9:27 am #395228You try a way:
You replace this code from pluginssystemjat3jat3base-themesdefaultblocksspotlight.php
<?php if( $this->countModules($pos) ): ?>
with
<?php if( $this->countModules($pos) ):
if ($pos == "user1") $botsl[$pos]['width'] = "780px";
else if ($pos == "user2") $botsl[$pos]['width'] = "500px";
June 8, 2011 at 10:04 am #395241This method does not work, tested already on the tip of your topic:
http://www.joomlart.com/forums/topic/how-to-change-5050-split-in-user1user2-pos-in-ja_portfolio-j1-6/1920*1080
http://imageshack.us/photo/my-images/35/errorcv.png/1280*1024
http://imageshack.us/photo/my-images/714/error1yc.png/khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 8, 2011 at 6:11 pm #395338Hi,
Could you give me a link to your website?June 9, 2011 at 4:13 am #395395Hi,
sorry. The website is in localhost. With Internet access do not have to yet.khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
June 9, 2011 at 7:42 am #395437You try another way:
– You restore pluginssystemjat3jat3base-themesdefaultblocksspotlight.php file
– Login backend > Extensions > Template manager > your_template > layout tab > edit default layout. Replace this code<block name="topsl" type="spotlight" style="raw" main-inner="1">user1,user2</block>
with
<block name="topsl" type="spotlight" style="raw" main-inner="1" special="left" specialwidth="61">user1,user2</block>
user1 position has width is 780px is equivalent 61%, so specialwidth=”61″
-
AuthorPosts
This topic contains 12 replies, has 4 voices, and was last updated by khoand 13 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum