Footer Menu Not Displayed

More
12 years 11 months ago #6778 by ivan.milic
Link, Access .....

Please Log in to join the conversation.

More
12 years 11 months ago #6779 by ivan.milic
In index.php of template change :

$bottommodules = 0;
to
$bottommodules = 1;

Please Log in to join the conversation.

More
12 years 10 months ago #7970 by trinitywebhosting
Changing the index.php doesn't seem like an ideal solution. Can we have an updated index.php? The problem goes beyond just the footer. Here's the code at the top of the index.php that is supposed to activate the bottom modules

$bottommodules = 0;
for ($loop = 4; $loop <= 6; $loop += 1) {
if($showuser[$loop]) { $bottommodules++; }
}

If you are able to read this you will recognize that it is only looking for user4, user5, and user6 modules. But, at the bottom of the index.php where the modules display the following modules don't activate if $bottommodules = 0 Advert1, Advert2, Advert3, user4-6, and Footer. So the advert positions won't show either unless you make that change to $bottommodules=1.

I would think that many people would run into this, so it would be worth a template revision.

Please Log in to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #7976 by ivan.milic
Ok thanks,

bug was here:
...
</div>
<?php if($bottommodules) { ?>

<div id="bottom_modules">
<?php if($showuser[4]) { ?>
<div class="module<?php echo $bottommodules; ?>">
...

it should be

...
</div>
<?php if($bottommodules || $bottommodules2) { ?>

<div id="bottom_modules">
<?php if($showuser[4]) { ?>
<div class="module<?php echo $bottommodules; ?>">
...

[note for readers: this was only case with 1.6 template]
Last edit: 12 years 10 months ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.146 seconds
Powered by Kunena Forum