Mobile Support

Nov 12, 2009 at 7:38 PM

As we discussed earlier, Rusty, it'd be sweet to have some sort of built-in support to detect if a visiting user-agent is a mobile device, for the purposes of serving mobile-specific stylesheets, etc.

Nov 13, 2009 at 1:04 AM

I will add this to the next version to do list. 

My initial thoughts as to how this would be accomplished:

  1. Add a bit column to the boogaloo_domain_tbl named [primary_mobile] defaulted to 0
  2. Add a bit column to the boogallo_nodecontrol_tbl named [display_mobile] defaulted to 1
  3. Add respective properties to each of the respective Domain and NodeControl classes in Boogaloo.Core.BLL and Boogaloo.Core.DAL and update stored procedures
  4. Update the enforce primary domain HttpModule
  5. Update the BasePage to filter out no display NodeControls on primary_mobile true domains
  6. Update the ThemeManifest to include a display mobile condition