News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Small MOD on login page if somone is willing to help me!

Started by gabbadude, March 13, 2006, 08:40:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gabbadude

Hey Guys,

I was hoping someone could help me out with a small mod.

I have my CPG configured to "Allow unlogged users (guest or anonymous) acces" = "No".

Therefore as you know, I it always shows the login page first.  What I want to do is put an image on either side of the login table but I don't want it to show once  am logged in.  the user is logged in.  I only want it to show when the login page is displayed.

I have searched the code to try and figure this out myself but I am not good with PHP coding.

Can someone help me please?

Thanks in advance.  :)

gabbadude

Stramm

open login.php in your editor and find
starttable('-1', $lang_login_php['enter_login_pswd'], 2);


below is the html that generates the login form. Modify it to your needs
backup the file first

gabbadude

Thanks for this but if I do this it will also show up once I have logged in.

As I said before, PHP and me are not good together.  :S

Can you help?

Stramm

??? once you're logged in you don't see the login.php form anymore and there's no more link to it????

I don't get what you want / need