By rewted on
Can anyone suggest a module that will determine Operation System of the visitor and then display content based on the result?
eg: If Window X is determined, then display category Windows Software. If Mac is determined, show Apple software first.
I know this can be done with a JavaScript function or PHP variable to get 'HTTP_USER_AGENT'.
Comments
don't know of any module off
don't know of any module off the top of my head - but you can do this
http://data.agaric.com/node/2316
Then when you create your view - use an embed tag for the display that goes with each browser.
This might help
You may be able to do this with Mobile Tools and Browser Cap.
http://drupal.org/project/mobile_tools
A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com
Not quite what I'm looking
Not quite what I'm looking for. A perfect example is on the SourceForge website, look under the search "By default, we'll show you software that runs on X"
Again - I don't think you are
Again - I don't think you are going to be happy with any module that exists for this - instead you could do something like this.
Know what I mean?
i know it's been too long,
i know it's been too long, but i also need a solution with this task.
it's ok until "// We found the correct match" but what happens after that?
i mean after "if($CurrOS == 'MacOS')" what could be written to give it a straight url, rather than a views solution?
and where is this code used? in page.tpl?
sorry for being such a newbie... but i really would like this redirection to be functioning in my site's frontpage, for mac os, windows, linux, freebsd and mobile operating systems.