-
AuthorPosts
-
January 25, 2008 at 10:10 am #125212
Hello
I work on a new project with the JA_Justica Template. (Joomla! 1.0.13 or 1.5 I don’t know yet)
I would like to add a column on the left side (and keep the “grey” column but not show it each pages), which will be the same as the right one (white).
On the first pic you can think everything is fine. But on the second pic I got some trouble 🙁
I made a lot of modifications :
“Right” become “Right2” (and I add User 5 before Right2)
“Left” become “right”
the new column become “Left”# Auto Collapse Divs Functions ##########
$ja_right2 = mosCountModules( 'right2' ) + mosCountModules( 'user5' );
$ja_right = mosCountModules( 'right' );
$ja_left = mosCountModules( 'left' );if ( $ja_right2 && $ja_right ) {
//2 columns on the right
$divid = '';
} elseif ( ($ja_right2 && !$ja_right) ) {
//One column without masscol
$divid = '-fr';
} elseif ((!$ja_right2 && $ja_right)) {
//One column with masscol
$divid = '-fl';
} else {
//No column in right
$divid = '-f';
}if ( $ja_left && $ja_right )
// col0 left + col2 right
$divid= '-lr';
I add css “ja-col0” for the new left column
#ja-col0 {
float: left;
width: 24.9%;
margin-right: 6px;
/* display : block;
height: 300px; */
overflow: hidden;
background: url(../images/corner-white-tl.gif) no-repeat top left #FFFFFF;
In the Index.php :
<div id="ja-containerwrap" class="clearfix">
<!-- BEGIN: COLUMNS -->
<?php if ($ja_left) { ?>
<div id="ja-col0"><div class="ja-wrap1"><div class="ja-wrap2"><div class="ja-wrap3 clearfix">
<?php echo mosLoadModules ( 'left',-2 ); ?>
</div></div></div></div>
<?php } ?>
<!-- END: COLUMNS --><div id="ja-container<?php echo $divid ?>">
<!-- BEGIN: PATHWAY -->
<div id="ja-pathwaywrap">
<div id="ja-pathway">
<?php mosPathway(); ?>
</div>
</div>
<!-- END: PATHWAY --><!-- BEGIN: CONTENT -->
<div id="ja-contentwrap"><div class="ja-wrap1"><div class="ja-wrap2 clearfix">
<div id="ja-content">
<div class="innerpad">
<div class="ja-top"><?php if( mosCountModules('top') ) { echo mosLoadModules ( 'top',-2 ); }?></div>
<?php mosMainBody(); ?>
<div class="ja-bottom"><?php if( mosCountModules('bottom') ) { echo mosLoadModules ( 'bottom',-2 ); }?></div>
</div>
</div><?php if ($ja_right2 || mosCountModules('user5')) { ?>
<div id="ja-col1">
<?php if (mosGetParam( $_REQUEST, 'task', null ) == "view") { mosLoadModules('user5', -2); } ?>
<?php echo mosLoadModules ( 'right2',-2 ); ?>
</div>
<?php } ?></div></div></div>
<!-- END: CONTENT -->
</div><!-- BEGIN: COLUMNS -->
<?php if ($ja_right) { ?>
<div id="ja-col2"><div class="ja-wrap1"><div class="ja-wrap2"><div class="ja-wrap3 clearfix">
<?php if( mosCountModules('user4') ) { ?>
<div id="ja-search">
<?php mosLoadModules('user4', -1); ?>
</div>
<div class="clr"></div>
<?php } ?>
<?php echo mosLoadModules ( 'right',-2 ); ?>
</div></div></div></div><br />
<?php } ?>
<!-- END: COLUMNS -->
</div>
Anyone could help me ?
-
cssyeah Moderator
cssyeah
- Join date:
- June 2006
- Posts:
- 653
- Downloads:
- 73
- Uploads:
- 15
- Thanked:
- 121 times in 81 posts
January 25, 2008 at 10:27 am #237179Hi guillau,
I will need sometime to track the changes you have made, I ll get back to you soonJanuary 25, 2008 at 12:17 pm #237193I could provide all files if needed
February 1, 2008 at 9:32 pm #237971Any news ?
cssyeah Moderatorcssyeah
- Join date:
- June 2006
- Posts:
- 653
- Downloads:
- 73
- Uploads:
- 15
- Thanked:
- 121 times in 81 posts
February 9, 2008 at 3:00 am #238685sorry guillau,
Can you provide your template package ( you changed ). I will fix it.
February 11, 2008 at 2:13 pm #238881Here is my template.
If you succes please explain me, I would like to apply it to the J!1.5 template !Thank you
Guillauime
March 5, 2008 at 12:26 pm #241339Any news ?
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
March 10, 2008 at 9:22 am #241799Hi guillau.
I’ve downloaded your template, but when i use it, it have some errors, plz check it and then post again. I hope can help you. -
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 3 voices, and was last updated by guillau 16 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
-