Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Undoing changes done to login box  (Read 3775 times)

0 Members and 1 Guest are viewing this topic.

tim18

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 22
Undoing changes done to login box
« 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
« Last Edit: July 23, 2007, 08:58:40 am by GauGau »
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Undoing changes done to login box
« Reply #1 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.

tim18

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 22
Re: Undoing changes done to login box
« Reply #2 on: July 23, 2007, 07:33:45 am »

Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.