how do i remove something from navbar

Started by rico760, May 20, 2008, 08:30:55 PM

Previous topic - Next topic

rico760

I downloaded a mod and decided to uninstall it and that navbar link is still there...how do i remove it?

shadow82x

What theme are you using? Can you attach your themes/yourtheme/index.template.php?

Colin B
Former Spammer, Customize, & Support Team Member

rico760

#2
im using default http://www.rico760.com the tags link is what im trying to remove

shadow82x

Try this. Rename it back to index.template.php

I removed the tags under navigation.

Note: I removed google tagged too if thats fine

Removed

// The [GoogleTagged] Button
echo ($current_action == 'tagged' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tagged' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tagged">' , $txt['googletagged']  , '</a>
</td>' , $current_action == 'tagged' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// the [tags] button
echo ($current_action == 'tags' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'tags' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=tags">' , $txt['smftags_menu']  , '</a>
</td>' , $current_action == 'tags' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
Colin B
Former Spammer, Customize, & Support Team Member

rico760

may you re add google tagged please? cause thats one i need

shadow82x

Ahh ok than. :) Rename this to index.template.php


I removed
      // the [tags] button
      echo ($current_action == 'tags' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'tags' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=tags">' , $txt['smftags_menu']  , '</a>
            </td>' , $current_action == 'tags' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

Colin B
Former Spammer, Customize, & Support Team Member

rico760

nvm i fixed it on my own! thanks for teaching me how to fix it!!!

now i can add and remove my own buttons!

shadow82x

Quote from: rico760 on May 20, 2008, 08:43:39 PM
nvm i fixed it on my own! thanks for teaching me how to fix it!!!

now i can add and remove my own buttons!
Great. :D
Colin B
Former Spammer, Customize, & Support Team Member

metallica48423

Btw, this is the 2.0 support board.  From the looks of it, you're using 1.1?

Glad to hear you got it, though
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

QuoteMicrosoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"


Useful Links:
Online Manual!
How to Help us Help you
Search
Settings Repair Tool

Advertisement: