Wednesday 11 March 2009 8:04:23 am
Hi,
you must create a ini file in the settings folder of you extensions .
With sections : For exemple a file called ezorder.ini
[EZorderGlobalSettings]
# root node for editions
EditionsRootNode=175
And then call it with:
ezini( 'EZorderGlobalSettings','EditionsRootNode', 'ezorder.ini')
in template code or
$ezorderINI = eZINI::instance( 'ezorder.ini' );
$editions_root_node_ID= $ezorderINI->variable( 'EZorderGlobalSettings','EditionsRootNode' );
in php Hope this helps ! Jey
Do Androids Dream of Electric Sheep?
I dream of eZpubliSheep....
------------------------------------------------------------------------
http://www.alma.fr
|