- Posts: 14116
- Thank you received: 1639
Footer Menu Not Displayed
-
ivan.milic
Support Staff - Moderator
Less
More
13 years 8 months ago #6778
by ivan.milic
Replied by ivan.milic on topic Re: Footer Menu Not Displayed
Link, Access .....
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 8 months ago #6779
by ivan.milic
Replied by ivan.milic on topic Re: Footer Menu Not Displayed
In index.php of template change :
$bottommodules = 0;
to
$bottommodules = 1;
$bottommodules = 0;
to
$bottommodules = 1;
Please Log in to join the conversation.
-
trinitywebhosting
Inactive member - New Member
Less
More
- Posts: 1
- Thank you received: 0
13 years 7 months ago #7970
by trinitywebhosting
Replied by trinitywebhosting on topic Re: Footer Menu Not Displayed
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.
$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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 7 months ago - 13 years 7 months ago #7976
by ivan.milic
Replied by ivan.milic on topic Re: Footer Menu Not Displayed
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]
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: 13 years 7 months ago by ivan.milic.
Please Log in to join the conversation.
Time to create page: 0.083 seconds