Posted on: 04/11/05 02:43pm
By: Turner
I am trying to pass $_CONF['site_url'] to a staticpage centerblock that has html in it.
I am doing this to display an image.
Can this be done?
-Jeff
Passing a path to html in staticpage centerblock - Part II
Posted on: 04/11/05 03:09pm
By: Dirk
[QUOTE BY= Turner] Can this be done?[/QUOTE]
If the static page uses PHP - sure. Declare $_CONF as a global variable:
global $_CONF;
bye, Dirk
Passing a path to html in staticpage centerblock - Part II
Posted on: 04/11/05 03:46pm
By: Turner
Right. I was already doing this, but I was including "require_once ('lib-common.php');" in order to get it work.
My goodness. Sometimes I feel really dumb.
Thanks for this help!
-Jeff