Hi
I'm in the proces of adapting the Hardwired Theme to the MOD pack.
Everything is in place except the login form (and a few pictures).
Right now I have both the original login button and the login form.
http://fjotte.dk/gal_da/index.phpFrom template.html:
<td class="gallery">
<div align="right" class="topmenu"> {SYS_MENU} </div>
<div align="left" class="topmenu">{SUB_MENU}</div>
<div align="right" class="topmenu"> {LOGIN_FORM} </div> <br />
<div align="center"> {LANGUAGE_SELECT_FLAGS} </div>
<div align="center"> {THEME_SELECT_LIST} {LANGUAGE_SELECT_LIST} </div> <br />
{ADMIN_MENU} {GALLERY}</td>
Sometimes when I use login form I get this error:
Error
You are already logged in !
If I completely remove the code for the original login button everything messes up.
From theme.php:
<!-- BEGIN login -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
<td><img name="buttonleft" src="themes/hardwired/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
<td style="background: url(themes/hardwired/images/buttoncenter.gif);">
<a href="{LOGIN_TGT}" title="{LOGIN_LNK}">{LOGIN_LNK}</a>
</td>
<td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /></td>
<!-- END login -->
<!-- BEGIN logout -->
<td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
<td><img name="buttonleftout" src="themes/hardwired/images/buttonleftout.gif" width="17" height="25" border="0" alt="" /></td>
<td style="background: url(themes/hardwired/images/buttoncenter.gif);">
<a href="{LOGOUT_TGT}" title="{LOGOUT_LNK}">{LOGOUT_LNK}</a>
</td>
<td><img name="buttonright" src="themes/hardwired/images/buttonright.gif" width="7" height="25" border="0" alt="" /></td>
<!-- END logout -->
(I only removed the login part)
I would like to keep the original button and have the two fields placed beside it in the Top menu (that is {SYS_MENU}).
Can any one give me a clue where to start?
Mimer

Coppermine install:
http://fjotte.dk/gal_da/Forum install: Not bridged
Coppermine version: cpg1.4.13
Forum version: Not bridged
Test user account: tester / tester