question regarding System Links
i removed the login part of system links fine (in theme.tpl, i login via the sidebar block), but is there anyway to make the other links show up when i am logged in, like admin panel, logout, etc. or a way to make them all show up when logged in. or a way to just turn off "Login", but leave the rest?
i am the only one uploading here so im trying to make it more clean. except when im logged in, i dont care how it looks then.
Thanks!
Posts: 16503
I assume since you're asking this question, you've just removed this entire block of code from theme.tpl:
<div class="gbSystemLinks"> {g->block type="core.SystemLinks" order="core.SiteAdmin core.YourAccount core.Login core.Logout" othersAt=4} </div>Since you're the only person logging, you could wrap that code with something like this:
{if $user.isAdmin} // admin only can see these links <div class="gbSystemLinks"> {g->block type="core.SystemLinks" order="core.SiteAdmin core.YourAccount core.Login core.Logout" othersAt=4} </div> {/if}http://codex.gallery2.org/index.php/Gallery2:Tpl_Reference#User_Information
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 112
thanks! works most excellently!