Horizontal Menu - new year fix

Post Reply
arfa
Master Bludit
Posts: 163
Joined: Tue Jul 04, 2017 4:31 am
Location: New Zealand
Has thanked: 13 times
Been thanked: 27 times

Not quite a millennium bug but with the roll over to a new year if there is no post for 2026 then the first main menu item shows as '25 – not 2026 (assuming you have a 4 digit first-year set).

Far from a major change and old installs will still work fine but I have adjusted to allow for this. You can download:
https://plugins.bludit.com/plugin/horiz ... chive-menu
and simply overwrite: php/hMenuBuild.php
There is also a minor tweak to plugin.php [field width]

happy New Year - ak
Post Reply