Contributions

Credit Modules (Category Index)
Search: 

ajax login

hola esta contribucion no esta terminda solo es un ejemplo mmm estem el diseņo no es muy bonito pero es para empezar :-) lo que hace es que apareca el formulario logyn con un efecto tipo lite esta bueno :-) ami me gusta espero mejorarlo en eso estoy :-(

saludos

Expand All / Collapse All

IBOX LOGIN V1.0 faaliyet 23 Feb 2008

*****************************************************INSTALL IBOX LOGIN V1.0 by faaliyet******************************************************

1)open catalog/includes/languages/english.php file

Find:
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

And Replace With:
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s" rel="ibox&height=250&width=350" target="loginbox.php"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

2)Uploda new files (ibox.js , indicator.gif , ibox.css and into your catalog/js path.If does not exit this path , create new file into your catalog with name js)
(Upload loginbox.php file into your catalog ,and upload indicator.gif file into your catalog/images)

3)Open catalog/index.php and catalog/create_account.php files

Find:
</head>

And after this add this new lines:
<script language="JavaScript" type="text/javascript" src="js/ibox.js"></script>
<link rel="stylesheet" href="js/ibox.css" type="text/css" media="screen"/>


4)open catalog/includes/languages/english/create_account.php

Find:
please login at the <a href="%s"><u>login page</u></a>.');

And Replace With:
please login at the <a href="%s" rel="ibox&height=250&width=350" target="loginbox.php"><u>login page</u></a>.');


+================================================+
-And Optional in catalog/includes/header.php file-
+================================================+

Then modify in catalog/includes/header.php

Find:
<?

Add Before

<script type="text/javascript" src="js/ibox.js"></script>
<link rel="stylesheet" href="js/ibox.css" type="text/css" media="screen"/>


Still in header.php

Search for the link on the Account:

echo HEADER_TITLE_MY_ACCOUNT;

<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" rel="ibox&height=300&width=400" target="login.php" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>

Then Add: rel & target:

rel="ibox&height=300&width=400" target="login.php"

From login.php please remove left & right columns then do same in header.php

***That's All.Enjoy.2 screen shots included in zip file...***

Ajax Login arcadhia 22 Feb 2008
ajax login INSTALACION zerpicco_01 12 Jan 2008
ajax login zerpicco_01 12 Jan 2008

Note: Contributions are used at own risk.