PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Accessing Joomla variables (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Accessing Joomla variables
#662
mwotton (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Accessing Joomla variables 3 Months ago Karma: 0  
Hi,

I want to access Joomla! variables in the code that in included via DirectPHP.

Specifically, I would like to access the user information held in the global $my variable. However, there is obviously something I need to do, since I get this error:

Notice: Undefined variable: my in /clientdata/clients/xxx/www/wsads/adfunctions.inc.php on line 67

I am including an external file as you can see, and my guess is that the DirectPHP content is being processed before the user authentication has occurred or at least before the information has been pulled form the core DB tables.

How can I access the variables I need?

Thanks,

Micha
 
  The administrator has disabled public write access.
#713
mwotton (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Accessing Joomla variables 2 Months, 4 Weeks ago Karma: 0  
Can anyone help me with this? It'd really be great if I could access these variables.
 
  The administrator has disabled public write access.
#788
sachiiel (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Accessing Joomla variables 2 Months, 1 Week ago Karma: 0  
I'm in the same boat.
 
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2008. kksou.com. All Rights Reserved