NetTalk Central

Author Topic: Login button (save button) missing in mobile mode  (Read 6119 times)

jtailleur

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Login button (save button) missing in mobile mode
« on: December 14, 2012, 08:20:49 AM »
Hi folks,

Just recreating a web site for use with mobile phone.  The site works fine; except when in mobile mode; I am missing my "Login" (save) button.  it's there in desktop mode; but disappears in mobile.

Using Nettalk 7.00

The same thing happens when I just switch modes on my desktop to mobile; using the ?_mobile_=1 setting.


Cheers,


Joe.

MikeR

  • Sr. Member
  • ****
  • Posts: 263
    • View Profile
    • Email
Re: Login button (save button) missing in mobile mode
« Reply #1 on: December 15, 2012, 10:58:55 PM »
Hi Joe I noticed in the new web3 example Bruce sets  two buttons now:

  p_web.site.SaveButton.TextValue = 'Login'
  p_web.site.SaveButton.MobileText = 'Login'

Perhaps thats it ?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Login button (save button) missing in mobile mode
« Reply #2 on: December 16, 2012, 10:55:01 PM »
hi Joe,

does a Save button appear at the top right corner of the screen?
If so, then this is the "login" button - and like Mike says, that's just a side effect of the extra embed line.

cheers
Bruce

jtailleur

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Login button (save button) missing in mobile mode
« Reply #3 on: December 17, 2012, 07:29:04 AM »
Hi guys,

No joy.  I am actually using the sample login form; with the two separate lines to set the text on the "save" button to "login"

No save button anywhere, either manually forcing mobile mode from my desktop browser, or from my Samsung Galaxy II phone browser.


Joe.

jtailleur

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Login button (save button) missing in mobile mode
« Reply #4 on: December 17, 2012, 07:43:15 AM »
Just some additional information: 

There appears to be text above the window that says "Login", when I hover over it, it says "Click on this to Save the form"; but it's not a button, it's just text,

Clicking on it doesn't trigger the event. 


Joe.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Login button (save button) missing in mobile mode
« Reply #5 on: December 17, 2012, 10:59:10 PM »
any chance you can email me the app to try here Joe? Or perhaps see if you get the same effect in say Example 3?

cheers
Bruce

jtailleur

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Login button (save button) missing in mobile mode
« Reply #6 on: December 18, 2012, 06:47:31 AM »
Hi Bruce,

Web3 example won't go into mobile mode; using the manual method (?_mobile_=1); or from my phone.  It always uses the desktop style.

So, I can't recreate using that example.

I would not mind sending you my app; except that it uses postgresql as the backend; so there's going to be a lot of set up required.  I don't use TPS at all any more.

Would you still like me to send it to you?  I certainly don't mind.


Joe.

jtailleur

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Login button (save button) missing in mobile mode
« Reply #7 on: December 18, 2012, 06:58:39 AM »
Hi Bruce,

I just tried example 7.  When I flip that example app into mobile mode, the login button disappears.  Put it back into desktop mode and the login button appears again below the login information.


Joe.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Login button (save button) missing in mobile mode
« Reply #8 on: December 18, 2012, 07:08:39 AM »
Hi Joe,

that's not an ideal example, because it uses Frames - and Frames are not very mobile friendly (meaning - not at all) - however I

a) I went to the LoginForm procedure, and in the embed code, after the line
p_web.site.SaveButton.TextValue = 'Login'
I added
p_web.site.SaveButton.MobileText = 'Login'

b) used the url http://127.0.0.1:88/FramePage/LoginForm?_mobile_=1 - to get up the LoginForm procedure as a page, and also to force it into mobile mode.

With the above URL I see the Login button in the top left corner of the screen.

Cheers
Bruce

jtailleur

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • Email
Re: Login button (save button) missing in mobile mode
« Reply #9 on: December 18, 2012, 08:55:50 AM »
Hi Bruce,

I just went through the settings with a fine tooth comb, and it appears that the app wizard set "Combine common files" and "serve precompressed files" to on.  I've just switched those off and I now see a "Login" button.

Thanks,


Joe.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: Login button (save button) missing in mobile mode
« Reply #10 on: December 18, 2012, 11:02:33 PM »
ahh - cool - thanks Joe - I've found the problem and sorted it for the next build.

cheers
Bruce