News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Can someone help me with this old advice?

Started by Surferbird, November 15, 2008, 04:39:06 AM

Previous topic - Next topic

Surferbird

Refering to this advice here http://www.simplemachines.org/community/index.php?topic=69554.msg1415458#msg1415458

In this part instructions not really work, here is advice to do this (third place) find in index.template.php

echo '
</div>
</body></html>';
}


and then replease with this

echo '
</div></div>
</body></html>';
}


But at this moment in version 1.1.7 this place look like this

// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
</body></html>';
}

// Show a linktree. This is that thing that shows "My Community | General Category | General Discussion"..
function theme_linktree()
{
global $context, $settings, $options;

echo '<div class="nav" style="font-size: smaller; margin-bottom: 2ex; margin-top: 2ex;">';

// Each tree item has a URL and name. Some may have extra_before and extra_after.


How to do it correct, because it doesn't work?
.:: Always something to ask - always grateful for assistance ::.

Antechinus

Try this:

// The following will be used to let the user know that some AJAX process is running
   echo '
   <div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
</div>
</body></html>';
}

Surferbird

.:: Always something to ask - always grateful for assistance ::.

Antechinus

Thought it would. All the instructions were telling you to do was to add an extra </div> at the end.
Can you please tick this topic off as solved now?

Surferbird

.:: Always something to ask - always grateful for assistance ::.

Marcus Forsberg


Advertisement: