Wednesday 11 March 2009 3:07:13 am - 2 replies
Modified on Wednesday 11 March 2009 3:08:13 am by Eason Huang
Jean-Yves Zinsou
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
Eason Huang
Wednesday 11 March 2009 7:49:20 pm
Many thanks, Jey!
skype:hyslx27 hyslx27@gmail.com
You must be logged in to post messages in this topic!