TinyPortal
Development => Feedback => Bugs/Errors => Topic started by: sammie99 on October 04, 2006, 11:36:18 AM
i am just following the code edit doc http://www.tinyportal.net/smf/index.php?topic=7884 (http://www.tinyportal.net/smf/index.php?topic=7884) here and there is an error in the code:
$boarddir/Themes/babylon/index.template.php
search for this:
echo '
</body>
</html>';
add this before:
// TinyPortal
echo '</div>';
if($context['TPortal']['fixed_width']!=0)
echo '</td></tr></table>';
// end
all i can find on that page is this:
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>';
the bold is extra can someone tell me what i need to do?
You just place the code right over the body tag
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
The code you need to add here
</body>
</html>';
One esier way to do this is to use the premade files i have done and sended up in to the sticky post in the installations board ;)
Download the zip and extract it, then upload and replace the files with your old ones (going with this will erase some mods if you have other mods installed)
this is a new install, it's not very clear on the steps to install all this.
i have only the smf and tp, nothing more added to them.
it's complex
sammie
If you have a clean install, use the files allready made in the sticky post in the installations forum, that way you dont have to add any code manually, kust upload and replace the files from the zip :)
This "ajax" code is specific to SMF 1.1RC3 and only there. The docs are not reflecting this yet..but TP mod files are.