Hello,
I can see that there aren't too many answers about making templates work on non-xcart pages. I thought I would change up the question.
While playing around with this idea, and getting some very helpful outside help, I have managed to do what I was looking to do. I can now upload non-xcart php pages to my x-cart folder and these php pages would say "username is logged in!", when somebody is logged in.
The problem is that the php files will ONLY work if they are in the main xcart folder (domain.com/xcart/test.php). If the php files are placed outside the main x-cart folder (domain.com/test.php) or even inside the main folder, but in a separate folder (domain.com/xcart/newfolder/test.php), it will no longer say "username is logged in!", instead it will just ask to login again, even if I'm logged in.
Does anybody have any idea why these files will only work within the main xcart folder. It was suggested to me that the cookies and sessions ID may play a factor in this, however I still haven't managed to get it working.
Any help is greatly appreciated!
__________________
X-cart Gold Version 4.0.4 on Unix
|