Tuesday 06 September 2011 5:58:50 pm - 2 replies
Hello All,
I am having problem in fetching the nodes depending upon siteaccess language in which they are translated . my code is :
{def $locale = ezini( 'RegionalSettings', 'Locale', 'site.ini' )}{def $rootNode = fetch('content','node',hash('node_id',2))<span> </span> $menuItems=fetch('content', 'list', hash('parent_node_id', $rootNode.node_id,<span> </span>'sort_by', $rootNode.sort_array,<span> </span>'class_filter_type', 'include',<span> </span>'class_filter_array', ezini('MenuContentSettings', 'TopIdentifierList', 'menu.ini'),<span> </span>'attribute_filter', array('and', array('priority','between',array(1,10))), 'only_translated', true(), <span> </span>'language',$locale, 'language_code',$locale,<span> </span>'ignore_visibility',false()))
i am not getting proper result i am getting all the nodes regardless of languages can any one please help me in this.?
Thank you,Akhilesh
Modified on Tuesday 06 September 2011 6:03:11 pm by Akhilesh Singh
You must be logged in to post messages in this topic!