Quote:
Originally Posted by drumsy
Simple question regarding templates.
I've had this hack installed for awhile but just noticed something odd in User CP. Along the left-hand side, Edit MyGarage (my name for it) appears over Edit Options. However, when I click on Edit Options, both Edit MyGarage and Edit Options are highlighted. When I click on any other item on the left-hand side, such as Edit Profile, etc., only that one is highlighted.
How can I fix this?
|
You have almost certainly made a typo in your edit of this step...
HTML Code:
4. Perform the following TEMPLATE edits:
4a. In USERCP_SHELL:
Find:
#######################
<tr>
<td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td>
</tr>
#######################
Add ABOVE:
#######################
<!-- START VBGARAGE HACK -->
<if condition="$permissions['genericpermissions'] & CANVBGARAGE">
<tr>
<td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="vbgarage.php?$session[sessionurl]do=editgarage">$vbphrase[vbgarage_edit]</a></td>
</tr>
</if>
<!-- END VBGARAGE HACK -->
#######################
The stock template mod does not have that anomoly.