How can i reduce the number of items at the footer of my website?

Started by Joseph H, March 10, 2012, 07:26:51 AM

Previous topic - Next topic

Arantor

But if you removed that code, there is no reason for those indexes to be called for, which suggests it wasn't done properly.

typan4

The above code is exactly what I removed. lines 140-142-143

<li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li>
         ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', '
         <li class="last"><a id="button_wap2" href="', $scripturl , '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li>

But getting errors like this

http://www.midlandbullets.co.uk/smf/index.php?board=1.0
8: Undefined index: rss
File: /home/midlandb/public_html/smf/Themes/default/MessageIndex.template.php (html_above sub template - eval?)
Line: 148
I've found it....it was where I left it !

Arantor


typan4

In my cPanel I highlighted it in the index.template.php then pressed delete.

I've also tried replacing it with a index.template.php from a clean test forum. still get the errors and no links at the bottom of the page
I've found it....it was where I left it !

Arantor

So the language data for them is missing in the index.english.php file. But that doesn't explain why if you deleted it, the code is still being called. That would imply that you didn't actually save the changes.

typan4

I think I may have fixed it. I've replaced the index.english.php file as I had recently changed the name 'guest' to 'ex member' I can only think I must have deleted something else by mistake as well. Just cleared the error logs and no new ones as yet.  :)
I've found it....it was where I left it !

Advertisement: