Re: Module Bottoms not lining up

More
12 years 7 months ago #18593 by marknissan@gmail.com
I have a little problem on one page only, the "home" page that is the 1st page in the menu.

see screen shot - the modules that should expand with white space to line up with the others, don't.

all the other pages are fine


Attachments:

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
12 years 7 months ago #18614 by milos
Sorry, but you must give us your live link so we could inspect the code.

Please Log in to join the conversation.

More
12 years 7 months ago #18633 by marknissan@gmail.com

Please Log in to join the conversation.

More
12 years 7 months ago #18655 by ivan.milic
in index.php of template you can find this:
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.

More
12 years 7 months ago - 12 years 7 months ago #18662 by marknissan@gmail.com
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
Last edit: 12 years 7 months ago by marknissan@gmail.com.

Please Log in to join the conversation.

More
12 years 7 months ago #18663 by marknissan@gmail.com
I've zipped the files

herein

File Attachment:

File Name: index_php_Archive.zip
File Size:10 KB
Attachments:

Please Log in to join the conversation.

Time to create page: 0.179 seconds
Powered by Kunena Forum