Member
Member
whancock   27-05-2011, 10:06
#1

Hi, I'm trying to develop an AJAX theme, and was wondering if someone could answer a question for me. I call a PHP file from jquery after the page loads. Inside of this PHP file, I would like to call some system methods... E.G. query(), but they are not visible.

Any help would be appreciated on how to work around this. Thanks in advance!

Administrator
Administrator
acrylian   27-05-2011, 10:22
#2

You have to call that page as a custom theme page to have the theme context available. See the theming tutorial on that.

Member
Member
whancock   27-05-2011, 10:34
#3

Great, thanks for the quick reply! It all makes sense now.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.