Re: Wrong Cookie Name of Menus
I tested different cases and i noticed, that with my solution, the sub menus don't get openend, even if they have a cookie, it seems that the
elseif ($option'type' == 's')
is not applied to the submenus.
I removed the if statement as a workaround, we use cookies everywhere for the menus, so in our case it's okay.
And another information, which could be useful, we use structures for the menus, not menus themselfes.