-
AuthorPosts
-
May 27, 2011 at 10:45 am #164502
Hi,
i’ve an issue. Is possible, in Teline IV, to splt the middle.content-mass-top in in two independent columns/ block, first, in the left for news and other column for banner?Best regards,
Alessandrokhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 28, 2011 at 4:10 am #393305Yes, it is. What version of joomla do you use?
May 28, 2011 at 4:52 am #393312Joomla 1.5 . For me is very important to split the middel.conent-mass-top, where there are ja-news1,ja-news2,ja-news3 in 2 block indipendent for to have a new colomn.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 28, 2011 at 8:34 am #393332<em>@duaitbt 243157 wrote:</em><blockquote>Joomla 1.5 . For me is very important to split the middel.conent-mass-top, where there are ja-news1,ja-news2,ja-news3 in 2 block indipendent for to have a new colomn.</blockquote>
You read thread http://www.joomlart.com/forums/topic/split-content-top-into-two/#post-391403May 28, 2011 at 9:43 am #393351Ok,done. But i don’t see nothing. Is need other modify in other section? For exampler default.xml? or or ather?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 28, 2011 at 9:13 pm #393385– You replace this code from <joomla url>pluginssystemjat3base-themesdefaultpagedefault.php
if($this->hasBlock('content-mass-top')) :
$block = &$this->getBlockXML ('content-mass-top');
?>
<div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
<?php $this->showBlock ($block); ?>
</div>
<?phpendif; ?>
with
if($this->hasBlock('content-mass-top1') || $this->hasBlock('content-mass-top-2') ) :
?>
<div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
<?php if($this->hasBlock('content-mass-top1')) :
$block = &$this->getBlockXML ('content-mass-top1');
?>
<div id="ja-content-mass-top1" class="ja-mass ja-mass-top clearfix" style="width:49%">
<?php $this->showBlock ($block); ?>
</div>
<?php endif;?>
<?php if($this->hasBlock('content-mass-top2')) :
$block = &$this->getBlockXML ('content-mass-top2');
?>
<div id="ja-content-mass-top2" class="ja-mass ja-mass-top clearfix" style="width:49%">
<?php $this->showBlock ($block); ?>
</div>
<?php endif;?>
</div>
<?php endif; ?>
– You set position of module is content-mass-top1/content-mass-top2mayuri_g Friendmayuri_g
- Join date:
- May 2011
- Posts:
- 107
- Downloads:
- 0
- Uploads:
- 5
- Thanked:
- 10 times in 11 posts
May 31, 2011 at 5:01 am #393755Hello, to splt the middle.content-mass-top in in two independent columns/ block, paste this code in
layout file.
go to Extension >> Template Manager >> select your template >> Layout<blocks name=”middle” colwidth=”25″ fiixheight=”1″>
<block name=”content-mass-top”>content-mass-top</block>
<block name=”inset1″>left</block>
<block name=”inset2″>right</block>
<block name=”right2″>right</block>
<block name=”left1″>left</block>
</blocks>in this way you will get two blocks in middle content.
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by mayuri_g 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum