I’m currently updating Marc Huot’s Pages Nested Menu plugin so it will function with Expression Engine 2. I have followed the guidelines set out at expressionengine.com and the advice found in the good article at devot-ee.com.
Progress has been halted by this error:
Fatal error: Call to undefined method EE_Config::ini() in /PATH-REMOVED/system/expressionengine/third_party/pages_nested_menu/pi.pages_nested_menu.php on line 80
line 80 in my reworked plugin file reads
$pages = $this->EE->config->ini('site_pages');Can anyone suggest what might be amiss with that line? Happy to provide as much additional info as might be useful.
thanks
If anyone has any insight into what could be done to tackle the following error (notice) I’d really appreciate it:
A PHP Error was encountered Severity: Notice Message: Undefined index: title Filename: pages_nested_menu/pi.pages_nested_menu.php Line Number: 212
Line 212 is:
$base[$seg]['order'] = (String)$this->element($order, $this->titles->result[$title_counter], $this->titles->result[$title_counter]['title']);I’m interested to know if anyone got anywhere with this - or was a migration of this plug-in to EE2.x a complete dead end?
Update: I managed ot get this plug-in working with EE2.x. I’ve thrown a version of it up on Github, there may still be issues so feel free to fork it and let me know of anything that doesn’t work as expected.
https://github.com/ninefour/pages_nested_menu.pi.ee_addon
😊
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.