Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

If Iphone use Layout, if ipad use else desktop

Featured Replies

I have one desktop application that does more than I want to show or allow on iphone or ipad process used remotely.

 

I tried Get (application)    but when logging in using my iphone... shows still desktop layouts.

 

I want to start the app the same.. but go in a different direction than the desktop, or the Ipad... do specfic and less.. that that works

 

I understand I can set a different layout templates to use for these devices... for some reason I haven't found the answer

,, need more info

 

thkx Rod

 

 

Hey

Ya, good question. Get(application) is right but is typically wrapped in pattern count

Case(

Patterncount(get(application);"iPad") for iPad detection; go to layout ... ;

Patterncount(get(application);"go") for iPhone detection; go to layout ... ;

Go to desktop layout

)

The starter solutions all use this multi layout format if you want to see a working example

Hi Rod,  :-)

 

Try Get ( Device )

 

< 3 is desktop

3 is ipad

4 is iPhone or iPod

Our sponsor RCCoulting has a file you may want to look at called FMgo Training Tool (it’s Free)

 

Lee

  • Author

I tried get (device)   must be a FM 13...   tried FM12 i am still on for now

Yes, Get(Device) originated in FM Pro 13.
 
I think your going to want to set your File Options to run a script OnFIrstWindowOpen that includes some conditional steps:
 
If [PatternCount( Get(ApplicationVersion); "Go_iPad")]
   Go to Layout [iPad layout]
else if [PatternCount (Get(ApplicationVersion); "Go")]
   Go to Layout [iPhone layout]
else
   Go to Layout [Desktop layout]
end if
 
...or something similar.

I tried get (device)   must be a FM 13...   tried FM12 i am still on for now

Sorry,  I didn’t notice your version 12.

  • Author

thanks Nuos and Mathew I am using FM12 still!
             ( can't move to 13 until i can figure another problem with screens between the versions)

 

 

 

I have tried the get Pattern Case..  method

When I log via iphone.. don't have a ipad yet,

using FM Go..  my screen still uses the desktop layout?

 

FM adv on my desktop,  logging on using FM GO on my iphone

 

thanks for the looks :)

Maybe a dumb question, but have you designed a completely new layout for the iPhone? This is in response to your first post. Creating a new blank layout with a phone template and copying the desktop layout objects into it will not create a different layout.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.