Thank you very much cfultz! This looks promising.. one snag along my way.
I couldn't find the following '
4' lines of code while editing my new themes index.template.php file.
[UPDATE/EDIT]
I guess I'm more of a noob than I thought.. I managed to download a 2.0 RC2 theme, which obviously won't work with 1.1.11 (My current version). I downloaded the proper files, made the edits and got it working.
Thx again cfultz! The Parser made it much easier for a beginner such as my self to find/edit the correct script.
----------------
'
1'
Can't Find:
, 'viewmembers'
(Add after:)
, 'garagesettings', 'garagemanagement'
----------------
'
2'
Can't Find:
$current_action = 'search';
(Add after:)
if ($context['current_action'] == 'garage')
$current_action = 'garage';
----------------
'
3'
Can't Find:
// Work out where we currently are.
(Add before:)
// We need loadSmfgConfig()
require_once('GarageFunctions.php');
// Load settings
loadSmfgConfig();
----------------
'
4'
Can't Find:
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
(Add after:)
// Show the [garage] button.
if(!$smfgSettings['disable_garage'] || allowedTo(array('manage_garage_settings', 'manage_garage'))) {
echo ($current_action=='garage' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'garage' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=garage">' , $txt['smfg_garage'] , '</a>
</td>' , $current_action == 'garage' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
}
----------------
[UPDATE/EDIT]
I guess I'm more of a noob than I thought.. I managed to download a 2.0 RC2 theme, which obviously won't work with 1.1.11 (My current version). I downloaded the proper files, made the edits and got it working.
Thx again cfultz! The Parser made it much easier for a beginner such as my self to find/edit the correct script.