-
AuthorPosts
-
August 27, 2006 at 9:15 am #117109
When i view a page without right column (full text, without modules), the footer margin-top changes to more than 5 px (default value in template.css).
You can see the error in this image:
It occurs in Internet Explorer not in Firefox.
Some explanation about this?
ha le-viet Developerha le-viet
- Join date:
- April 2006
- Posts:
- 415
- Downloads:
- 0
- Uploads:
- 26
- Thanked:
- 5 times in 1 posts
August 29, 2006 at 2:02 am #210344Hi leadict,
Can I see the URL of your site?
Regards,
Ha Le-Viet.August 29, 2006 at 2:57 am #210345The URL of my site is:
But this problem occurs too in the demo page of the template (eg.contact us):
http://www.joomlart.com/templates_demo.php?template=ja_altair
September 5, 2006 at 4:05 am #210389Hi Ha Le-Viet (i sent you a private message),
I’m reviewing the error with footer.
I have find this error is related with the presence of code “div id=rightcolright” in “main section of index” when content is generated as “content-full”.
The index template includes code to select the content mode:
if ( mosCountModules( ‘left’ ) || mosCountModules( ‘right’ ) || mosCountModules( ‘user1’ ) || mosCountModules( ‘user2’ ) ) {
$divid = ‘content’;
} else {
$divid = ‘content-full’;
}But pages generated as content-full keep the div “rightcolright” :
<!– BEGIN: MAIN –>
<div id=”main”>
<!– BEGIN: CONTENT –>
<div id=”content-full”>
….
</div>
<!– END: CONTENT –>
<!– BEGIN: RIGHT COLUMN –>
<div id=”rightcol”>
</div>
<!– END: RIGHT COLUMN –>
</div>
<!– END: MAIN –>Firefox overlooks the “div id=rightcol” but does not IE (removing the code of right column on index template => the margin shows correctly but you canĀ“t use modules in this location).
Does anybody know a solution to this problem?
Thanks.
September 5, 2006 at 4:57 am #210390I found the solution to this problem:
Just adding the following red code to “right column section” of index template:
<?php if ( mosCountModules( ‘user1’ ) || mosCountModules( ‘user2’ ) || mosCountModules( ‘left’ ) || mosCountModules( ‘right’ )) { ?>
<div id=”rightcol”>
<?php mosLoadModules(‘user1’,-2); ?>
<?php mosLoadModules(‘user2’,-2); ?>
<?php mosLoadModules(‘left’,-2); ?>
<?php mosLoadModules(‘right’,-2); ?>
</div>
<?php } ?>Regards
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by leadict 18 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum