Adding basic support for devices and "responsive webdesign"

jeroendesloovere's Avatar

jeroendesloovere

22 Sep, 2011 06:15 AM

We all know responsive webdesign is a hot topic these days...
Wouldn't it be nice if Fork CMS made part of it by adding some specific tags.

I was thinking about: {option:PHONE} and {option:DESKTOP}, and maby {option:TABLET}
or {option:PHONE}, {option:WEB} and {option:TABLET}

F.e.: Using {option:PHONE} and {option:DESKTOP}, allows me to hide big photomodules, and f.e. only show one image instead, or no images at all...
F.e. 2: This would also allow me to add big texts to visitors on a DESKTOP, while only putting titles on a PHONE-user.

These 2 examples would reduce the loadtime of a PHONE-website big time (and ain't that what we all want it to be).

  1. Support Staff 1 Posted by tijs on 24 Sep, 2011 09:00 PM

    tijs's Avatar

    Don't know about those options, isn't that site-specific?

  2. 2 Posted by jeroendesloover... on 25 Sep, 2011 04:45 PM

    jeroendesloovere's Avatar

    Yep, sure it is, but it would be very usefull on some new modern websites in the future.

    Maby an implementation with a on/off setting...?

  3. Support Staff 3 Posted by tijs on 12 Nov, 2011 11:34 AM

    tijs's Avatar

    Jeroen, maybe you should check http://www.fork-cms.com/extensions/detail/response. This is a responsive theme created by Thomas.

    The problem I see with detecting devices, is that we will need and maintain a list of user-agents (which is a pain in the ass). Also, responsive design is all about screen-size, which can't be detected on the server-side.

    Also, sometimes you want to full-blown-site, even if you are on a mobile devices, so that should be included too.

    If you have any ideas on how to implement this, feel free to share.

  4. tijs closed this discussion on 07 May, 2012 09:08 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac