Posted by liaolliso on September 22, 2009 at 1:37am
Hi,
I got a problem when i use drupal theme function outside a module.
I have added these two lines in my file under my drupal root:
require_once('./includes/bootstrap.inc');
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);When i use return theme(), it didn't go to the page as expected.
So what i want to ask is that is there any way to register a theme and tell the theme function to theme the right page.
Thanks in advance!