How to change tab names.

Rilax.

Member
Jun 25, 2011
115
11
How do I change the name of this tab.

poopshoes.png
 

zSaber

Member
Apr 5, 2011
230
12
Ok well first you go to your htdocs then open up the folder called "Templates" Then look in their for a file called community_header.php. Then you just go to the bottom and find the tab your trying to change. I will post some pictures later on.
 

Rilax.

Member
Jun 25, 2011
115
11
I have;

Code:
</div>
</div>
<?php
		break;
	case "paypal":
?>
<div id="navi2-container" class="pngbg">
    <div id="navi2" class="pngbg clearfix red">
		<ul>
			<li class="<?php if($page['id'] == "paypal"){ echo "selected"; } ?>">
				<?php if($page['id'] == "credits"){ echo $lang->loc['credits']; }else{ echo "<a href=\"".PATH."/credits\">".$lang->loc['credits']."</a>"; } ?>
			</li>
			<li class="<?php if($page['id'] == "club"){ echo "selected"; } ?>">
				<?php if($page['id'] == "club"){ echo $lang->loc['habbo.club']; }else{ echo "<a href=\"".PATH."/credits/club\">".$lang->loc['habbo.club']."</a>"; } ?>
			</li>
			<li class="<?php if($page['id'] == "collectables"){ echo "selected"; } ?>">
				<?php if($page['id'] == "collectables"){ echo $lang->loc['collectables']; }else{ echo "<a href=\"".PATH."/credits/collectables\">".$lang->loc['collectables']."</a>"; } ?>
			</li>
    		<li class="<?php if($page['id'] == "pixels"){ echo "selected"; } ?> last">
				<?php if($page['id'] == "pixels"){ echo $lang->loc['pixels']; }else{ echo "<a href=\"".PATH."/credits/pixels\">".$lang->loc['pixels']."</a>"; } ?>
    		</li>
		</ul>
    </div>
</div>
<?php
		break;
}
?>

You can see where I changed it "Coins", to "PayPal". But this is what happened:

poopsocks.png
 

brsy

nah mang
May 12, 2011
1,530
272
Please reply + like if this fix works.

Code:
</div>
</div>
<?php
        break;
    case "paypal":
?>
<div id="navi2-container" class="pngbg">
    <div id="navi2" class="pngbg clearfix red">
        <ul>
            <li class="<?php if($page['id'] == "paypal"){ echo "selected"; } ?>">
                <?php if($page['id'] == "credits"){ echo $lang->loc['paypal']; }else{ echo "<a href=\"".PATH."/paypal">".$lang->loc['paypal']."</a>"; } ?>
            </li>
            <li class="<?php if($page['id'] == "club"){ echo "selected"; } ?>">
                <?php if($page['id'] == "club"){ echo $lang->loc['habbo.club']; }else{ echo "<a href=\"".PATH."/credits/club\">".$lang->loc['habbo.club']."</a>"; } ?>
            </li>
            <li class="<?php if($page['id'] == "collectables"){ echo "selected"; } ?>">
                <?php if($page['id'] == "collectables"){ echo $lang->loc['collectables']; }else{ echo "<a href=\"".PATH."/credits/collectables\">".$lang->loc['collectables']."</a>"; } ?>
            </li>
            <li class="<?php if($page['id'] == "pixels"){ echo "selected"; } ?> last">
                <?php if($page['id'] == "pixels"){ echo $lang->loc['pixels']; }else{ echo "<a href=\"".PATH."/credits/pixels\">".$lang->loc['pixels']."</a>"; } ?>
            </li>
        </ul>
    </div>
</div>
<?php
        break;
}
?>
 

Rilax.

Member
Jun 25, 2011
115
11
Please reply + like if this fix works.

Code:
</div>
</div>
<?php
        break;
    case "paypal":
?>
<div id="navi2-container" class="pngbg">
    <div id="navi2" class="pngbg clearfix red">
        <ul>
            <li class="<?php if($page['id'] == "paypal"){ echo "selected"; } ?>">
                <?php if($page['id'] == "credits"){ echo $lang->loc['paypal']; }else{ echo "<a href=\"".PATH."/paypal">".$lang->loc['paypal']."</a>"; } ?>
            </li>
            <li class="<?php if($page['id'] == "club"){ echo "selected"; } ?>">
                <?php if($page['id'] == "club"){ echo $lang->loc['habbo.club']; }else{ echo "<a href=\"".PATH."/credits/club\">".$lang->loc['habbo.club']."</a>"; } ?>
            </li>
            <li class="<?php if($page['id'] == "collectables"){ echo "selected"; } ?>">
                <?php if($page['id'] == "collectables"){ echo $lang->loc['collectables']; }else{ echo "<a href=\"".PATH."/credits/collectables\">".$lang->loc['collectables']."</a>"; } ?>
            </li>
            <li class="<?php if($page['id'] == "pixels"){ echo "selected"; } ?> last">
                <?php if($page['id'] == "pixels"){ echo $lang->loc['pixels']; }else{ echo "<a href=\"".PATH."/credits/pixels\">".$lang->loc['pixels']."</a>"; } ?>
            </li>
        </ul>
    </div>
</div>
<?php
        break;
}
?>

Didn't work :\
 

Users who are viewing this thread

Top