[support] Write a text into a page like a node

Davide Michel 'ZioBudda' Morelli michel at ziobudda.net
Wed Jan 9 13:48:52 UTC 2008


Earnie Boyd ha scritto:
> Bootstrap and all other Drupal includes are coded to be relative to the 
> current directory.  You need to chdir('..') and then include 
> ./include/bootstrap.inc.
>   

IT WORKS!!!!
<?

chdir("..");
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

$page = "io sono la pagina";
echo theme('page',$page);
?>

TNX TNX TNX

Now I'm doing more test. TNX TNX
-- 

Michel 'ZioBudda' Morelli                       michel at ziobudda.net
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ajaxblog.it        			MSN: michel at ziobuddalabs.it                   
						JABBER: michel at gmail.com



More information about the support mailing list