Okay, thank you :-) 2012/2/9 shelan Perera <[email protected]>: > On Thu, Feb 9, 2012 at 2:23 PM, Tiger Gui <[email protected]> wrote: > >> So you mean if i use mobile device to visit roller webblog at the >> first time, it will works well. right ? >> > > Detection always works. But cookie overrides the detection. Please have a > look at the code in Weblog-web: > org.apache.roller.weblogger.ui.rendering.mobile.MobileDeviceRepository. > > if (cookie != null) { > return cookie.equals("standard") ? DeviceType.standard : DeviceType.mobile; > } > > Thanks > > >> >> 2012/2/9 shelan Perera <[email protected]>: >> > Hi, >> > >> > On Thu, Feb 9, 2012 at 1:51 PM, Tiger Gui <[email protected]> >> wrote: >> > >> >> Sorry Shelan, I can not find user-agent module >> >> implementation/development details in your blog, in fact, when i use >> >> IPhone 4 and Ipad to travel Roller weblog build by Roller trunk, it >> >> does not redirect me to mobile theme. So, it seems that user-agent >> >> judgment module does not work. Or I test it in wrong way ? Thank you >> >> >> >> >> > Today i tested with a simulator / android phone / Iphone 4S. All works >> > fine. If you have clicked view in "standard ". That cookie will be there >> and >> > it remembers user's preference until expires. That is a feature included. >> > >> > >> >> 2012/2/8 shelan Perera <[email protected]>: >> >> > On Wed, Feb 8, 2012 at 1:31 PM, Tiger Gui <[email protected]> >> >> wrote: >> >> > >> >> >> Hi Greg, >> >> >> >> >> >> I mean if users use mobile device (such as IPhone) travel in roller >> >> >> based weblog website, he would like mobile template rather then >> >> >> standard web template. May be he will click the button to switch to >> >> >> mobile template, so this button is necessary and must work well. >> >> >> >> >> >> Or we can supply user-agent distinguish module for Roller, when users >> >> >> are using mobile device, IPhone, IPad or Android devices, we supply >> >> >> mobile device theme as default. Users can jump to standard theme by >> >> >> clicking some button of link if they like. >> >> >> >> >> > >> >> > It is how we are doing detecting by the user-agent. [1] has all >> >> > the development details. >> >> > >> >> > [1] http://rollermobile.blogspot.com/ >> >> > >> >> > Thanks >> >> > >> >> >> >> >> >> 2012/2/8 Greg Huber <[email protected]>: >> >> >> > Hello, >> >> >> > >> >> >> > The mobile theme is new and still wip. If you use a profile >> switcher >> >> >> > rather than the button it works better. >> >> >> > >> >> >> > Cheers Greg. >> >> >> > >> >> >> > On 8 February 2012 07:15, Tiger Gui <[email protected]> >> wrote: >> >> >> > >> >> >> >> Hi All, >> >> >> >> >> >> >> >> I tried Roller mobile device template in trunk source code, but i >> can >> >> >> >> only find the "view mobile weblog" button in basic theme, this >> button >> >> >> >> does not exist in other themes ? Meanwhile, i found some problems >> (I >> >> >> >> use Google Chrome 16 in Windows 7 PC): >> >> >> >> >> >> >> >> 1. I click the "view mobile weblog" button, frontpage does not >> change >> >> >> >> to mobile device template, i have to refresh current page to enter >> >> >> >> mobile template. Is it normal ? When i want to come back from >> mobile >> >> >> >> template, it works same, click and refresh. >> >> >> >> >> >> >> >> 2. In mobile template, we can see blog list, but search button >> does >> >> >> >> not work, after i click "search", it told me "error loading page". >> >> >> >> >> >> >> >> 3. In mobile template, i click "edit" or "comment", it keep >> loading, >> >> >> >> seem net service error. >> >> >> >> >> >> >> >> So, are these bugs ? If they are, i would like to fix them, but i >> >> want >> >> >> >> to know, how can i submit source code patch to trunk once i finish >> >> >> >> these ? Is there a issues system ? I found >> >> >> >> https://issues.apache.org/roller does not exist yet. So, what is >> the >> >> >> >> source code submit process? Thank you >> >> >> >> >> >> >> >> -- >> >> >> >> Best Regards >> >> >> >> ---------------------------------------------------- >> >> >> >> Tiger Gui [[email protected]] >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> -- >> >> >> Best Regards >> >> >> ---------------------------------------------------- >> >> >> Tiger Gui [[email protected]] >> >> >> >> >> > >> >> > >> >> > >> >> > -- >> >> > 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* >> >> >> >> >> >> >> >> -- >> >> Best Regards >> >> ---------------------------------------------------- >> >> Tiger Gui [[email protected]] >> >> >> > >> > >> > >> > -- >> > 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* >> >> >> >> -- >> Best Regards >> ---------------------------------------------------- >> Tiger Gui [[email protected]] >> > > > > -- > 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*
-- Best Regards ---------------------------------------------------- Tiger Gui [[email protected]]
