- Posts: 26
- Thank you received: 0
Re: Module Bottoms not lining up
-
marknissan@gmail.com
Inactive member - Topic Author
- Member
Less
More
12 years 7 months ago #18593
by marknissan@gmail.com
Module Bottoms not lining up was created by marknissan@gmail.com
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
12 years 7 months ago #18614
by milos
Replied by milos on topic Re: Module Bottoms not lining up
Sorry, but you must give us your live link so we could inspect the code.
Please Log in to join the conversation.
-
marknissan@gmail.com
Inactive member - Topic Author
- Member
Less
More
- Posts: 26
- Thank you received: 0
12 years 7 months ago #18633
by marknissan@gmail.com
Replied by marknissan@gmail.com on topic Re: Module Bottoms not lining up
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #18655
by ivan.milic
Replied by ivan.milic on topic Re: Module Bottoms not lining up
in index.php of template you can find this:
replace it with:
<?php
$fArray = Array();
if($showfooter[1])$fArray[1] = '"f1"';
if($showfooter[1])$fArray[2] = '"f2"';
if($showfooter[1])$fArray[3] = '"f3"';
if($showfooter[1])$fArray[4] = '"f4"';
BoxHeights.equalise(<?php echo join(",",$fArray); ?>);
?>
Code:
<?php if($footer3modules) { ?>
BoxHeights.equalise(<?php if($showfooter[1]) { ?>'f1'<?php } if($showfooter[2]) { ?><?php if($showfooter[2]) { ?>,<?php } ?>'f2'<?php } if($showfooter[3]) { ?>,'f3'<?php } if($showfooter[4]) { ?>,'f4'<?php } ?>);
<?php } ?>
replace it with:
<?php
$fArray = Array();
if($showfooter[1])$fArray[1] = '"f1"';
if($showfooter[1])$fArray[2] = '"f2"';
if($showfooter[1])$fArray[3] = '"f3"';
if($showfooter[1])$fArray[4] = '"f4"';
BoxHeights.equalise(<?php echo join(",",$fArray); ?>);
?>
Please Log in to join the conversation.
-
marknissan@gmail.com
Inactive member - Topic Author
- Member
Less
More
- Posts: 26
- Thank you received: 0
12 years 7 months ago - 12 years 7 months ago #18662
by marknissan@gmail.com
Replied by marknissan@gmail.com on topic Re: Module Bottoms not lining up
Hi,
I did that, but the page broke, loaded as white space, page source was nothing.
Please have a look at the index.php pages attached, the original, and the one I altered per your instructions. The location is root/templates/hot_destinations/index.php
Cheers
Mark
I did that, but the page broke, loaded as white space, page source was nothing.
Please have a look at the index.php pages attached, the original, and the one I altered per your instructions. The location is root/templates/hot_destinations/index.php
Cheers
Mark
Last edit: 12 years 7 months ago by marknissan@gmail.com.
Please Log in to join the conversation.
-
marknissan@gmail.com
Inactive member - Topic Author
- Member
Less
More
- Posts: 26
- Thank you received: 0
12 years 7 months ago #18663
by marknissan@gmail.com
Replied by marknissan@gmail.com on topic Re: Module Bottoms not lining up
Please Log in to join the conversation.
Time to create page: 0.095 seconds