I'm working on a jQuery slide drawer for the Vanilla mobile view. I'd like to pull in my categories list. What's the best way to do that?
probably create a new mobile theme and point your mobile in config.php to your new theme.
add your js, pull in your categories. in themehooks.
or create a plugin
isolate by ismobile. and add your js, pull in your categories.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
You could also use the categoriesdropdown plugin or similar. The dropdowns don't work on a tpl theme but it puts all the categories on the menu.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌