Announcements > Site Issues - General

Code

(1/3) > >>

WBA Dude:
Hiya

What is the right code for the E Arcade, index.template.php?

Regards
Joe

Skhilled:
Search for:

--- Code: ---'admin',
--- End code ---

Add after:

--- Code: ---'managearcade',
--- End code ---

Search for:

--- Code: --- if (in_array($context['current_action'], array('search',
--- End code ---

Add after:

--- Code: ---'arcade', 
--- End code ---

Search for:

--- Code: ---// How about the [search] button?
--- End code ---

Add after:

--- Code: ---    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</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 . '">&nbsp;</td>' : '';
                       

--- End code ---

WBA Dude:

--- Quote from: Skhilled on February 25, 2009, 09:20:00 AM ---Search for:

--- Code: ---'admin',
--- End code ---

Add after:

--- Code: ---'managearcade',
--- End code ---

Search for:

--- Code: --- if (in_array($context['current_action'], array('search',
--- End code ---

Add after:

--- Code: ---'arcade', 
--- End code ---

Search for:

--- Code: ---// How about the [search] button?
--- End code ---

Add after:

--- Code: ---    echo ($current_action == 'arcade' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</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 . '">&nbsp;</td>' : '';
                       

--- End code ---

--- End quote ---

What does that look like altogether?

Skhilled:
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.

WBA Dude:

--- 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.

--- End quote ---

I am using default theme


Navigation

[0] Message Index

[#] Next page

Go to full version