Hello, Sorry but the two ideas are good.
[1] Use different weblog,search ,tags and entry pages for each template. [complex to maintain and handle] Not sure that it will be hard to maintain. I think it is easy to detect the device with the "Agent". We need a new object into VelocityContext. [2] Use a one default mobile theme for all desktop theme. [ more restricted to a developer] The same principe than Wordpress. [3] Use different mobile theme for each desktop theme. [preferred method for the moment] I like too this idea ! We could imagine two new root folder : web and mobile. If mobile exists the engine will redirect the user directly into mobile theme. Else the mobile user stays normaly into web theme. Therefore the user must have the choice to stay into classic website. The classical option into wordpress mobile theme. The object into VelocityContext will be nice too :) -----Message d'origine----- De : shelan Perera [mailto:[email protected]] Envoyé : mercredi 18 mai 2011 18:07 À : [email protected] Objet : Roller mobile - Rendering the mobile theme. Hi Devs, There are several possible ways to render mobile theme after identifying the request comes from a mobile device.Followings are the different options that i took into consideration after a discussion with Dave. Use different weblog,search ,tags and entry pages for each template. :- As i feel this will add some complexity for some one who is developing the templates in the future.One possibility is to give the template designer an option to specify the mobile version of search,tags,entry pages etc.So there will be one template and render accordingly to a mobile device. Use a one default mobile theme for all desktop theme :- One default mobile them if a mobile request is detected. Use different mobile theme for each desktop theme :- A complete new mobile theme and template designer has the full freedom to design and create a mobile template.So at the weblog creation the mobile template can be configured to cater mobile requests.This is the method i prefer as it gives th freedom to template designer without restrictions. I appreciate any feedback regarding the above idea. Thanks -- Shelan Perera Home: http://www.shelan.org Blog : http://www.shelanlk.com Twitter: shelan skype :shelan.perera gtalk :shelanrc I am the master of my fate: I am the captain of my soul. *invictus*
