PDA

View Full Version : Account Options



diversion
March 8th, 2003, 03:38 PM
I have successfully removed the account options from the left nav panel. At the top of my page, I have a nav bar with buttons that make use of pop-up windows.

I would like to include a "Login" button which takes you to a pop-up and gives options - login as existing customer or set-up a new account.

I put <? include "$cart_isp_root/login.php" ?> into the pop-up but when I try to execute the button I get a message in the pop-up:

Warning: Failed opening '/login.php' for inclusion (include_path='.:/usr/local/plesk/php/lib/php') in /usr/local/plesk/apache/vhosts/xxxxxxx.com/httpdocs/E-Shop/pop-ups/signin.php on line 1

Thanks -- Stu

Jamie
March 8th, 2003, 09:29 PM
I moved your post into the Squirrelcart : Support forum.

I can't guarantee that what you are trying to do will work via a popup. The reason you are getting that error is becase the $cart_isp_root variable is not being set. If you put the line from the top of your cart page that includes your config.php file at the top of the page you are using, that error should go away.

Thanks,
Jamie