Demo:
http://www.invisiont...ndex.php?/index
Go to
open acp-->Look and feel--> your skin --> Global templates --> Global Template
Find
<div id='user_navigation' class='not_logged_in'> <a href='{parse url="app=core&module=global§ion=login" base="public"}' title='{$this->lang->words['sign_in']}'>{parse replacement="signin_icon"} {$this->lang->words['sign_in']}</a> <a href="{parse url="app=core&module=global§ion=register" base="public"}" title='{$this->lang->words['register']}'>{parse replacement="register_icon"} {$this->lang->words['register']}</a> <a href="{parse url="app=core&module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>{parse replacement="help_icon"} {$this->lang->words['sj_help']}</a> </div>
Replace with
<div id="user_navigation" class="not_logged_in"> <img src='{$this->settings['img_url']}/key.png' alt=""><a href="javascript:loginjscript('jscript','changeit','Sign In','Sign In');" id="changeit"> Sign In</a> <a href="{parse url="app=core&module=global§ion=register" base="public"}" title='{$this->lang->words['register']}'>{parse replacement="register_icon"} {$this->lang->words['register']}</a> <a href="{parse url="app=core&module=help" base="public"}" title='{$this->lang->words['view_help']}' rel="help" accesskey='6'>{parse replacement="help_icon"} {$this->lang->words['sj_help']}</a> <script type="text/javascript"> function showhide(targetID) { //change target element mode var elementmode = document.getElementById(targetID).style; elementmode.display = (!elementmode.display) ? 'none' : ''; } function changetext(changee,oldText,newText) { //changes text in source element var elementToChange = document.getElementById(changee); elementToChange.innerHTML = (elementToChange.innerHTML == oldText) ? newText : oldText; } function loginjscript(targetID,sourceID,oldContent,newContent) { showhide(targetID); changetext(sourceID,oldContent,newContent); } </script> <span id="jscript" style="display: none;"> <a id="_regularsignin"></a> <form action="index.php?app=core&module=global§ion=login&do=process" method="post" id="login"> <br> <table> <tbody><tr> <td align="right" width="35%"><label for="username">Username:</label></td> <td width="65%"><input value="" id="username" class="input_text" name="username" size="20" type="text"></td> </tr> <tr> <td align="right" width="35%"><label for="password">Password:</label></td> <td width="65%"><input id="password" class="input_text" name="password" size="20" type="password"></td> </tr> <tr> <td colspan="2" align="center" width="100%"><a href="index.php?app=core&module=global§ion=lostpass" class="desc" title="">I've forgotten my password</a></td> </tr> <tr> <td colspan="2" align="center"><input class="input_submit" value="Sign In" type="submit"></td> <tr> </tr> </tbody></table> </form> </span> </div>
This is what invisiontweaks use.
Instead of the log-in page, it slides down and you can log-in.
Edited by iTzoODavidOo, 23 August 2009 - 04:35 PM.