-
AuthorPosts
-
June 2, 2008 at 2:23 pm #129184
Hi,
I want to get ride of the right colmn completely so i have:
1) unpublished all the right column modules
2) changed the line 255 in the index.php changed from:
<?php if ($this->countModules(‘user5’) && $ja_right) { ?>
to
<?php if ($this->countModules(‘user5’)) { ?>
(i want to publish the user5 module event if i have nothing in the right column)3) modified the template.css:
modified the width parameter of the #ja-content to 520px
modified the width parameter of the #ja-col1 to 220px (i am using the narrow width)And then i can’t see any difference ie the left column has always the same size …
If a publish a module in the right position then i can see the difference but only on the Home Page !How can i get get ride of the right column (and get full width for the remaining left column and main column) ? In the mean time i want to be able to use the user5 file position (ful width) ?
Thanks a lot
GuillaumeMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 2, 2008 at 2:28 pm #251566This here is the code if you gonna remove the right column totally:
<?php if ($ja_right) { ?>
<!-- BEGIN: RIGHT COLUMN -->
<div id="ja-col2"><div id="ja-col2-top"><div id="ja-col2-bot" class="clearfix"><?php if ($hasSubnav) { ?>
<div id="ja-subnav" class="moduletable-hilite">
<h3>On this page</h3>
<?php $jamenu->genMenu (1,1); ?>
</div>
<?php } ?><jdoc:include type="modules" name="right" style="xhtml" />
</div></div></div>
<!-- END: RIGHT COLUMN -->
<?php } ?>If you unpublish all modules in right column, left and mainbody should extend to full width. So there is no need to delete any code.
June 2, 2008 at 2:40 pm #251570Hi !
What a fast answer ! 🙂I have replaced my template.css and index.php files with the original ones then i made the modification you gave to me. The problem is that i can’t change the left column size…
I tried to put a 250px value to the width parameter in the #ja-col1 section without success …Thanks in advance
GuillaumeMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 2, 2008 at 2:58 pm #251572If you set up your site how you gonna have it and give us your site url its easier for us to help you out here:)
June 2, 2008 at 3:07 pm #251574You are right: it’s gonna be easier 🙂
hidden
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
June 2, 2008 at 3:36 pm #251578Find the two lines below and do the changes as i have written it:
First in template.css line 605:
#ja-containerwrap-fr #ja-content {
width:520px;
}
And line 609:
#ja-containerwrap-fr #ja-col1 {
width:220px;
}
This will give you the layout you are after i hope.
June 2, 2008 at 5:13 pm #251594Hi,
I am gonna try in a few hours and i will let u know.
Thanks a lot !Guillaume
June 2, 2008 at 6:39 pm #251605It worked like a charm !
Thanks again
Guillaume -
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by guillaume14 16 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum