Joseph M:
Right on target again, carlwhat. The site is running the plugin with no warning logs. I'd venture to say that with the two fixes you offered above, you've updated it for v157c.
Is there a (hopefully simple) way to tell it to exclude categories with a specific category_id? I have it set up to exclude empty categories, but there are some that I don't want the menu to show at all.
with regards to your question, as i tell all my clients, given enough time and money, anything is possible... :smile:
you bring up a couple of interesting points here. i'm not that familiar with the flyout menu plugin, but it makes use of the categories_ul_generator class, which it has packaged in the plugin. but that class is part of the base ZC package which has the changes that i have provided to you. but how that class in the plugin is different from the class packaged with ZC... well you got me.... a diff certainly shows differences, but whether the base class will work with the plugin, i do not know...
but an interesting issue (at least to me) is the stamping of the class as seen here:
https://github.com/zencart/zencart/blob/v157/includes/classes/categories_ul_generator.php
the timestamp from @DrByte says almost 17 years ago; and yet there have been changes made as little as 3 years ago with no corresponding change in the time stamp in the header comments.
i know the methodology for changing those stamps has changed over the years; and at 1 point i got into a conversation with the team about it. now, i try now to worry about it; but it does seem like this time stamp is blatantly askew as the class packaged with the plugin has a similar date, but yet has not addressed some very basic changes in php that have evolved over the years.
best.