|
Saturday 28 August 2010 4:04:40 pm
Comment61106
"
I found exactly the same problem as zurgutt -.... coudn't add the left menu to the frontpage and finally commenting the line HideLeftMenuClasses[]=frontpage on extension\ezwebin\settings\menu.ini.append.php the left menu appeared.... i'm just wondering if it is the right way or i may have problems in the future by doing that...
"
Hi all, I just wated to share my thoughts on the topic... As much as I agree with zurgutt that ezpagedata (as well as any other template operator, for that matter) should be at least somewhat documented, I must say that the source of your HideLeftMenuClasses issues is not in the maldocumented template operator, but instead in a very small begginer's mistake in menu.ini cofiguration for the ezwebin extension.
Zurgutt correctly noted that in extension/ezwebin/settings/menu.ini.append.php it states following:
# DEPRICATED: use persistent_variable in node full veiw instead
# {set scope=global persistent_variable=hash('left_menu', false(),
# 'extra_menu', false(),
# 'show_path', false())}
[MenuSettings] HideLeftMenuClasses[] ...but as far as I'm able to see, the source of the issue is not in the allegedly overriden configuration functionality. My debugging showed that the source of the problem is in the fact that [MenuSettings] configuration contains line "HideLeftMenuClasses[]", which as a result will define a list on it's own rather than allow completion of the list with value from the siteaccess and default settings. Once I removed this line from the ezwebin's menu.ini.append.php, everything fell in place, meaning all of my siteaccess' and other extensions' HideLeftMenuClasses configuration were propperly loaded. Hope this will help someone not to lose 2hrs+ on debugging as I did. Cheerz from Croatia
http://share.ez.no/community/profile/98888
|