Good question... I dunno what is the answer to that question. I'll do some investigation and get back to you if I got an answer. You should email the people at iPage as they probably know..
Hey ally thanks for your reply, I already used the login box, but I just need the basic login stuff for the main index page. not sure if theres a contribution for it or if someone has a script to do this..
Go to catalog/index.php. Find the following code:.
<td class="main"><?php echo TEXT_MAIN; ?>.
Add the following below this (or wherever you want it):.
<td class="main"> <?php require(DIR_WS_BOXES'loginbox.php'); ?>.
And it will only show on your front page. Works for me anyway..
Anyway to have it appear on the languages/english/index.php ? .
I want it in the center, not on one of the columns, thanks for your replies, much appreciated..
Reached the limit of my knowledge now!!! Can anyone else help?..
Sorry to be a pain- just re-read your last comment and my suggestion will make it show in the centre - just underneath your intro text..
Does this make sense - or am I missing something!?!?!?!..
I'll try to help......put this following code in your greeting text page in english.php.
This should do it then......
..if it doesn't work....oopsy.
This post has been edited by.
: 02 July 2004, 14:47..
Hehe thanks guys, getting close, I'm gonna try to edit it to get the look I want, but it's hard to edit the form in dreamweaver. in the meantime if anyone knows anything feel free to post it :-D..
I don't know much about codes, but I do know that putting a session id hard in a page is never really considered as very smart [this can cause other people to log in on other peoples account and you NEVER want that].
Maybe I am wrong here, but this looks very shabby to me [no offense]..
I have to agree with Patrick on this one. Plus you only want it to show when someone isn't logged in so you need to put it within the if/else statement already set up on login.php..
Finally if you're having trouble with Dreamweaver, why don't you use the basic File Manager within admin function - it's basic but you'll really get to learn the code then!!!.
That's enough for now...
I always edit the files manually through FTP. I'm familiar with the code but I'm no expert allthough I should be after all these years lol...
This may not be what you want, but it's an easy solution..
What I did (at one point..I later took it out because I wanted something else), was I created an image and image mapped the login page links to both sides since in the login page it gives you the option to login or create an account..
Then I inserted the <map>html code for the image and the map into english/index.php in place of the "Welcome Guest" text. My image was of two boxes. On left, Welcome guest, would you like to log in. On right, create an account..
The only problem with this is that it will always be there, whether someone is logged in or not, however, when someone is logged in, they would probably just ignore the box, if they even go back to the default page. I have noticed that most people don't return to the home page anyway unless they close the browser then reopen it since osc has easy searching and browsing options on every page..
If you do this, a good idea for text in the left part of the image would be "Are you logged in? If not, log in now" then link login now to the login page. Same for create an account, link that part of the image to the account creation page..
Just a thought...
Anyone know how I can put a login on the index page like they did in.
? thank you all help is much appreciated!..
There's a great contribution that I used on my iPage site - hope this helps.
This post has been edited by.
: 02 July 2004, 13:28..