Pretty tough decision from my boss since he wanted the jQuery sliding login in static html website attach together with Drupal. Meanwhile, I figure out the session variables in Drupal must be enable in jQuery login in order to synchronize both.
So, this's the code after do some hard-code which is need to put in the static html:
chdir('/home/your_username/public_html/your_website/');
require('/home/your_website/public_html/your_website/includes/bootstrap.inc');
drupal_bootstrap(DRUPAL_BOOTSTRAP_SESSION);
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
drupal_bootstrap(DRUPAL_BOOTSTRAP_DATABASE);
include('/home/your_username/public_html/your_website/themes/aquasoft/page-user-login.tpl.php');
Showing posts with label jQuery. Show all posts
Showing posts with label jQuery. Show all posts
Thursday, January 14, 2010
Subscribe to:
Posts (Atom)