forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: tim18 on July 22, 2007, 08:30:51 am

Title: Undoing changes done to login box
Post by: tim18 on July 22, 2007, 08:30:51 am
Hey,

I recently installed the theme sosuechtig_black for my gallery. It has a really cool black login box that fits with the theme. However when i installed the modpack it changed it to a white login box. Just wondering,how and why this happened and if possible, the easiest way to fix it!

Tim
Title: Re: Undoing changes done to login box
Post by: Stramm on July 22, 2007, 10:45:58 am
As I did for the modpack, the author of your theme has written a login box. Unfortunately he partially used the same naming sheme.

Solution:
Delete or just ignore the actual loginform function and copy/ paste the one from the modpack into your theme.php (you can find it in include/themes.inc.php function loginForm).

Now edit the html as needed (you even can copy/ paste that part from the themes loginform function). Eg. add css to the form like style="background: black;

If you want to use PM and buddy statistics, then do similar there.

Title: Re: Undoing changes done to login box
Post by: tim18 on July 23, 2007, 07:33:45 am
Thanks