already i am editing base template wistie, and i am trying to put all login items in a single div this is my older div with all login items.
PHP Code:
<div class="regs">
{if $user_authenticated neq true}
<a href='{$URL_login}'>{#PLIGG_Visual_Login_Title#}</a>
<a href='{$URL_register}'>{#PLIGG_Visual_Register#}</a>
{/if}
{if $user_authenticated eq true}<a href="{$URL_userNoVar}">{#PLIGG_Visual_Profile#}</a>{/if}
{if isset($isgod) && $isgod eq 1}<a href="{$URL_admin}">{#PLIGG_Visual_Header_AdminPanel#}</a>{/if}
{if $user_authenticated eq true} <a href="{$URL_logout}"> {#PLIGG_Visual_Logout#}</a>{/if}
{checkActionsTpl location="tpl_pligg_sidebar2_end"}
</div
And the code in wistie is this
PHP Code:
<li><span id="login">
{if $user_authenticated eq true}<span style="text-transform:capitalize"><a href="{$URL_userNoVar}">{$user_logged_in}</a></span> | <a href="{$URL_logout}"> {#PLIGG_Visual_Logout#}</a>{/if}
{if $user_authenticated neq true}
<a href='{$URL_register}'>{#PLIGG_Visual_Register#}</a> | <a href='{$URL_login}'>{#PLIGG_Visual_Login_Title#}</a>
{checkActionsTpl location="tpl_pligg_login_link"}
{/if}
</span></li>
If i change something like this, can be a very big problem in future? or there's no sin.
i am trying to do something like that.(img). All in a single bar.
my template is a modification from other ones, but thinking is better edit the base template, for futures updates.
is someone can help me with this modification (the bar) would be nice, is very hard to do something like this i am not a programer, all what i do is watching videos in youtube and tutorials, codes in forums, etc.
That's all folks
bye!
thanks for answer.