Hiya
What is the right code for the E Arcade, index.template.php?
Regards
Joe
Search for:
'admin',
Add after:
'managearcade',
Search for:
if (in_array($context['current_action'], array('search',
Add after:
'arcade',
Search for:
// How about the [search] button?
Add after:
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Quote from: Skhilled on February 25, 2009, 09:20:00 AM
Search for:
'admin',
Add after:
'managearcade',
Search for:
if (in_array($context['current_action'], array('search',
Add after:
'arcade',
Search for:
// How about the [search] button?
Add after:
echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'arcade' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=arcade">' , $txt['arcade'] , '</a>
</td>' , $current_action == 'arcade' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
What does that look like altogether?
The code goes into the different parts of /Themes/default/index.template.php. Search for the parts as shown and add the code shown. If you are using a different theme then the last one could possibly be different.
Quote from: Skhilled on February 25, 2009, 03:50:54 PM
The code goes into the different parts of /Themes/default/index.template.php. Search for the parts as shown and add the code shown. If you are using a different theme then the last one could possibly be different.
I am using default theme
So, what is the problem? You're not even telling me if you have a problem. Please be specific. Any errors in your log? Not installing correctly? Something not show properly?
Quote from: Skhilled on February 26, 2009, 08:16:21 AM
So, what is the problem? You're not even telling me if you have a problem. Please be specific. Any errors in your log? Not installing correctly? Something not show properly?
Well Its wierd because I installed it to my test forum, both same version of smf. Works perfect. No errors but when I install it to my proper forum, it says index.template.php failed.
I have not install smfarcade to either forums
Regards
Joe
You get a "Test Failed" when SMF's original code has been modified by another mod or you edited it yourself. So, either you have installed another mod or even reinstalled the arcade and it has left behind some of its code which was never removed.
Since mods look for specific code it will give a "Test Failed" even if the arcade code is already there. As I've explained to you before on another site, you'll have to add the code I've gave you above. Some of it may already been in place.
I think it has no errors regarding the codes,and i guess it could be the perfect one,because they are both version of smf..
_________________
What are you talking about?
Hi, Steventoday. How are you and welcome to Docskillz. :)