Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Different discussions layout on mobile version of theme.
nimh
New
I'm currently running two versions of my custom theme that load independently via the config. One if mobile with a few style tweaks, and the normal applied via dashboard theme if desktop. I'd like to use the modern layout for discussions for desktop but switch to table if mobile. The choice seems stored independent of the theme selection though. Any way to force mobile to use a layout different then desktop?
0
Comments
I do this in one of my themes:
https://github.com/bleistivt/minusbaseline/blob/master/class.minusbaselinethemehooks.php#L15
add that line to the Gdn_Dispatcher_AfterAnalyzeRequest_Handler function in your mobile themes themehooks.php (or add the function if it doesn't exist)
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Ah perfect example, thank you.