NetTalk Central

Author Topic: nettalk 11.04 ISMOBILE compile error ?  (Read 3290 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • Email
nettalk 11.04 ISMOBILE compile error ?
« on: December 05, 2018, 09:15:59 PM »
error field not found ismobile in greyed out area of index page

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: nettalk 11.04 ISMOBILE compile error ?
« Reply #1 on: December 05, 2018, 11:49:59 PM »
So I have this error. Simply, comment this line of code. Mine is inherited long ago from some of Nettalk example, in login procedure...
! p_web.site.SaveButton.MobileText = 'Login' !
Think that mobile is no longer supported like in previous versions....
Regards, Oggy.

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: nettalk 11.04 ISMOBILE compile error ?
« Reply #2 on: December 06, 2018, 03:13:29 AM »
Yeah, Oggy is correct.

The jQuery Mobile framework is no longer supported as of NetTalk 11.

Now that the div layout is an option, Jquery mobile is really not needed anymore. 

A little div here and a little CSS there...bada boom, bada bing, ya done!   ;D

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

ntnewbies

  • Full Member
  • ***
  • Posts: 168
    • View Profile
    • Email
Re: nettalk 11.04 ISMOBILE compile error ?
« Reply #3 on: December 11, 2018, 10:59:13 PM »
Hi friends,
I get the same error of IsMobile after upgrading to NT11.04
I get about 206 errors in one application and another 7705 errors in another application.

Is there any quicker way to solve it rather than going to each and every clw and disable those lines?

Jason

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: nettalk 11.04 ISMOBILE compile error ?
« Reply #4 on: December 11, 2018, 11:17:45 PM »
Export to .txa - use a text editor - re-import.

That said, each occurence may trigger more than one error so maybe it's not that hard to do it 'by hand'.

Peter

ntnewbies

  • Full Member
  • ***
  • Posts: 168
    • View Profile
    • Email
Re: nettalk 11.04 ISMOBILE compile error ?
« Reply #5 on: December 11, 2018, 11:45:29 PM »
Hi Peter,
Thanks.
I have exported the application to a txa and open the txa in notepad and disable the line p_web.site.SaveButton.MobileText = 'Login'


What else should i do?

Should i remove all the line that have MOBILE word?

Jason

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: nettalk 11.04 ISMOBILE compile error ?
« Reply #6 on: December 12, 2018, 01:52:46 AM »
Hi Jason,

Not sure about that (depends on the context, i guess). But you need to pay attention to the lines with the IsMobile() function call since that function is gone.

Peter

ntnewbies

  • Full Member
  • ***
  • Posts: 168
    • View Profile
    • Email
Re: nettalk 11.04 ISMOBILE compile error ?
« Reply #7 on: December 19, 2018, 08:03:48 PM »
Hi Peter,
Thanks for the reply. For the quicker solution, i compile the same nettalk application in C11 and all the error is gone. No IsMobile error   :)